.calendar-container {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.calendar-container.hidden {
    display: none !important;
}

.step {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

.step-3 {
    max-width: 400px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 0.4px solid #adadad;
    font-size: 24px;
    cursor: pointer;
    color: #000000;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.hidden {
    display: none;
}

/* Step 1: Calendar & Time Selection */
.calendar-content {
    display: flex;
    gap: 40px;
}

.date-section {
    flex: 1;
    background: conic-gradient(from -84.05deg at 149.64% 120.65%, #232323 0deg, #797A7E 65.71deg, #949597 172.69deg, #B7B7B7 360deg);
    color: white;
    padding: 48px 35px;
}

.date-section h2 {
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-bottom: 16px;
    color:#ffffff;
}

.date-section p {
    color:#ffffff;
    font-weight: 500;
    font-style: Medium;
    font-size: 17.03px;
    line-height: 24.49px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-bottom: 20px;
}

.calendar-widget {
    background: white;
    border-radius: 15px;
    padding: 20px;
    color: #333;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.month-year {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #666;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #f0f0f0;
}

.calendar-day.selected {
    background: #4a4a4a;
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.empty {
    cursor: default;
}

.timezone-selector {
    margin-top: 20px;
}

.timezone-select-wrapper {
    position: relative;
}

.timezone-display {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    border: none;
    padding: 6px 7px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    pointer-events: none;
    position: relative;
    z-index: 1;
    border: 0.7px solid #ABAAA9;
    max-width: 320px;
}

.timezone-display svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 20px;
}

.timezone-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 14px;
}

.timezone-select:focus {
    outline: none;
}

.timezone-select option {
    background: #333;
    color: white;
    padding: 10px;
}

.time-section {
    flex: 1;
    padding: 48px 35px 48px 0px;
}

.time-section h2 {
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 16px;
    font-weight: 700;
}

.time-section p {
    color: rgba(0, 0, 0, 1);
    margin-bottom: 20px;
    font-weight: 500;
}

.time-section h3 {
    margin-bottom: 20px;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: 0%;
    vertical-align: middle;
}

.time-outer {
    border: 1px solid #dddcdc;
    padding: 20px 10px;
    background: #F9F7F466;
    border-radius: 20px;
    margin-bottom: 40px;
}

.time-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-height: 202px;
    overflow-y: auto;
    padding-right: 20px;
}

.time-slot {
    padding: 11px;
    border: 1px solid #acacab;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 16px;
    max-height: 43px;
    line-height: 23px;
}

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

.time-slot.selected {
    background: #656569;
    color: white;
    border-color: #656569;
}

.duration-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 96px;
}

.duration-btn {
    width:35%;
    padding: 11px 66px;
    border: 1px solid #adadad;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.duration-btn.selected {
    background: #4a4a4a;
    color: white !important;
    border-color: #4a4a4a;
}

.continue-btn {
    background: conic-gradient(from -84.05deg at 89.64% 120.65%, #232323 0deg, #797A7E 65.71deg, #949597 172.69deg, #B7B7B7 360deg);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 25px;
    cursor: pointer;
    float: right;
    font-weight: 800;
    font-size: 16px;
    line-height: 16px;
}

/* Step 2: Information Form */
.step-2 {
    padding: 48px 35px 0;
}

.step-2 h3 {
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 23px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: capitalize;
    margin-bottom: 14px;
}

.selected-date {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(171, 170, 169, 1);
    padding: 6px 14px 7px 7px;
    border-radius: 30px;
    margin-bottom: 40px;
    width: fit-content;
}

.selected-date .calendar-icon {
    background: #4a4a4a;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.date-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.step-2 h2 {
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 22.49px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-bottom: -20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: -20px;
    font-weight: 500;
    font-size:14px;
    color: rgba(0, 0, 0, 1);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #adadad;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    color: #767676;
}

.form-group input:focus {
    outline: none;
    border-color: #4a4a4a;
}

.confirm-btn {
    background: #4a4a4a;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    display: block;
    margin: 0 auto;
}

/* Step 3: Success Message */
.success-content {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 54px;
    height: 54px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.success-content h2 {
    margin-bottom: 78px;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
}

.consultation-details {
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

.consultation-details p {
    font-weight: 400;
    font-size: 13px;
    line-height: 27px;
    text-align: center;
    vertical-align: middle;
}

.consultation-details p:first-child {
    font-weight: 600;
    font-size: 13px;
    line-height: 23px;
    vertical-align: middle;
    text-transform: capitalize;
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .duration-buttons {
        flex-direction: column;
    }
    
    .step {
        padding: 20px;
    }
}
