body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

@media (max-width: 991.98px) {
    body {
        zoom: 70%;
    }
}


.scroll-box {
    max-height: 100px !important;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem;
    background-color: white;
}

.scroll-box .form-check {
    display: block;
    margin-bottom: 5px;
}


input:-webkit-autofill {
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000 !important;
  }

.calendar-header div.today {
    background-color: #ff0076; /* Darker background for today */
    font-weight: bold;
}

.day-cell.today {
    background-color: #e0e0e0 !important; /* darker background */
}


.text-pink{
    color:#ff7eb3 !important;
}

.bg-pink {
    background: #ff7eb3 !important;
}

.button-pink {
    color: #ff7eb3;
    background-color: #fff;
}

.fill-button-pink {
    color: #fff;
    background-color: #ff7eb3;
}

.fill-button-pink:hover {
    color: #fff;
    background-color: #fb4e96;
}

.serviceBadge {
    font-size: 20PX;
}

.calendar-container {
    min-width: 900px;
    max-width: 100%;
    margin: 30px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    background: #ff7eb3;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.calendar-header {
    padding: 0; /* remove */
}
.calendar-header > div {
    padding: 8px; /* add here for consistent cell padding */
    display: flex;
    align-items: center;
    justify-content: center;
}
.calendar-header > div.today {
    padding: 0; /* remove inner padding */
}




.calendar-body {
    display: grid;
    grid-template-columns: 80px repeat(7, 0.5fr) !important;
    grid-auto-rows: 200px;
    border-top: 1px solid #ddd;
    position: relative;
}

.time-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ececec;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #747474;
3    width: 80px !important;
}


.appointment {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    background: #ff7eb3;
    color: white;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
  }
  


.appointment:hover {
    background: #ff7eb3;
}
.location {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0;
    border: none;
    width: 100%;
    z-index: 100;
    overflow: hidden;
}

.break {
    border-radius: 0;
    border: none;
    position: relative;
    width: 100%;
    font-size: 12px;
    z-index: 1000;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    background: repeating-linear-gradient(45deg,
            rgba(200, 200, 200, 0.3),
            rgba(200, 200, 200, 0.3) 10px,
            rgba(150, 150, 150, 0.3) 10px,
            rgba(150, 150, 150, 0.3) 20px);
    overflow: hidden;
}

.break::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: repeating-linear-gradient(45deg,
            rgba(200, 200, 200, 0.5),
            rgba(200, 200, 200, 0.5) 10px,
            rgba(150, 150, 150, 0.5) 10px,
            rgba(150, 150, 150, 0.5) 20px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.break:hover::before {
    opacity: 1;
}

.main-container{
    width: 85vw;
    padding: 2vh 2vw;
}



.sidebar-nav-item{
    --bs-nav-pills-link-active-bg: rgb(247, 100, 178);
    font-size:x-large;
    margin-bottom: 30px;
    --bs-emphasis-color-rgb: 247, 100, 178;
    --bs-link-color: rgb(247, 100, 178);
}
.accountName {
    --bs-emphasis-color-rgb: 247, 100, 178;
    font-size:large;
}
.sidebar-span {
    margin-right: 10px;
}

.table-striped {
    --bs-table-striped-bg: rgb(254, 236, 245); /* light pink */
}
.tableheader {
    --bs-table-bg: rgb(250, 158, 207);
    --bs-table-color: rgb(255, 255, 255);
    font-size: larger;
}



.calendar-body {
    display: grid;
    grid-template-columns: 30px repeat(7, 1fr); /* First column for time, others for days */
    grid-auto-rows: 30px; /* Adjusts row height for smaller cells */
}

.day-cell {
    padding:0;
    border: none;
    position: relative;
    border-right: 1px solid #ddd; /* Ensure border visibility */
    background: white;
}

.day-cell:hover {
    background: lightgrey;
}

.btn.appointment,
.btn.break {
    z-index: 1000 !important; /* Ensure events are above the grid */
}
.dropdown {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.calendar-container {
    height: 85vh;
    display: flex;
    flex-direction: column;
}

.calendar-header {
    z-index: 1000;
}

.calendar-body {
    overflow-y: auto;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent page scrolling */
}

.container-fluid {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px); /* Adjust height dynamically */
    max-height: 85%;
    overflow: hidden; /* Prevent page scrolling */
}

.calendar-body {
    flex-grow: 1;
    overflow-y: auto; /* Enable scrolling for calendar only */
    height: calc(85% - 50px); /* Ensures it takes the remaining space */
}

.sidebar {
    width: 15vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgb(253, 216, 236);
    transition: width 0.3s ease-in-out;
}

.sidebar-nav-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    width: 100%;
}
.location {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* or set dynamically via JS */
}

.sidebar-nav-item a i {
    flex-shrink: 0;
}

@media (max-width: 1500px) {
    .sidebar {
        width: 8vw !important; 
    }

    .sidebar-nav-item a {
        justify-content: center;
        text-align: center;
        padding: 15px; /* Ensure clickability */
    }

    .sidebar-nav-item a span {
        display: none; /* Hide text */
    }

    .sidebar-nav-item i {
        font-size: 1.6vw; /* Makes text responsive */
    }

    .sidebar-logo {
        content: url('/image/logo-sm.svg'); /* Switch to small logo */
        width: 100% !important;
    }

    .main-container{
        width: 92vw;
    }
}

.sidebar-nav-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1vw; /* Makes text responsive */

}
.location {
    z-index: 1;
}
.appointment {
    z-index: 10;
}
.break {
    z-index: 100;
}

.time-label {
    position: absolute;
    top: 2px;
    left: 2px;
    font-size: 15px;
    padding: 2px 4px;
    color: black;
    font-weight: 900;
    z-index: 1000000;
    pointer-events: none;
  }



  