﻿:root {
    --primary-color: #2870ff;
    --primary-light: #f8f9ff;
    --text-dark: #222;
    --text-light: #666;
    --border-color: #eee;
    --shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.add-profile-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 50%;
}

.bullet-point {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #1171EF;
    border-radius: 0;
}

.day-slot {
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 55px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

    .day-slot.active,
    .day-slot.bg-primary {
        background: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }

    .day-slot.disabled {
        background-color: #f8f9fa;
        color: #adb5bd;
        cursor: not-allowed;
        opacity: 0.5;
    }

    .day-slot:hover:not(.disabled) {
        /* background-color: #e7f3ff !important;
        border-color: #4A6CF7 !important;*/
        background-color: var(--bs-primary-bg-subtle) !important;
        border-color: var(--bs-primary-bg-subtle) #cfe2ff !important;
        color: var(--bs-primary) !important;
    }

.nav-tabs {
    border-bottom: none;
    gap: 8px;
    display: flex;
    justify-content: center;
}

    .nav-tabs .nav-item {
        flex: 1;
    }

    .nav-tabs .nav-link {
        color: #6c757d;
        font-weight: 500;
        background: transparent;
        border: none;
        border-radius: 10px;
        padding: 10px 24px;
        transition: all 0.3s ease;
        text-align: center;
        width: 100%;
    }

        .nav-tabs .nav-link:hover {
            color: var(--primary-color);
            background: rgba(40, 112, 255, 0.05);
            border: none;
        }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            background: rgba(40, 112, 255, 0.1);
            border: none;
            font-weight: 600;
        }

.object-fit-cover {
    object-fit: cover;
}

.doctor-profile-photo-container {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .doctor-profile-photo-container:hover {
        border-color: #4a6cf7;
        transform: scale(1.05);
    }

/* Year and Rating Styling */
.year-rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.year-badge {
    background-color: #e8f4fd;
    color: #0d6efd;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.8rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Compact Session Toggle Buttons */
.session-toggle-container {
    display: flex;
    gap: 6px;
    background: #f8f9fa;
    padding: 3px;
    border-radius: 20px;
}

.session-toggle {
    flex: 1;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .session-toggle:hover {
        background: rgba(40, 112, 255, 0.1);
        color: var(--primary-color);
    }

    .session-toggle.active {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 2px 6px rgba(40, 112, 255, 0.3);
    }

    .session-toggle i {
        font-size: 0.8rem;
    }

.session-label {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Time Picker Styles - More Compact iOS Cupertino Style */
.time-picker-container {
    position: relative;
    height: 68px; /* Reduced from 160px */
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 10px; /* Slightly smaller radius */
    margin: 8px 0; /* Reduced margin */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--bs-primary-bg-subtle); /* Added subtle border */
}

.time-picker-scroll {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

    .time-picker-scroll::-webkit-scrollbar {
        display: none;
    }

.time-slot-item {
    height: 30px; /* Reduced from 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    font-size: 13px; /* Smaller font */
    color: #adb5bd;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    /*margin: 0px 70px;*/ /* Added small margin between items */
}

    .time-slot-item.padding-slot {
        pointer-events: none;
        opacity: 0;
    }

    .time-slot-item[data-time]:hover {
        color: #6c757d;
        background: rgba(40, 112, 255, 0.05); /* Added hover background */
        border-radius: 6px;
        margin: 0px 10px; /* Consistent margin on hover */
    }

    .time-slot-item.selected {
        color: var(--primary-color);
        /*background: var(--primary-color);*/
        font-weight: 600;
        font-size: 14px; /* Slightly smaller selected font */
        transform: scale(1.02); /* More subtle scale */
        border-radius: 8px;
        /*margin: 0px 70px;*/
        box-shadow: 4px 4px 4px 4px rgba(40, 112, 255, 0.3);
    }

    /* No slots available styling */
    .time-slot-item.text-muted {
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        color: #6c757d !important;
        font-style: italic;
        border-radius: 8px;
        margin-top:52px;
    }

.picker-overlay-top,
.picker-overlay-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 5px; /* Reduced from 60px */
    pointer-events: none;
    z-index: 2;
}

.picker-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, rgba(248, 249, 250, 0.95) 40%, rgba(248, 249, 250, 0) 100%);
}

.picker-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, #f8f9fa 0%, rgba(248, 249, 250, 0.95) 40%, rgba(248, 249, 250, 0) 100%);
}

.picker-selection-bar {
    position: absolute;
/*    left: 8%; */
    right: 8%;
    top: 50%;
    height: 35px; /* Reduced to match item height */
    transform: translateY(-50%);
    background: rgba(40, 112, 255, 0.06); /* More subtle */
    border-top: 1px solid rgba(40, 112, 255, 0.3); /* Thinner border */
    border-bottom: 1px solid rgba(40, 112, 255, 0.3);
    border-radius: 6px; /* Smaller radius */
    pointer-events: none;
    z-index: 1;
}

/* Make the entire booking section more compact */
.card-body {
    padding: 1rem; /* Reduced padding */
}

    .card-body .mb-3 {
        margin-bottom: 0.6rem !important; /* Further reduced */
    }

    .card-body .fw-medium {
        font-size: 1.1rem; /* Smaller font */
    }

/* Compact session toggle */
.session-toggle-container {
    display: flex;
    gap: 4px; /* Reduced gap */
    background: #f8f9fa;
    padding: 2px; /* Reduced padding */
    border-radius: 18px; /* Slightly smaller */
}

.session-toggle {
    flex: 1;
    padding: 5px 10px; /* Reduced padding */
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem; /* Smaller font */
    border-radius: 16px; /* Slightly smaller */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .session-toggle i {
        font-size: 0.75rem; /* Smaller icons */
    }

/* Compact day slots */
.day-slot {
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 50px; /* Reduced from 55px */
    padding: 6px 8px; /* Reduced padding */
    font-size: 0.8rem; /* Smaller font */
}

/* Adjust header spacing */
.card-header {
    padding: 0.75rem 1rem; /* Reduced padding */
}

    .card-header h5 {
        font-size: 0.95rem; /* Slightly smaller */
        margin-bottom: 0;
    }

