/* Meeting Profile Section */

.clientprofile .profile-avatar {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar .avatar-initials {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.clientprofile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.detail-item {
    margin-bottom: 12px;
    color: #4D4D4D;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-item span li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meeting-profile ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.meeting-profile ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
    font-size: 0.9rem;
}

.meeting-profile ul li img {
    width: 20px;
    height: 20px;
}

/* Calendar Section */

/* Timezone Selector */
.timezone-selector .bi-geo-alt {
    color: #0775DB;
}

.timezone-selector .form-select {
    border: none !important;
    box-shadow: none !important;
    border-radius: 6px;
    padding: 0;
    font-size: 12px;
    background-size: 10px 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.timezone-selector .form-select:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 0.25rem rgba(49, 130, 206, 0.1);
}

#timezone-info {
    color: #718096;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Calendar Grid */
.calendar-section {
    background: #fff;
    border-radius: 9px;
    padding: 15px;
    border: 1px solid #F0F0F0;
}

.calendar-header h4 {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.calendar-header small {
    color: #6D6D6D !important;
    font-size: 12px;
    font-weight: 400;
}

.btn-prev {
    border: none;
    box-shadow: none;
    color: #828282;
    padding: 0;
    line-height: 1;
    vertical-align: top;
}

.btn-next {
    border: none;
    box-shadow: none;
    color: #828282;
    padding: 0;
    line-height: 1;
    vertical-align: top;
}

.calendar-weekdays {
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.calendar-weekdays>div {
    color: #000000;
    font-weight: 500 !important;
    font-size: 12px;
    text-transform: uppercase;
}

.calendar-day {
    font-size: 12px !important;
    font-weight: 400;
    height: 28px;
    width: 28px;
    padding: 2px;
    text-align: center;
    margin: auto;
    margin-bottom: 8px;
    border: none !important;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
    background: #007EF5 !important;
    color: #fff !important;
}

.calendar-day:not(:disabled):hover {
    border-color: #3182ce !important;
}

.calendar-day:disabled {
    background: #fff !important;
    color: #575757 !important;
    cursor: not-allowed;
    border: none !important;
}

.calendar-day.btn-outline-primary {
    border: none !important;
    color: #000000 !important;
    background-color: #E6EFFF !important;
    border-radius: 50%;
}

.calendar-day.btn-outline-primary:hover {
    background: #3182ce !important;
    color: white !important;
}

.calendar-day.btn-primary {
    background: #0056A7 !important;
    border-color: #0056A7 !important;
    color: white !important;
}

.calendar-day small {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
}

/* Time Selection */

.datetime-format h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    padding-top: 5px;
}



/* Time Slots */

.time-slot-btn.confirm-btn {
    background: #10B981;
    color: white;
    border-color: #10B981;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: translateX(4px);
    position: relative;
}

.time-slot-btn.confirm-btn .confirm-text {
    padding-left: 24px;
    position: relative;
}

.time-slot-btn.confirm-btn .confirm-text::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 14px;
}

.time-slot-btn.confirm-btn:hover {
    background: #059669;
    border-color: #059669;
    transform: translateX(4px) translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

/* Custom scrollbar for time slots */
.bookconfirm-buttons::-webkit-scrollbar {
    width: 4px;
}

.bookconfirm-buttons::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.bookconfirm-buttons::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.bookconfirm-buttons::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Confirm Button */
#confirm-time-btn {
    background: #48bb78;
    border-color: #48bb78;
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#confirm-time-btn:hover {
    background: #38a169;
    border-color: #38a169;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

#confirm-time-btn:disabled {
    background: #a0aec0;
    border-color: #a0aec0;
    transform: none;
    box-shadow: none;
}

/* No Date Selected State */
.no-date-selected {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    text-align: center;
}

.no-date-selected i {
    color: #cbd5e0;
}

.no-date-selected h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    padding-top: 5px;
}

.no-date-selected p {
    color: #6D6D6D;
    font-size: 12px;
    max-width: 200px;
    line-height: 1.4;
}

/* Enhanced Calendar Styles */

.calendar-day:hover:not(:disabled) {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-slot-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.time-slot-btn.selected {
    background: #0775DB;
    color: white;
    border-color: #0775DB;
}

.time-slot-btn span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.timezone-selector select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.confirm-booking-btn {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.no-date-selected {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.meeting-schedulebox {
    max-height: 600px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .calendar-grid {
        gap: 1px !important;
    }

    .time-slot-btn {
        min-width: 80px;
        font-size: 0.75rem;
        padding: 6px 8px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .meeting-profile {
        position: static;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .meeting-schedulebox {
        padding: 1.5rem;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .calendar-grid {
        gap: 1px !important;
    }

    .calendar-day small {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
        bottom: 1px;
        right: 1px;
    }

    .time-slot-btn {
        min-height: 50px;
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }

    .bookconfirm-buttons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.25rem;
    }

    .meeting-profile,
    .meeting-schedulebox,
    .datetime-format,
    .calendar-section {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .timezone-selector .form-select {
        max-width: none !important;
    }

    .calendar-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .bookconfirm-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading States */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Animation for smooth transitions */
.time-slots-section {
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.time-slots-section small {
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
    color: #6D6D6D;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar for modal body */
.meeting-schedulebox::-webkit-scrollbar {
    width: 6px;
}

.meeting-schedulebox::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.meeting-schedulebox::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.meeting-schedulebox::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}