.consultation-booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cb-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.cb-left-panel {
    flex: 0 0 300px;
    min-width: 280px;
    position: relative;
    top: 20px;
    height: fit-content;
}

.cb-right-panel {
    flex: 1;
    min-width: 400px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    min-height: 500px;
}

.cb-account-info {
    text-align: left;
    margin-bottom: 30px;
}

.cb-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.cb-account-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.cb-account-name {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.cb-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
}

.cb-info-icon {
    width: 20px;
    margin-right: 10px;
    opacity: 0.6;
    font-size: 16px;
}

/* Back Button */
.cb-back-btn {
    background: none;
    border: none;
    color: #0066ff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.cb-back-btn:hover {
    opacity: 0.7;
}

.cb-back-btn i {
    font-size: 14px;
}

/* Fade Transitions */
.cb-calendar-section,
.cb-time-selection,
.cb-form-section {
    animation: fadeIn 0.4s ease-in-out forwards;
}

.cb-calendar-section.cb-hidden,
.cb-time-selection.cb-hidden,
.cb-form-section.cb-hidden {
    display: none;
}

.cb-calendar-section.cb-fade-out,
.cb-time-selection.cb-fade-out,
.cb-form-section.cb-fade-out {
    animation: fadeOut 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.cb-heading {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #1a1a1a;
}

.cb-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cb-month-year {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.cb-nav-buttons {
    display: flex;
    gap: 10px;
}

.cb-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
    color: #666;
    transition: background 0.2s;
}

.cb-nav-btn:hover {
    background: #f0f0f0;
}

.cb-calendar {
    margin-bottom: 30px;
}

.cb-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cb-weekday {
    padding: 10px 0;
}

.cb-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cb-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    border: 1px solid transparent;
    transition: all 0.2s;
    max-width: 42px;
    max-height: 42px;
    position: relative;
}

.cb-day:not(.disabled):not(.empty):hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.cb-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.cb-day.empty {
    cursor: default;
}

.cb-day.selected {
    background: #0066ff;
    color: #fff;
    font-weight: 600;
}

.cb-day.available {
    background: #e6f2ff;
    color: #0066ff;
    font-weight: 500;
}

/* Current day indicator */
.cb-day.current-day::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #0066ff;
    border-radius: 50%;
}

.cb-day.current-day.disabled::after {
    background: #ccc;
}

.cb-timezone {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.cb-timezone-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.cb-timezone-select {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    gap: 8px;
}

.cb-timezone-select i {
    font-size: 16px;
    opacity: 0.6;
}

.cb-time-selection {
    margin-bottom: 30px;
}

.cb-selected-date {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.cb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.cb-time-slot {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #0066ff;
    background: #fff;
    transition: all 0.2s;
}

.cb-time-slot:hover {
    border-color: #0066ff;
    background: #f0f7ff;
}

.cb-time-slot.selected {
    background: #0066ff;
    color: #fff;
    border-color: #0066ff;
}

.cb-form {
    margin-top: 30px;
}

.cb-booking-form {
    width: 100%;
}

.cb-form-group {
    margin-bottom: 20px;
}

.cb-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cb-form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.label-req {
    color: #c62828;
    margin-left: 4px;
}

.cb-form-input:focus {
    outline: none;
    border-color: #0066ff;
}

.cb-terms {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cb-terms a {
    color: #0066ff;
    text-decoration: none;
}

.cb-terms a:hover {
    text-decoration: underline;
}

/* Consultation Details in Left Panel */
.cb-consultation-details {
    margin-top: 30px;
}

.cb-detail-divider {
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 20px;
}

.cb-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.cb-detail-icon {
    font-size: 18px;
    color: #0066ff;
    margin-top: 2px;
    min-width: 18px;
}

.cb-detail-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cb-detail-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

.cb-submit-btn {
    width: 100%;
    padding: 14px;
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    box-sizing: border-box;
}

.cb-submit-btn:hover {
    background: #0052cc;
}

.cb-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.cb-confirmation {
    text-align: center;
    padding: 40px 20px;
}

.cb-confirmation-icon {
    width: 60px;
    height: 60px;
    background: #00c853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 24px;
}

.cb-confirmation-icon i {
    font-size: 30px;
}

.cb-confirmation-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.cb-confirmation-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.cb-confirmation-details {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: left;
    margin-bottom: 30px;
}

.cb-confirmation-heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.cb-confirmation-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
    gap: 12px;
}

.cb-confirmation-item i {
    font-size: 18px;
    min-width: 20px;
}

.cb-home-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

.cb-home-btn:hover {
    background: #333;
}

.cb-footer {
    display: none;
}

.cb-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.cb-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.cb-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .cb-wrapper {
        flex-direction: column;
    }
    
    .cb-left-panel {
        flex: 1;
        position: relative;
        top: 0;
    }
    
    .cb-right-panel {
        padding: 20px;
    }
    
    .cb-time-slots {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .cb-day {
        max-width: 100%;
        max-height: 100%;
    }
}
