* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    text-align: right;
    background: white;
    font-family: var(--font-primary);
}

.booking-page {
    min-height: 100vh;
    padding: 120px 20px 50px;
    background: white;
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    box-shadow: 0 30px 80px var(--shadow-20);
    overflow: hidden;
}

.booking-header {
    background: linear-gradient(135deg, var(--brand-primary-strong) 0%, var(--brand-primary-dark) 100%);
    padding: 50px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.booking-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--white-10) 0%, transparent 70%);
    animation: pulse 4s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.booking-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.booking-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.booking-content {
    padding: 50px 40px;
}

/* Steps Indicator */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 10%;
    left: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--border-soft) 0%, var(--border-soft) 100%);
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--border-strong);
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--brand-primary-strong), var(--brand-primary-dark));
    border-color: var(--brand-primary-strong);
    color: white;
    box-shadow: 0 6px 20px var(--primary-strong-alpha-40);
    transform: scale(1.1);
}

.step-item.completed .step-circle {
    background: var(--brand-success-2);
    border-color: var(--brand-success-2);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-muted-5);
    font-weight: 600;
    text-align: center;
}

.step-item.active .step-label {
    color: var(--brand-primary-strong);
    font-weight: 700;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 2rem;
    color: var(--text-strong);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

/* Consultation Cards */
.consultation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.consultation-card {
    background: var(--surface-5);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 30px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
}

.consultation-card:hover {
    border-color: var(--brand-primary-strong);
    background: var(--surface-4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--primary-strong-alpha-15);
}

.consultation-card.selected {
    border-color: var(--brand-primary-strong) !important;
    background: var(--surface-blue-2) !important;
    box-shadow: 0 10px 30px var(--primary-strong-alpha-25);
}

/* Recommended card styling - only badge, no special border */
.consultation-card.recommended {
    /* Keep default styling, badge will show it's recommended */
}

.consultation-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary-strong);
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.consultation-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-strong-2);
    font-weight: 700;
}

.consultation-card .duration {
    font-size: 0.95rem;
    color: var(--text-muted-3);
    margin: 0 0 20px 0;
}

.consultation-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary-strong);
    margin-bottom: 20px;
    display: block;
}

.consultation-card .card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    border-top: 1px solid var(--border-soft);
    padding-top: 20px;
}

.consultation-card .card-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted-7);
    line-height: 1.5;
}

.consultation-card .card-features li:last-child {
    margin-bottom: 0;
}

.consultation-card .card-features .check {
    color: var(--brand-primary-strong);
    font-weight: bold;
    min-width: 16px;
}

/* Radio indicator */
.consultation-card::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--surface-gray-2);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.consultation-card.selected::before {
    border-color: var(--brand-primary-strong);
    background: var(--brand-primary-strong);
    box-shadow: inset 0 0 0 4px white;
}

/* Mobile: Stack vertically */
@media (max-width: 900px) {
    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .consultation-card {
        padding: 20px 18px 20px 50px;
        border-radius: 14px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 4px 12px;
        text-align: right;
    }

    .consultation-card .badge {
        position: absolute;
        top: -10px;
        right: 20px;
        left: auto;
        transform: none;
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .consultation-card h3 {
        font-size: 1rem;
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
    }

    .consultation-card .duration {
        font-size: 0.8rem;
        margin: 0;
        grid-column: 1;
        grid-row: 2;
        color: var(--text-muted-3);
    }

    .consultation-card .price {
        font-size: 1.3rem;
        margin: 0;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        white-space: nowrap;
    }

    .consultation-card .card-features {
        grid-column: 1 / -1;
        grid-row: 3;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid var(--border-soft);
    }

    .consultation-card .card-features li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .consultation-card::before {
        top: 50%;
        transform: translateY(-50%);
        left: 14px;
        width: 20px;
        height: 20px;
    }

    .consultation-card.recommended {
        padding-top: 26px;
    }
}

.consultation-card.selected::before {
    border-color: var(--brand-primary-strong);
    background: var(--brand-primary-strong);
    box-shadow: inset 0 0 0 4px white;
}

.consultation-card.selected .price {
    color: var(--brand-primary-dark);
}

.consultation-card .features {
    display: none;
}

/* Calendar */
.calendar-container {
    background: var(--surface-2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-header h3 {
    font-size: 1.3rem;
    color: var(--text-strong);
}

.month-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.month-btn {
    background: white;
    border: 2px solid var(--border-soft);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.month-btn:hover {
    background: var(--brand-primary-strong);
    color: white;
    border-color: var(--brand-primary-strong);
}

.month-name {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 120px;
    text-align: center;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.weekday {
    text-align: center;
    font-weight: 700;
    color: var(--text-muted-2);
    font-size: 0.9rem;
    padding: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    background: white;
    border: 2px solid var(--border-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: var(--text-strong);
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: linear-gradient(135deg, var(--brand-primary-strong), var(--brand-primary-dark));
    color: white;
    border-color: var(--brand-primary-strong);
    transform: scale(1.1);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--brand-primary-strong), var(--brand-primary-dark));
    color: white;
    border-color: var(--brand-primary-strong);
    box-shadow: 0 6px 20px var(--primary-strong-alpha-30);
    transform: scale(1.1);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--surface-2);
}

.calendar-day.empty {
    border: none;
    cursor: default;
}

.calendar-day.today {
    border-color: var(--brand-success-2);
    border-width: 3px;
}

/* Time Slots */
.time-slots-container {
    background: var(--surface-2);
    border-radius: 20px;
    padding: 30px;
}

.time-slots-header {
    margin-bottom: 20px;
}

.time-slots-header h3 {
    font-size: 1.3rem;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.time-slot {
    background: white;
    padding: 18px;
    border: 2px solid var(--border-soft);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.time-slot:hover:not(.disabled) {
    background: linear-gradient(135deg, var(--brand-primary-strong), var(--brand-primary-dark));
    color: white;
    border-color: var(--brand-primary-strong);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px var(--primary-strong-alpha-20);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--brand-primary-strong), var(--brand-primary-dark));
    color: white;
    border-color: var(--brand-primary-strong);
    box-shadow: 0 6px 15px var(--primary-strong-alpha-30);
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--surface-2);
}

/* Form Inputs */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.required {
    color: var(--brand-danger);
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-soft);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary-strong);
    box-shadow: 0 0 0 4px var(--primary-strong-alpha-10);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Summary Box */
.summary-box {
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-blue-4) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--brand-primary-strong);
    margin-bottom: 30px;
}

.summary-title {
    font-size: 1.5rem;
    color: var(--text-strong);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px dashed var(--border-strong);
    font-size: 1.1rem;
}

.summary-item:last-child {
    border-bottom: none;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 3px solid var(--brand-primary-strong);
}

.summary-label {
    color: var(--text-muted-2);
    font-weight: 600;
}

.summary-value {
    color: var(--text-strong);
    font-weight: 700;
}

.summary-total {
    font-size: 1.8rem !important;
    color: var(--brand-primary-strong) !important;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 14px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    min-height: 50px;
}

.btn-primary {
    background: var(--brand-primary-strong) !important  ;
    color: white;
    flex: 1;
}

.btn-primary:hover:not(:disabled) {
    background: var(--brand-primary-dark);
}

.btn-secondary {
    background: var(--surface-6);
    color: var(--text-muted-7);
    border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
    background: var(--border-soft);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Loading & Messages */
.loading {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 5px solid var(--surface-gray-1);
    border-top: 5px solid var(--brand-primary-strong);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    color: var(--text-muted-2);
    font-weight: 600;
}

.error-message {
    background: linear-gradient(135deg, var(--surface-red-1), var(--surface-red-2));
    color: var(--brand-red-deep-3);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    display: none;
    border: 2px solid var(--surface-red-3);
}

.error-message.active {
    display: block;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .booking-page {
        padding: 100px 12px 30px;
    }

    .booking-container {
        border-radius: 20px;
        box-shadow: 0 15px 40px var(--shadow-15);
    }

    .booking-content {
        padding: 25px 16px;
    }

    .booking-header {
        padding: 35px 20px;
    }

    .booking-header h1 {
        font-size: 1.6rem;
    }

    .booking-header p {
        font-size: 0.95rem;
    }

    .step-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    /* Steps - Compact mobile view */
    .steps-container {
        margin-bottom: 30px;
        padding: 0 5px;
    }

    .steps-container::before {
        top: 18px;
        right: 15%;
        left: 15%;
        height: 2px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-width: 3px;
    }

    .step-label {
        font-size: 0.7rem;
        max-width: 70px;
    }

    .step-item.active .step-circle {
        transform: scale(1.05);
    }

    /* Consultation Cards - Mobile */
    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .consultation-card {
        padding: 18px 16px 16px 44px;
        border-radius: 12px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 2px 10px;
        text-align: right;
    }

    .consultation-card .badge {
        position: absolute;
        top: -9px;
        right: 16px;
        left: auto;
        transform: none;
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .consultation-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0;
        grid-column: 1;
        grid-row: 1;
    }

    .consultation-card .duration {
        font-size: 0.75rem;
        margin: 0;
        grid-column: 1;
        grid-row: 2;
    }

    .consultation-card .price {
        font-size: 1.15rem;
        margin: 0;
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }

    .consultation-card .card-features {
        grid-column: 1 / -1;
        grid-row: 3;
        padding-top: 10px;
        margin-top: 6px;
    }

    .consultation-card .card-features li {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .consultation-card::before {
        top: 50%;
        transform: translateY(-50%);
        left: 12px;
        width: 18px;
        height: 18px;
    }

    .consultation-card.recommended {
        padding-top: 24px;
    }

    /* Calendar - Mobile */
    .calendar-container {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .calendar-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .calendar-header h3 {
        font-size: 1.1rem;
    }

    .month-selector {
        width: 100%;
        justify-content: space-between;
    }

    .month-btn {
        padding: 12px 18px;
        font-size: 1.1rem;
        border-radius: 10px;
        background: var(--brand-primary-strong);
        color: white;
        border-color: var(--brand-primary-strong);
    }

    .month-name {
        font-size: 1rem;
    }

    .calendar-days, .calendar-weekdays {
        gap: 6px;
    }

    .weekday {
        font-size: 0.7rem;
        padding: 8px 2px;
    }

    .calendar-day {
        font-size: 0.85rem;
        border-radius: 10px;
        border-width: 2px;
    }

    .calendar-day.selected {
        transform: scale(1.05);
    }

    /* Time Slots - Mobile */
    .time-slots-container {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .time-slots-header h3 {
        font-size: 1.1rem;
    }

    .time-slots-header p {
        font-size: 0.8rem !important;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .time-slot {
        padding: 14px 8px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Form Inputs - Mobile */
    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .form-input {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* Summary - Mobile */
    .summary-box {
        padding: 20px;
        border-radius: 16px;
    }

    .summary-title {
        font-size: 1.2rem;
    }

    .summary-item {
        font-size: 0.95rem;
        padding: 12px 0;
    }

    .summary-total {
        font-size: 1.4rem !important;
    }

    /* Navigation Buttons - Mobile */
    .form-navigation {
        flex-direction: column-reverse;
        gap: 10px;
        margin-top: 24px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
        width: 100%;
    }

    .btn-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-label {
        font-size: 0.65rem;
        max-width: 55px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}




