
body {
    background-color: whitesmoke; /* Light gray background */
    height: 100%; 
    margin: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

main {
    flex: 1; /* 让主内容部分占据剩余空间 */
}


/* NaviBar */

#app-title {
    font-size: x-large;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
}



.brand-icon,
.menu-icon,
.profile-icon {
    color: rgb(86, 14, 89);
    font-size: 18px;
    cursor: pointer;
    
}

.profile-icon {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    width: 200px; 
}


.brand-icon:hover,
.menu-icon:hover,
.profile-icon:hover {
    color: rgb(216, 122, 219);
}

.profile-text-container {
   display: flex;
    flex-direction: column;
    text-align: right;
    align-items: flex-end; /* 保证右对齐 */
    gap: 6px;
    font-family: sans-serif;

}

.profile-top-row {
    display: flex;
    gap: 10px; /* 公司名与营业所名之间的间距 */
    font-size: small;
}

.profile-bottom-row {
    text-align: right;
    font-size: small;
}


.filter-section {
    width: 100%;
    height: 2.75rem;
    color: #555555;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    box-shadow: #cee3f6 0px 0px 10px;
    border: #cee3f6 1px solid;
    border-radius: 5px;
}

 .filter-section i {
    font-size: 1.5rem;
}
/*
#levelFilterSection {
   color: #007bff;
}
#tempFilterSection {
    color: #ff6600;
}
#searchFilterSection,
#calendarFilterSection
{
    color: #555555;
} */



/* Custom CSS to make the Bootstrap dropdown scrollable */
.dropdown-menu-scroll {
    /* 1. Set a fixed maximum height (adjust as needed) */
    max-height: 500px; 
    
    /* 2. Enable vertical scrolling only when content exceeds max-height */
    overflow-y: auto; 
    
    /* Optional: Ensure the horizontal scrollbar doesn't appear */
    overflow-x: hidden;
}



.dropdown-menu li a {
    text-decoration: none;  /* Remove underline */
         /* Change text color to blue */
    
    font-size: x-large;
}

.dropdown-menu li a:hover {
    font-style: italic;
    text-decoration: underline; /* Add underline on hover */
}


/* table */
.circleBtn {
    background-color: #cab2ed;
    width:40px;
    height:40px;
    border:none;
    border-radius: 20px;
    color: #f2f2f2;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    margin:5px;
}
.circleBtn:hover {
    background-color: #f2f2f2;
    color: #cab2ed;
}

.deleteBtn {
    font-size: 12px;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f50505;
    width: 50px;
    height:40px;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
}
.deleteBtn:hover {
    background-color: #f59a9a;
}


button {
    background-color: #7fc9f4;
    color: white;
    border-radius: 10px;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

.cell-editting {
    font-style: italic;
    font-weight: bold;
    background-color: #f5baca; /* Change this to the desired background color */
}

.highlight {
    /* background-color: #cfb7f3; */
    font-weight: bold;        
    border: 4px solid black;  
    text-align: center;  
}


/* full-screen-overlay */
.full-screen-overlay {
    position: fixed;  /* cover all window */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999; /* cover all */
    display: flex;
    justify-content: center;
    align-items: center;
}



.filter-block {
    background-color: #f2f2f2; /* Light gray background */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the block */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: auto; /* Fixed width for the block */
    height: auto; /* Auto height to fit content */
    margin: 20px; /* Margin around the block */
    align-items: center; /* 垂直居中 */
}

#notificationCount {
    font-size: 0.75rem;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    line-height: 1.2;
}


/* #levelDropdownFilterButton{
    font-weight: bold;
    background-color: #cee3f6;
    font-size: large;
} */



.inactive-warning {
    color: #cc0000; /* Dark red text */
    padding: 10px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 2px;
    margin-left: 5px;
    margin-right: 5px;
}




.user-info-box {
    background-color: #ffffff;
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: medium;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(69, 44, 44);
}
.user-info-box strong {
    width: 140px;
    display: block;
    color: #3f51b5;
    margin-bottom: 5px;
    margin-right: 30px;
    text-align: right;
    flex-shrink: 0;
    
}

.user-info-box .detail_label,
.user-info-box input,
.user-info-box select {
    flex: 1 1 0%;
    display: block;
    font-weight: bold;
    color: #333;
    border: none;
    background-color: #eef3f7 !important;
    border-radius: 6px !important;
    box-sizing: border-box;
    height: 36px;
    padding: 8px 12px;
    outline: none;
    font-size: 16px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
}



.user-info-box #detail_start,
.user-info-box #detail_end {
    width: 45%;
    height: 36px;
    font-weight: bold;
    background-color: #eef3f7 !important;
    color: #333;
    font-size: 16x;
    cursor: pointer;
}

