/* Kamakhya Clinic Appointment Styles */

#kamakhya-appointment-wrapper {
    max_width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#kamakhya-appointment-wrapper h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* #kamakhya-appointment-wrapper h4:first-child {
    margin-top: 0;
} */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #007cba;
    outline: none;
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.slot-item {
    padding: 10px 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.2s;
}

.slot-item:hover {
    border-color: #007cba;
    background: #eef7fb;
}

.slot-item.selected {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.slot-item.booked {
    /* Kept for fallback but unused now */
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #eee;
}

/* Price Display */
.price-display {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

/* Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #219150;
}

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Validation Message */
#kamakhya-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

#kamakhya-message.success {
    background: #d4edda;
    color: #155724;
}

#kamakhya-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}