/* Randevu Al Page Styles */
.randevu-container {
    width: 1320px;
    margin: 0 auto;
    padding: 40px 0;
    background: #f9fafc;
    min-height: 100vh;
}

/* Page Title */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #353849;
    margin-bottom: 40px;
}

/* Progress Stepper */
.progress-stepper {
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stepper-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 600px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

.step-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step.active .step-badge {
    background: linear-gradient(135deg, #00a196 0%, #00c9b8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 161, 150, 0.3);
    transform: scale(1.1);
}

.step.inactive .step-badge {
    background: white;
    color: #b1b2bd;
    border: 2px solid #e6e6eb;
}

.step.completed .step-badge {
    background: #e1f1ea;
    color: #00a196;
    border: 2px solid #00a196;
}

.step-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.step.active .step-title {
    color: #00a196;
    font-weight: 600;
}

.step.inactive .step-title {
    color: #737586;
}

.step.completed .step-title {
    color: #00a196;
    font-weight: 500;
}

/* Hover effects for steps */
.step:hover .step-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.step.active:hover .step-badge {
    transform: scale(1.15);
}

.step-divider {
    flex: 1;
    height: 2px;
    background: #eaeaee;
    margin: 0 -20px;
    position: relative;
}

.step-divider::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, #00a196 0%, #eaeaee 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step.active + .step-divider::after {
    opacity: 0.3;
}

/* Top Info Section */
.top-info-section {
    display: grid;
    grid-template-columns: 412px auto;
    gap: 40px;
    margin-bottom: 40px;
    align-items: stretch;
    max-width: 100%;
}

/* Selected Consultant Card */
.consultant-card {
    background: white;
    border-radius: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: fit-content;
    min-height: 96px;
    width: 412px;
    max-width: 100%;
}

.consultant-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.consultant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-info {
    flex: 1;
    padding: 8px 12px;
}

.consultant-name {
    font-size: 16px;
    font-weight: 400;
    color: #353849;
    margin-bottom: 2px;
}

.consultant-title {
    font-size: 14px;
    color: #737586;
    margin-bottom: 4px;
}

.consultant-price {
    font-size: 16px;
    font-weight: 600;
    color: #353849;
}

/* Duration Section */
.duration-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: fit-content;
    max-width: 868px;
}

/* Main Content Layout */
.booking-content {
    display: grid;
    grid-template-columns: 412px auto;
    gap: 40px;
    align-items: start;
    max-width: 100%;
}

/* Calendar Section */
.calendar-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 412px;
    max-width: 100%;
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #353849;
    font-size: 20px;
    transition: all 0.2s ease;
    padding: 0;
}

.nav-btn:hover {
    transform: scale(1.1);
    color: #00a196;
}

.calendar-month {
    font-size: 16px;
    font-weight: 600;
    color: #353849;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

.day-header {
    text-align: center;
    font-size: 14px;
    color: #898a98;
    padding: 12px 0;
    font-weight: 400;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50%;
    margin: 2px;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day.prev-month,
.calendar-day.next-month {
    color: #b1b2bd;
}

.calendar-day.current-month {
    color: #5d6074;
}

.calendar-day.available {
    background: #e1f1ea;
    color: #00a196;
    font-weight: 600;
}

.calendar-day.available:hover {
    background: #c8e8df;
}

.calendar-day.selected {
    background: #00a196;
    color: white;
    font-weight: 600;
}

.calendar-day.has-dot::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #00a196;
    border-radius: 50%;
}

/* Booking Options */
.booking-options {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 868px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #353849;
    margin-bottom: 16px;
}

/* Duration Options */
.duration-options {
    display: flex;
    gap: 12px;
}

.duration-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f4f5f7;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.duration-option:hover {
    border-color: #e1f1ea;
}

.duration-option.selected {
    background: #e1f1ea;
    border-color: transparent;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #e6e6eb;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.duration-option.selected .radio-circle {
    border-color: #00a196;
    background: #00a196;
}

.duration-option.selected .radio-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.duration-text {
    font-size: 13px;
    color: #737586;
}

.duration-option.selected .duration-text {
    color: #00a196;
    font-weight: 500;
}

/* Service content styling */
.duration-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-name {
    font-size: 14px;
    font-weight: 600;
    color: #353849;
    margin-bottom: 4px;
}

.service-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.duration-price {
    font-size: 14px;
    font-weight: 600;
    color: #00a196;
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}

.time-slot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f4f5f7;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #353849;
    user-select: none;
}

.time-slot:hover {
    border-color: #e1f1ea;
}

.time-slot.selected {
    background: #e1f1ea;
    border-color: transparent;
}

.time-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #e6e6eb;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    pointer-events: none;
    background: white;
    transition: all 0.3s ease;
}

.time-slot.selected .time-radio {
    border-color: #00a196;
    background: #00a196;
}

.time-slot.selected .time-radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.time-text {
    font-size: 16px;
    color: #353849;
    pointer-events: none;
}

.time-slot.selected .time-text {
    color: #00a196;
    font-weight: 600;
}

/* Continue Button */
.continue-section {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.continue-btn {
    background: #00a196;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 171px;
}

.continue-btn:hover {
    background: #00897b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 161, 150, 0.3);
}

.continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Custom Scrollbar for Time Slots */
.time-slots-grid::-webkit-scrollbar {
    width: 6px;
}

.time-slots-grid::-webkit-scrollbar-track {
    background: #f4f5f7;
    border-radius: 3px;
}

.time-slots-grid::-webkit-scrollbar-thumb {
    background: #00a196;
    border-radius: 3px;
}

.time-slots-grid::-webkit-scrollbar-thumb:hover {
    background: #00897b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .top-info-section {
        grid-template-columns: minmax(350px, 412px) 1fr;
        gap: 30px;
    }
    
    .booking-content {
        grid-template-columns: minmax(350px, 412px) 1fr;
        gap: 30px;
    }
    
    .consultant-card {
        width: 100%;
    }
    
    .calendar-container {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .top-info-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .consultant-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .duration-section {
        max-width: 868px;
        margin: 0 auto;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .calendar-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .booking-options {
        max-width: 868px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .randevu-container {
        padding: 20px 16px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .progress-stepper {
        padding: 16px;
        overflow-x: auto;
    }
    
    .stepper-wrapper {
        min-width: fit-content;
    }
    
    .step-title {
        display: none;
    }
    
    .top-info-section {
        gap: 16px;
    }
    
    .consultant-card {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .duration-section {
        max-width: 100%;
    }
    
    .duration-options {
        flex-direction: column;
    }
    
    .calendar-container {
        max-width: 100%;
    }
    
    .booking-options {
        max-width: 100%;
    }
    
    .time-slots-grid {
        grid-template-columns: 1fr;
        max-height: 400px;
    }
    
    .continue-section {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        margin-top: 0;
    }
    
    .continue-btn {
        width: 100%;
    }
    
    body {
        padding-bottom: 80px;
    }
}