/* Booking screen specific styles */
.booking-container {
    padding-bottom: 120px;
    background: var(--bg-color);
    min-height: 100vh;
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn-dark {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    margin-right: 15px;
}
.back-btn-dark svg { width: 20px; height: 20px; fill: currentColor; }

.user-mini-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.user-mini-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.user-mini-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.user-mini-info .status {
    font-size: 11px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
.user-mini-info .status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
}

.top-bar-icons {
    display: flex;
    gap: 15px;
}
.top-bar-icons svg { width: 20px; height: 20px; fill: var(--text-dark); }

.booking-tabs {
    display: flex;
    padding: 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EAEAEA;
}
.booking-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
}
.booking-tab.active {
    color: var(--text-dark);
}
.booking-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #E37482;
}

.booking-content {
    padding: 0 20px;
}
.booking-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}
.service-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(255,107,107,0.05) 0%, rgba(108,91,123,0.05) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    gap: 15px;
    border: 1px solid rgba(255,107,107,0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-item.selected {
    background: linear-gradient(135deg, #FF6B6B 0%, #C06C84 50%, #6C5B7B 100%);
    border: none;
    box-shadow: 0 15px 35px rgba(192, 108, 132, 0.4);
    transform: translateY(-3px) scale(1.02);
}
.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #FCEBEA;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
.service-details {
    flex: 1;
}
.service-details h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
}
.service-details p {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s;
}
.service-item.selected .service-details h5,
.service-item.selected .service-details p {
    color: #fff;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}
.service-item.selected .radio-circle {
    border-color: #fff;
    background: #fff;
}
.service-item.selected .radio-circle::after {
    content: '✓';
    color: #C06C84;
    font-size: 14px;
    font-weight: bold;
}

.datetime-selection {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.dt-picker {
    flex: 1;
    background: var(--white);
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: var(--card-shadow);
}
.dt-picker svg { width: 16px; height: 16px; fill: var(--text-light); }
.dt-picker select, .dt-picker input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    width: 100%;
}

.booking-actions {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 15px 20px max(18px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--bg-color) 70%, transparent);
    box-sizing: border-box;
    z-index: 50;
}

@media (max-width: 480px) {
    .booking-actions {
        max-width: 100%;
    }
}
.btn-booking {
    background: linear-gradient(135deg, #FF6B6B 0%, #C06C84 50%, #6C5B7B 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 30px;
    width: 100%;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(192, 108, 132, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Inter', sans-serif;
}
.btn-booking:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(108, 91, 123, 0.5);
}

/* Booking Modal Styles */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 100000; display: none; justify-content: center; align-items: flex-end;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.booking-modal {
    background: #fff; width: 100%; max-width: 480px;
    border-radius: 30px 30px 0 0; padding: 25px 20px max(35px, env(safe-area-inset-bottom));
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
@media (max-width: 480px) {
    .booking-modal {
        max-width: 100%;
    }
}
.modal-overlay.active .booking-modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.modal-header h3 { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: #111; margin: 0; }
.close-modal { background: #f0f0f0; border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #555; transition: background 0.3s; }
.close-modal:hover { background: #e0e0e0; }
.selected-summary { background: linear-gradient(135deg, rgba(255,107,107,0.05) 0%, rgba(108,91,123,0.05) 100%); padding: 15px 20px; border-radius: 16px; margin-bottom: 25px; border: 1px solid rgba(255,107,107,0.1); display: flex; flex-direction: column; gap: 8px; }
.selected-summary span { font-family: 'Inter', sans-serif; color: #333; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; color: #888; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px; }
.form-group input { width: 100%; padding: 16px 20px; border: 2px solid #eaeaea; border-radius: 16px; font-size: 15px; font-family: 'Inter', sans-serif; font-weight: 600; transition: all 0.3s; outline: none; background: #fafafa; }
.form-group input:focus { border-color: #C06C84; background: #fff; box-shadow: 0 4px 15px rgba(192, 108, 132, 0.1); }
.terms-group { margin-bottom: 25px; }
.checkbox-container { display: flex; align-items: flex-start; gap: 12px; font-family: 'Inter', sans-serif; font-size: 13px; color: #555; line-height: 1.5; cursor: pointer; font-weight: 500; }
.checkbox-container input { display: none; }
.checkmark { width: 22px; height: 22px; border: 2px solid #ddd; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; flex-shrink: 0; background: #fff; }
.checkbox-container input:checked ~ .checkmark { background: #C06C84; border-color: #C06C84; }
.checkbox-container input:checked ~ .checkmark::after { content: '✓'; color: #fff; font-size: 14px; font-weight: bold; }
.checkbox-container a { color: #FF6B6B; text-decoration: none; font-weight: 700; }
.checkbox-container a:hover { text-decoration: underline; }
