/* Day header cells */
#rooms-app .wb-day-head {
    text-align: left;
    padding: 8px 10px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

#rooms-app .wb-day-date {
    font-weight: 600;
}

#rooms-app .wb-day-weekday {
    font-size: 12px;
    opacity: 0.8;
}

#rooms-app .wb-day-level {
    font-size: 12px;
    margin-top: 2px;
}

#rooms-app .wb-level-low {
    color: #16a34a;
}

#rooms-app .wb-level-medium {
    color: #d97706;
}

#rooms-app .wb-level-high {
    color: #dc2626;
}

#rooms-app .wb-level-neutral {
    color: #6b7280;
}

#rooms-app .wb-today-head {
    background: #EFF6FF;
}

/* Body cells */
#rooms-app .wb-day-cell {
    vertical-align: top;
    background: #fff;
}

#rooms-app .wb-day-cell.wb-today {
    background: #EFF6FF;
}

/* Plus button */
#rooms-app .wb-plus {
    display: inline-block;
    font-weight: bold;
    color: #39618c;
    text-decoration: none;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 24px;
}

#rooms-app .wb-plus:hover {
    background: #e0e7ff;
}

/* Event card */
#rooms-app .wb-evt {
    position: relative;
    margin: 6px 4px;
    padding: 10px 12px 8px 12px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #3b82f6;
    border-radius: 8px;
    background: #f3f7ff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

#rooms-app .wb-evt-time {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 2px;
}

#rooms-app .wb-evt-title {
    font-weight: 600;
}

/* Optional per-status accent */
#rooms-app .wb-evt.wb-status-confirmed {
    border-left-color: #16a34a;
}

#rooms-app .wb-evt.wb-status-quotation {
    border-left-color: #6b7280;
}

#rooms-app .wb-evt.wb-status-prel {
    border-left-color: #d97706;
}

#rooms-app .wb-evt.wb-status-signed {
    border-left-color: #8b5cf6;
}

/* Modal */
.wb-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.wb-modal-content {
    background: #fff;
    max-width: 600px;
    margin: 8% auto;
    padding: 16px;
    border-radius: 10px;
}

#wb-close {
    float: right;
    cursor: pointer;
}











.page-container {
    width: 95%;
    margin: auto;
}

.table-bordered > :not(caption) > * {
    border-width: 1px 0;
    vertical-align: middle;
}

.type-move-calendar {
    font-weight: bold;
    background-color: #714b67;
    margin: 0;
    height: 42px;
    width: 75px;
    line-height: 2.8;
    font-size: 16px !important;
    color: white;
}


.schedule-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.625rem !important;
    /* padding: 0.9rem !important; */
    /* background-color: #efefef !important; */
    border-radius: 8px !important;
}

/* Left section */
.section-move-button {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    gap: 0.5rem;
    min-width: 250px;
}

.schedule-header button {
    margin: 0 !important;
}

.schedule-header span:has(input) {
    margin: 0 !important;
}

.schedule-header span input {
    padding: 0.625rem 1rem !important;
    border-radius: 8px !important;
    border: 1px solid #d7d4d4 !important;
    /* min-width: 230px !important; */
    width: 150px !important;
}

.schedule-header button:not(.o_arrow_button) {
    background-color: #714b67;
    color: white;
    padding: 0.625rem 0.725rem !important;
    border-radius: 0 8px 8px 0 !important;
    border: none;
}

@media screen and (max-width: 575px) {
    .schedule-header button:not(.o_arrow_button) {
        font-size: 13px !important;
    }
}

.schedule-header button:first-child {
    height: 100% !important;
    transition: all 0.3s ease-in-out;
    border-radius: 8px 0 0 8px !important;
}

.schedule-header button:first-child:hover {
    color: #1f2937;
    background: #caced7;
}

.schedule-header button:nth-child(2) {
    background-color: #714b67;
    color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 8px 0 0 8px !important;
}

.schedule-header button:nth-child(6) {
    background-color: #ffffff !important;
    border: 1px solid #ac8a39 !important;
    color: #ac8a39 !important;
    height: 100% !important;
    transition: all 0.3s ease-in-out;
}

.schedule-header button:nth-child(6):hover {
    background-color: #f7e6bf !important;
}

@media screen and (max-width: 991px) {
    .schedule-header {
        gap: 0.4rem;
    }

    .schedule-header span:has(input) {
        width: 100% !important;
    }

    .schedule-header span:has(input) input {
        width: 100% !important;
    }
}

.schedule-header .color-labels {
    display: flex !important;
    row-gap: 0.2rem !important;
    column-gap: 0.4rem !important;
    flex-wrap: wrap !important;
    width: 225px !important;
    margin-inline-start: 0.5rem !important;
}

.schedule-header .color-labels .item {
    width: calc(50% - 0.3rem) !important;
    text-align: start !important;
}

.schedule-header .color-labels .item .color-span {
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #000000 !important;
    border: 0 !important;
    margin-inline-end: 0.4rem !important;
}

.schedule-header .color-labels .item .color-name {
    font-size: 15px !important;
}

@media screen and (max-width: 575px) {
    .schedule-header .color-labels {
        column-gap: 0.3rem !important;
        width: auto !important;
    }

    .schedule-header .color-labels .item .color-name {
        font-size: 13.5px !important;
    }
}






.schedule-filters {
    /* margin-top: 1rem !important; */
    /* padding: 0.9rem !important; */
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.625rem !important;
    /* background-color: #efefef !important; */
    border-radius: 8px !important;
}

.schedule-filters>div {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.schedule-filters>div:nth-child(1) strong,
.schedule-filters>div:nth-child(2) strong,
.schedule-filters>div:nth-child(3) strong,
.schedule-filters>div:nth-child(4) strong {
    display: block !important;
    margin-bottom: 0.3rem !important;
}

.schedule-filters>div:nth-child(1) select,
.schedule-filters>div:nth-child(2) select,
.schedule-filters>div:nth-child(3) select,
.schedule-filters>div:nth-child(4) select {
    /* padding: 0.625rem 1rem !important; */
    padding: 0.625rem .2rem !important;
    border-radius: 8px !important;
    border: 1px solid #d7d4d4 !important;
    background-color: #ffffff !important;
}

.schedule-filters>div:nth-child(1):has(button) button,
.schedule-filters>div:nth-child(2):has(button) button,
.schedule-filters>div:nth-child(3):has(button) button,
.schedule-filters>div:nth-child(4):has(button) button {
    margin-inline-start: 0.4rem !important;
    background-color: #714B67 !important;
    border: 1px solid #714B67 !important;
    /* background-color: #ffffff !important;
  color: #ac8a39 !important;
  border: 1px solid #ac8a39 !important; */
    color: #ffffff !important;
    height: 100% !important;
    transition: all 0.3s ease-in-out;
}

.schedule-filters>div:nth-child(1):has(button) button:not(.o_arrow_button),
.schedule-filters>div:nth-child(2):has(button) button:not(.o_arrow_button),
.schedule-filters>div:nth-child(3):has(button) button:not(.o_arrow_button),
.schedule-filters>div:nth-child(4):has(button) button:not(.o_arrow_button) {
    padding: 0.625rem 0.725rem !important;
    border-radius: 8px !important;
}

.schedule-filters>div:nth-child(1):has(button) button:hover,
.schedule-filters>div:nth-child(2):has(button) button:hover,
.schedule-filters>div:nth-child(3):has(button) button:hover,
.schedule-filters>div:nth-child(4):has(button) button:hover {
    /* background-color: #f7e6bf !important; */
    background-color: #52374b !important;

}

.schedule-filters .search-container {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
    align-self: flex-end !important;
    gap: 0.25rem !important;
}

.schedule-filters .search-container input {
    padding: 0.625rem 1rem !important;
    border-radius: 8px !important;
    border: 1px solid #A1A1AA !important;
    background-color: #F4F4F5 !important;
    max-width: 340px !important;
    flex: 0 1 auto !important;
}

.schedule-filters .search-container button {
    margin-inline-start: 0.4rem !important;
    background-color: #714B67 !important;
    border: 1px solid #714B67 !important;
    /* background-color: #ffffff !important;
  border: 1px solid #ac8a39 !important; 
  color: #ac8a39 !important; */
    color: #ffffff !important;
    height: 100% !important;
    transition: all 0.3s ease-in-out;
}

.schedule-filters .search-container button:not(.o_arrow_button) {
    padding: 0.625rem 0.725rem !important;
    border-radius: 8px !important;
}

.schedule-filters .search-container button:hover {
    background-color: #52374b !important;
}

@media screen and (max-width: 575px) {

    .schedule-filters>div:nth-child(1),
    .schedule-filters>div:nth-child(2) {
        width: calc(50% - 0.5rem) !important;
    }

    .schedule-filters>div:nth-child(1) select,
    .schedule-filters>div:nth-child(2) select {
        width: 100% !important;
    }

    .schedule-filters>div:nth-child(3) {
        width: 100% !important;
    }

    .schedule-filters>div:nth-child(3) select {
        width: 100% !important;
    }

    .schedule-filters>div:nth-child(4) {
        width: 100% !important;
    }

    .schedule-filters>div:nth-child(4) select {
        width: calc(70% - 0.5rem) !important;
    }

    .schedule-filters>div:nth-child(4) button {
        width: 30% !important;
    }

    .schedule-filters .search-container {
        width: 100% !important;
    }

    .schedule-filters .search-container input {
        width: 100% !important;
        width: calc(70% - 0.5rem) !important;
    }

    .schedule-filters .search-container button {
        width: 30% !important;
    }
}














/*************** popup-modal *******************/
.popup-tag {
    background-color: #e9edf3;
    color: #2f3b52;
    margin: 2px;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    font-size: 13px;
    cursor: default;
}

.popup-details .main-content  table .main-head{ background-color: #e0e0e0a8;}
.popup-details .main-content table .total-td td:first-child{ border: 1px solid white; border-right: 1px solid #ddd; border-top: 1px solid #ddd; }
.popup-details .main-content table .total-td td:not(:first-child){ background-color: #FAEDED; }

.popup-details .note{width: 100%; border: 1px solid #ddd; height: 250px;}


.popup-details{
    position: fixed;
    top: 8%;
    left: 8%;
    background: white;
    z-index: 2;
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    border-radius: 5px;
    display: block;
    height: 95%;
    display: flex;
    flex-direction: column;
}

.popup-details .main-header{
    display: flex; 
    justify-content: space-between; 
    background-color: #714B67;
    color: white;
    padding: 2px 10px;
    border-radius: 5px 5px 0 0;
}
.popup-details .main-header p{line-height: 3; font-size: 12px;}
.popup-details .main-header button{border: none; background: transparent; color: white;}

.popup-details .sub-header{ background-color: #EBEBEB; padding: 10px; }
.popup-details .sub-header button{ margin-right: 10px; margin-bottom: 3px; width: 100px; padding: 2px; }
.popup-details .sub-header .btn-close{ background: white; color: black; border: none; padding-bottom: 10px;}
.popup-details .sub-header .print-customer{ width: 180px; }


.popup-details .main-content {overflow: auto; }
.popup-details .main-content .input-content .input-data{ border-bottom: 1px solid black; padding: 0; }

.popup-details .main-content .table-content table td{ padding: 5px; }

.selection-view-mode{ 
    background: #714b67;
    color: white;
    height: 43px;
    padding: 5px 40px 5px 10px; /* leave space for arrow */
    border: none;
    border-radius: 5px;
    -webkit-appearance: none; /* Chrome/Safari */
    -moz-appearance: none;    /* Firefox */
    appearance: none;
    position: relative;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}
.selection-view-mode option{ color: black;}

.table > :not(caption) > * > * {
    padding: 0.40rem 0.40rem;
}