/* WP Stock Calculator Styles */

#wpsc-calculator {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.wpsc-clean-form .wpsc-field {
    margin-bottom: 15px;
}

.wpsc-clean-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wpsc-clean-form input[type="text"],
.wpsc-clean-form input[type="number"],
.wpsc-clean-form input[type="date"] {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#wpsc-calc-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#wpsc-calc-btn:hover {
    background: #005177;
}

.wpsc-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.wpsc-suggestion-item {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 14px;
}

.wpsc-suggestion-item:hover {
    background-color: #f0f0f0;
}

#wpsc-error-box {
    color: #b00020;
    margin-bottom: 10px;
    font-weight: bold;
}

.wpsc-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.wpsc-results-table th,
.wpsc-results-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.wpsc-results-table th {
    background-color: #f9f9f9;
    font-weight: bold;
}
