/* Simple Tax Calculator Styles */

.stc-calculator-widget {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.stc-title {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.stc-form-group {
    margin-bottom: 15px;
}

.stc-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.stc-input,
.stc-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.stc-input:focus,
.stc-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.stc-button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    position: relative;
}

.stc-button:hover {
    background: #005a87;
}

.stc-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.stc-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stc-results {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.stc-results-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.stc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stc-result-item:last-child {
    border-bottom: none;
}

.stc-result-label {
    font-weight: 600;
    color: #555;
}
.label-description{
    color:#0073aa;
}

.stc-result-value {
    font-weight: bold;
    color: #0073aa;
    font-size: 16px;
}

.stc-error {
    margin-top: 20px;
    padding: 15px;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
    border: 1px solid #ffcdd2;
}

/* Responsive Design */
@media (max-width: 600px) {
    .stc-calculator-widget {
        margin: 10px;
        padding: 15px;
    }
    
    .stc-title {
        font-size: 20px;
    }
    
    .stc-input,
    .stc-select,
    .stc-button {
        font-size: 14px;
        padding: 10px;
    }
}

/* Theme Variations */
.stc-theme-dark {
    background: #2c3e50;
    border-color: #34495e;
    color: #ecf0f1;
}

.stc-theme-dark .stc-title {
    color: #ecf0f1;
}

.stc-theme-dark .stc-label {
    color: #bdc3c7;
}

.stc-theme-dark .stc-input,
.stc-theme-dark .stc-select {
    background: #34495e;
    border-color: #4a5f7a;
    color: #ecf0f1;
}

.stc-theme-dark .stc-results {
    background: #34495e;
    border-color: #4a5f7a;
}

.stc-theme-dark .stc-result-label {
    color: #bdc3c7;
}

.stc-theme-dark .stc-result-value {
    color: #3498db;
}

.stc-theme-minimal {
    background: transparent;
    border: none;
    box-shadow: none;
}

.stc-theme-minimal .stc-input,
.stc-theme-minimal .stc-select {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    background: transparent;
}

.stc-theme-minimal .stc-input:focus,
.stc-theme-minimal .stc-select:focus {
    border-bottom-color: #0073aa;
    box-shadow: none;
}