.booking-header {
    background-color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.booking-header-tools{
    display: flex;
    gap: 20px;
}

.booking-body {
    width: 100%;
    display: flex;
}

.booking-left-side-bar-calender {
    display: flex;
    gap: 20px;
    width: 180px;
}

@media screen and (max-width: 768px) {
    .booking-left-side-bar-calender {
        display: none;
    }
}

#booking-scroll-calendar {
    width: 100%;
    height: 600px;
    overflow-y: scroll;
}

#booking-scroll-calendar .days-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#booking-scroll-calendar .days-container .day{
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

#booking-scroll-calendar .days-container .day:hover{
    background-color: #ccc;
    cursor: pointer;
}
#booking-scroll-calendar .days-container .day.active{
    background-color: rgb(202, 174, 174);
    cursor: pointer;
}

#booking-scroll-calendar .days-container .day:active{
    background-color: rgb(202, 174, 174);
}
#booking-scroll-calendar::-webkit-scrollbar {
    display: none; 
}

#booking-scroll-calendar.day.selected {
    background-color: rgb(202, 174, 174);
    color: white; /* Optional: change text color to make it more readable */
    border-radius: 5px; /* Optional: add rounded corners */
}

#booking-scroll-calendar.days-container {
    display: flex;
    flex-wrap: wrap; /* Wrap days to new lines */
    gap: 5px; /* Optional: spacing between day elements */
}

#booking-scroll-calendar.day {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 2px;
    border: 1px solid #ccc;
}



.booking-scroll-calendar-wrapper {
    border: 1px solid black;
    padding: 10px;
}

.booking-day-schedule {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.booking-item-content {
    width: 100%;
    font-size: 20px;
}

.booking-item-time {
    width: 80px;
    text-align: right;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.schedule-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    height: 100px;
}

.schedule-time {
    font-weight: bold;
}

.schedule-title {
    margin-left: 10px;
}

/* Optional styling for different statuses */
.status-pending {
    background-color: #fff3cd; /* Light yellow for pending */
}

.status-success {
    background-color: #d4edda; /* Light green for success */
}

.status-failed {
    background-color: #f8d7da; /* Light red for failed */
}


/* Modal container */
.booking-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}

/* Used to move calendar controlls down if you are logged-in so admin bar on top is visible */
.fixed-top-with-admin {
    top:32px !important;
}

/* Modal content */
.booking-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

/* Close button */
.booking-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.booking-close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.selected {
    color: #FFF;
    background-color: gray;
}

.booking-working-hour {
   display: flex;
   flex-direction: column;
}

.booking-working-week {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-working-day-hours-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border-radius: 7px;
}

.booking-working-day-hour {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border: 1px solid black;
    color: black;
}

.icon-container {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    gap: 6px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.delete-icon {
    display: flex;
    cursor: pointer;
    font-size: 16px;
    color: red;
}

.edit-icon {
    display: flex;
    cursor: pointer;
    font-size: 16px;
    color: black;
}

.booking-working-day-hour:hover  {
    cursor: pointer;
    background-color: #f0f0f0;
}

.booking-working-day-hour:hover .time-text {
    visibility: hidden;
    font-size: 7px;
}

.booking-working-day-hour:hover .icon-container {
    display: flex;
}

.boodking-edit-main {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 20px;

}

#booking-edit-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.booking-edit-cancel {
    display: flex;
    justify-content: flex-start;
}


.booking-edit-manage {
    display: flex;
    justify-content: flex-start;
}

.booking-working-action-button{
    display: flex;
    width: 100%;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.add-booking-modal {
    width: 500px;
    height: 500px;
    background: #fff;
}

.add-booking-modal-select {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.add-booking-modal-select-from 
.add-booking-modal-select-to {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.add-booking-modal-select-from 
.add-booking-modal-select-to select{
    width: 100%;
}

@media screen and (max-width: 576px) {
    .booking-cancel-button {
        width: 100% !important;
    }

    .booking-manage-description {
        width: 100%;
        text-align: center;
    }
}
.booking-working-day-hour {
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    width: 100%; /* Full width of its container */
    height: 60px; /* Uniform height */
    display: flex; /* Flexbox for alignment */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box; /* Includes padding and border in dimensions */
}

/* Style for the "plus" button */
.booking-working-day-hour.bg-light {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

/* Ensures consistent alignment of all blocks */
.booking-working-day-hours-list {
    display: flex;
    flex-direction: column; /* Stack blocks vertically */
    gap: 10px; /* Adds consistent space between blocks */
    width: 100%; /* Ensures it fits within its container */
}

/* Adjust modal container */
.modal-body {
    max-height: 80vh; /* Prevents the modal from growing too tall */
    overflow-y: auto; /* Enables scrolling for overflow content */
}
/* Specific fix for large screens */
@media (min-width: 1200px) {
    .col-lg {
        flex: 1 0 calc((100%) / 7); /* Ensure equal spacing across all 7 days */
        max-width: calc((100%) / 7);
    }
}

.booking-event-list{
    width: 100%;
}



.title{
    font-size: 2rem;
    font-weight: 600;
}

.booking-schedule-list {
    width: 100%;
    height: fit-content;
}


@media screen and (max-width: 768px) {
    .booking-event-list .day-event-list .schedule-list .schedule-list-left {
        width: 50px;
    }
    
}

.mymb-stack.m15  { height: 50px; }
.mymb-stack.m30  { height: 100px; }
.mymb-stack.m45  { height: 150px; }
.mymb-stack.m60  { height: 200px; }
.mymb-stack.m75  { height: 250px; }
.mymb-stack.m90  { height: 300px; }
.mymb-stack.m105 { height: 350px; }
.mymb-stack.m120  { height: 400px; }

.card.mymb-card {
    width: 100%;
}

.card.mymb-card .card-text,
.card.mymb-card .card-title {
    margin-block: 0;    
}

.card.mymb-card.m15 {
    height: 50px;
} 

.card.mymb-card.m30 {
    height: 100px;
} 

.card.mymb-card.m45 {
    height: 150px;
} 

.card.mymb-card.m60 {
    height: 200px;
} 

.card.mymb-card.m15 .card-text,
.card.mymb-card.m15 .card-title {
    display: inline-block;
} 

/*@media (min-width: 1400px) {
    .mymb-schedule-container {
        max-width: 1320px;
    }
}
@media (min-width: 1200px) {
    .mymb-schedule-container {
        max-width: 1140px;
    }
}
@media (min-width: 992px) {
    .mymb-schedule-container {
        max-width: 960px;
    }
}
*/
@media (min-width: 768px) {
    .mymb-schedule-container {
        max-width: 720px;
    }
}
/*@media (min-width: 576px) {
    .mymb-schedule-container {
        max-width: 540px;
    }
}*/

.btn-modal-close {
    position: absolute;
    right: 0;
    margin: 0 16px !important;
}

.year-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.year {
    padding: 15px !important;
    /* border: 1px solid #ccc; */
    border-radius: 4px !important;
    /* cursor: pointer; */
}
  
.year.selected {
    background-color: #FD4659;
    border: none !important;
    color: white;
}

.year.disable {
    opacity: 0.5;
    color: #2d2d2d;
    border: 1px solid #ccc;
}
.month.disable {
    opacity: 0.5;
    color: #2d2d2d;
    border: 1px solid #ccc;
}
.day.disable {
    border: 1px solid #ccc;
    opacity: 0.5;
    color: #2d2d2d;
}

.month-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 10px;
    text-align: center;
}
  
.month {
    padding: 15px !important;
    /* border: 1px solid #ccc; */
    border-radius: 4px !important;
    /* cursor: pointer; */
}
  
.month:hover {
    background-color: #f0f0f0;
}
  
.month.selected {
    background-color: #FD4659;
    border: none !important;
    color: white;
}
  
.day-matrix {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for days of the week */
    gap: 10px;
    text-align: center;
}
  
.day {
    padding: 10px !important;
    /* border: 1px solid #ccc; */
    border-radius: 4px !important;
    /* cursor: pointer; */
}
  
.day:hover {
    background-color: #f0f0f0;
}
  
.day.selected {
    background-color: #FD4659;
    border: none !important;
    color: white;
}

.day-of-week-bar {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for days of the week */
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.day-of-week {
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}

/* Default layout: Icons and content are side by side */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 24px;
}
  
.btn-setting {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

.working-hour-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for days of the week */
    gap: 10px;
    text-align: center;
}

.working-hour-item {
    border-radius: 4px;
    cursor: pointer;
}

.icon-plus {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-day-of-week-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.static-day-of-week-bar i {
    cursor: pointer;
}

@media (max-width: 992px) {
    .working-hour-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .month-matrix {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
    }
}
  
@media (max-width: 576px) {
    .month {
        padding: 12px !important;
    }

    .flex-container {
        gap: 16px; /* Adjust spacing for mobile */
        text-align: center; /* Center align content */
    }
  
    .btn-group {
        /* width: 100%; Make buttons full-width if desired */
        justify-content: center; /* Center the buttons */
    }
  
    .btn {
        width: auto; /* Ensure buttons don't stretch */
    }

    .working-hour-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
  
@media (max-width: 400px) {
    .month {
        padding: 6px !important;
    }

    .day {
        padding: 6px !important;
    }
}

.right-button {
    width: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.mainContainer {
    width: 100%;
    flex-wrap: nowrap !important;
}

@media screen and (max-width: 1320px) {
    .mainContainer {
        display: flex;
        flex-direction: column-reverse;
    }

    .right-button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 10px;
    }
}

.light-orange {
    background: #FFDBBB !important;
}

.checkbox-charge {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: center;
}

.bg-blue-important .card-body-css{
    background-color: #01FFFF !important;
    z-index: 100;
}

.bg-orange-important .card-body-css {
    background-color: orangered !important;
    z-index: 100;
}

.card-body-css {
    background-color: #FD4659;
}

.editIconCss {
    cursor: pointer; 
    margin-right: 20px; 
    padding: 2px; 
    font-size:20px;
    position: absolute;
    bottom: 10px;
    right: 25px;
}

.deleteIconCss {
    cursor: pointer; 
    padding: 2px; 
    font-size:20px;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.time-text {
    font-size: 12px !important;
}

.bg-weekday-orange {
    position: relative !important;
}

.bg-weekday-orange .card-body-css  {
    position: relative;
    z-index: 10;
    background-color: rgb(255, 219, 187) !important;
}

.bg-weekday-white .card-body-css  {
    position: absolute;
    z-index: 10;
    background-color: white !important;
}

.charge-rate-display {
    position: absolute;
    bottom: -30px;
    height: 100%;
    width: max-content;
    color: black;
    display: flex;
    align-items: center;
}

.bookingCalenderContainer {
    position: relative;
    width: 100%;
    display: flex;
}

.display-none {
    display: none !important;
}