/* Treatment Quotation Calculator - Minimal CSS using WordPress Theme Styles */

.tqc-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0;
}

.tqc-header {
    text-align: center;
    margin-bottom: 30px;
}

.tqc-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    line-height: 1.2;
}

.tqc-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Input Section */
.tqc-input-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.tqc-form-group {
    margin-bottom: 20px;
}

.tqc-form-group:last-child {
    margin-bottom: 0;
}

.tqc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.tqc-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    cursor: pointer;
}

.tqc-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.tqc-input-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Button Group */
.tqc-button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tqc-button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tqc-button-calculate {
    background-color: #0073aa;
    color: white;
}

.tqc-button-calculate:hover {
    background-color: #005a87;
}

.tqc-button-reset {
    background-color: #e9ecef;
    color: #666;
}

.tqc-button-reset:hover {
    background-color: #dee2e6;
}

/* Error Message */
.tqc-error {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.tqc-error.show {
    display: block;
}

/* Results Section */
.tqc-results-section {
    display: none;
}

.tqc-results-section.show {
    display: block;
}

.tqc-results-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.tqc-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Result Card */
.tqc-result-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #0073aa;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tqc-result-card:nth-child(2) {
    border-left-color: #0096d6;
}

.tqc-result-card:nth-child(3) {
    border-left-color: #00a0d2;
}

.tqc-result-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tqc-option-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.tqc-option-description {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    border-left: 3px solid #0073aa;
}

.tqc-result-card:nth-child(2) .tqc-option-description {
    border-left-color: #0096d6;
}

.tqc-result-card:nth-child(3) .tqc-option-description {
    border-left-color: #00a0d2;
}

.tqc-option-price {
    display: none;
}

.tqc-result-item {
    display: none;
}

.tqc-total-price {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.tqc-total-price-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tqc-total-price-value {
    font-size: 28px;
    font-weight: 800;
    color: #0073aa;
}

/* WhatsApp Button */
.tqc-whatsapp-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 15px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tqc-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    color: white;
}

.tqc-whatsapp-button:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .tqc-results-grid {
        grid-template-columns: 1fr;
    }
    
    .tqc-button-group {
        flex-direction: column;
    }
    
    .tqc-button {
        width: 100%;
    }
    
    .tqc-header h2 {
        font-size: 24px;
    }
}
