html {
    height: 100%;
}
body {
    margin: 0px;
    height: 100%;
}
.header {
    background-color: white;
    color: black;
    padding: 10px;
    display: flex;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid lightgray;
}
.footer {
    background-color: white;
    color: black;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid lightgray;
    width: 100%;
}

/* Style for the logo image */
.logo {
    width: 35px;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Style for the menu */
.menu {
    list-style: none;
    display: flex;
}

/* Style for menu items */
.menu li {
    margin-right: 15px;
}

/* Style for logout button */
.logout-button {
    background-color: gray;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}
p {
    margin: 0px;
}
.txtHeader {
    font-size: 15px;
    font-weight: bold;
}
.txtFooter {
    margin: 10px;
    font-size: 13px;
}
.mainSection{
    display: flex;
    width: 100%;
    height: fit-content;
    min-height: 100%;
}
.divCategory {
    width: 150px;
    background-color: lightgray;
}
.divContens {
    width: 100%;
    height: fit-content;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
}
.divDisplayDate{
    display: flex;
    align-items: center;
    margin-top: 50px;
}
.divTopSection {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}
.divSearch{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
}
.divCSV{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 20%;
}
.txtSearchTitle{
    font-size: 13px;
    margin-right: 5px;
    font-weight: bold;
}
.txtSearch {
    font-size: 13px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 2px;
    width: 60%;
    margin: 0px 10px;
}
.btnSearch {
    background-color: black;
    border-radius: 3px;
    color: white;
    font-size: 13px;
    padding: 8px 20px;
    border: 0px;
    margin-left: 5px;
}
.btnCSVDownload {
    background-color: black;
    border-radius: 3px;
    color: white;
    font-size: 13px;
    padding: 8px 20px;
    border: 0px;
    margin-left: 5px;
}
.divContentsTitle {
    display: flex;
    align-items: center;
}
.txtContentsTitle {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}
.userListTable {
    margin-top: 30px;
    width: 100%;
    border: 1px solid black;
}
.divListCol {
    width: 100%;
    background-color: black;
    display: flex;
}
.divListData {
    width: 100%;
    height:fit-content;
    /* overflow: scroll; */
}
.divCehck {
    width: 10%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    border-bottom: 1px solid gray;
}
.divName {
    width: 15%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divMail {
    width: 25%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divWorkPlace {
    width: 30%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divWorkCount {
    width: 15%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divLeaveCount {
    width: 15%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.txtListTitle {
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    padding: 10px 1px;
}
.txtListData {
    font-size: 15px;
    padding: 10px 1px;
    text-align: center;
}
.divListDataInner {
    padding: 3px 0px;
    display: flex; 
    width: 90%;
    border: 0px;
    border-bottom: 1px solid gray;
    background-color: white;
}
.divSelectAllUser {
    width: 100%;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    background-color: black;
    border: 0px;
    color: white;
}
/* modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    /* align-items: center; */
}
.modal-content {
    background-color: #f4f4f4;
    width: 90%;
    height: fit-content;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
    animation-name: modalopen;
    animation-duration: 1s;
    margin-top: 30px;
    margin-bottom: 30px;
}
.modal-header {
    background: black;
    padding: 3px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-body {
    padding: 10px 10px;
    background-color: white;
}
.modalClose{
    font-size: 20px;
    color: white;
}
.modal-contents {
    width: 100%;
    align-items: center;   
    justify-content: flex-start; 
    margin: 10px 0px 10px 0px;
}
.user-detail-info {
    width: 100%;
}
.user-detail-info-inner {
    display: flex;
    margin-top: 10px;
}
.user-detail-info-label {
    font-weight: bold;
}
.user-detail-info-value {
    margin-left: 10px;
}
.divWorkDate {
    width: 30%;
    text-align: center;
}
.divWorkStartTime {
    width: 15%;
    text-align: center;
}
.divWorkDate {
    width: 15%;
    text-align: center;
}
.divWorkDate {
    width: 20%;
    text-align: center;
}
.divWorkDate {
    width: 20%;
    text-align: center;
}
.divModalData {
    display: flex; 
    border-bottom: 1px solid gray;
}
.divDateSelector {
    display:flex; 
    width: 100%; 
    margin-top: 10px; 
    justify-content: center; 
    align-items: center;
}
.btnDateSelect {
    background-color: black;
    border-radius: 3px;
    color: white;
    font-size: 13px;
    padding: 10px;
    border: 0px;
    margin-left: 5px;
}
.txtDateSelect {
    font-size: 15px;
    font-weight: bold;
}
.selDateSelect {
    font-size: 13px;
    padding: 10px;
    margin: 0px 5px 0px 5px;
}
.loader {
    position: absolute;
    border: 7px solid #f3f3f3; /* Light grey */
    border-top: 7px solid gray; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    z-index: 500;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.paging {
    width: 100%; 
    display: none; 
    justify-content: center; 
    align-items: center; 
    margin-top: 10px;
}
.pPaging{
    padding: 5px; 
    font-size: 13px;
}
.headerInner {
    width: 33.3%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divDate {
    width: 9%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divWorkStartTime {
    width: 13%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divWorkEndTime {
    width: 13%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divWorkType {
    width: 10%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divDetailWorkPlace {
    width: 20%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divDetailWorkEndPlace {
    width: 20%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.divWorkTimeEditButton {
    width: 15%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.btnWorkTimeEdit {
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 25px;
    background-color: black;
    border: 0px solid black;
    color: white;
}
.workIimeModalContent {
    background-color: #f4f4f4;
    width: 60%;
    max-width: 700px;
    height: fit-content;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
    animation-name: modalopen;
    animation-duration: 1s;
    margin-top: 30px;
    margin-bottom: 30px;
}

.editWorkTimeLine {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.pEditWorkTimeLabel {
    width: 30%;
    text-align: end;
    padding-right: 10px;
}
.pEditWorkValue {
    width: 60%;
    text-align: left;
    padding: 5px;
}