/* ========== MODERN BOOKING FORM (V8.0) ========== */

.clinic-booking-wrapper { padding: 40px 20px; font-family: 'Poppins', sans-serif; display: flex; justify-content: center; }
.clinic-booking-form { background: #ffffff; width: 100%; max-width: 480px; padding: 35px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; border-top: 5px solid #03a653; }

.form-title { text-align: center; color: #333; font-size: 22px; font-weight: 700; margin-bottom: 25px; }
.form-group { margin-bottom: 15px; }

/* INPUTS */
.form-group input, .form-group select { width: 100%; height: 50px; padding: 0 15px; background: #fff; border: 1.5px solid #e1e4e8; border-radius: 10px; font-size: 15px; color: #333; box-sizing: border-box; font-family: inherit; -webkit-appearance: none; cursor:pointer; }
.form-group input:focus, .form-group select:focus { border-color: #03a653; box-shadow: 0 0 0 4px rgba(3, 166, 83, 0.1); outline: none; }
.form-row { display: flex; gap: 12px; margin-bottom: 15px; }
.half-width { flex: 1; margin-bottom: 0; }

/* === NEW: DATE CARDS UI === */
.date-card {
    min-width: 70px;
    height: 70px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 8px;
    flex-shrink: 0;
}
.date-card:hover { border-color: #03a653; background: #f0fff4; transform: translateY(-2px); }
.date-card.selected { background: #03a653; border-color: #03a653; color: #fff; box-shadow: 0 4px 10px rgba(3, 166, 83, 0.3); }
.date-card .day { font-size: 12px; font-weight: 500; text-transform: uppercase; margin-bottom: 2px; }
.date-card .date-num { font-size: 20px; font-weight: 700; }
.date-card.selected .day, .date-card.selected .date-num { color: #fff; }

/* TIME SLOTS */
.time-slots-header { font-size: 13px; color: #666; margin-bottom: 8px; font-weight: 600; padding-left: 4px; }
.time-slots-scroll-container { display: flex; align-items: center; background: #f8f9fa; padding: 10px; border-radius: 12px; border: 1px solid #eee; }
.time-slots-scroll { display: flex; overflow-x: auto; scrollbar-width: none; flex-grow: 1; gap: 8px; scroll-behavior: smooth; }
.time-slots-scroll::-webkit-scrollbar { display: none; }

.time-slot-btn { padding: 10px 12px; background: #fff; border: 1px solid #ddd; border-radius: 8px; color: #555; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; min-width: 90px; text-align: center; }
.time-slot-btn:hover:not(.time-slot-booked) { border-color: #03a653; background: #eafff3; color: #03a653; }
.time-slot-selected { background: #03a653 !important; color: #fff !important; border-color: #03a653 !important; }
.time-slot-booked { background: #fff5f5 !important; color: #cc0000 !important; border-color: #ffcccc !important; cursor: not-allowed; opacity: 0.8; }
.booked-text { display: block; font-size: 9px; text-transform: uppercase; color: #e53935; font-weight: 700; margin-top: 2px; }

/* ARROWS & MESSAGES */
.scroll-btn { background: #fff; border: 1px solid #ddd; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #333; flex-shrink: 0; margin: 0 4px; z-index: 2; }
.clinic-timing-info, .date-availability-message { background: #f0fbf5; border: 1px solid #c3e6cb; color: #155724; padding: 12px; border-radius: 10px; font-size: 13px; text-align: center; margin-bottom: 15px; }

.submit-btn { width: 100%; height: 55px; background: #03a653; color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.submit-btn:hover { background: #028a45; transform: translateY(-2px); }
.submit-btn:disabled { background: #ccc; cursor: not-allowed; }

/* MESSAGES */
.success-message { padding: 12px; border-radius: 8px; margin-bottom: 15px; text-align: center; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error-message { padding: 12px; border-radius: 8px; margin-bottom: 15px; text-align: center; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@media (max-width: 480px) { .clinic-booking-form { padding: 25px 20px; } .form-row { flex-direction: column; gap: 15px; } }