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;
    height: auto;
    background-color: lightgray;
}
.divContens {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 50px;
}
.divCategoryDashboard {
    background-color: black;
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.txtCategory {
    color: white;
    font-size: 13px;
    font-weight: bold;
}
.divCategoryList {
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divCategoryTitle {
    font-size: 13px;
    border-width: 0px;
    background-color: lightgray;
}
.divSearch{
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.txtSearchTitle{
    font-size: 13px;
    margin-right: 5px;
    font-weight: bold;
}
.txtSearch {
    width: 70%;
    font-size: 13px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 2px;
}
.btnSearch {
    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;
    /* height: 380px;
    overflow: scroll; */
}
.divName {
    width: 25%;
    text-align: center;
}
.divNewLeave {
    width: 15%;
    text-align: center;
}
.divUsedLeave {
    width: 15%;
    text-align: center;
}
.divRemainedLeave {
    width: 15%;
    text-align: center;
}
.divCarriedLeave {
    width: 15%;
    text-align: center;
}
.divDeleteLeave {
    width: 15%;
    text-align: center;
}
.txtListTitle {
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    padding: 10px 0px;
}
.divDisplayDate{
    display: flex;
    align-items: center;
    margin-top: 50px;
}
.txtListData {
    font-size: 15px;
    padding: 7px 0px;
    text-align: center;
}
.txtSanko {
    font-size: 13px;
}
.divListDataInner {
    padding: 3px 0px;
    display: none; 
    width: 100%;
    border: 0px;
    border-bottom: 1px solid gray;
    background-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;
    align-items: center;
}
.user-detail-info-label {
    font-weight: bold;
}
.user-detail-info-value {
    margin-left: 10px;
}
.divWorkStartTime {
    width: 15%;
    text-align: center;
}
.divModalData {
    display: flex; 
    border-bottom: 1px solid gray;
    align-items: center;
}
.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;
}
.divLeaveType {
    width: 10%;
    text-align: center;
}
.divLeaveDate {
    width: 20%;
    text-align: center;
}
.divWorkReplaceDate {
    width: 20%;
    text-align: center;
}
.divDeleteButton {
    width: 10%;
    text-align: center;
}
.divWorkSanko {
    width: 40%;
    text-align: center;
    padding-top: 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;
}

.leave-info-modal-content{
    background-color: #f4f4f4;
    width: 80%;
    max-width: 1000px;
    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: 50px;
    margin-bottom: 30px;
}

.divLeaveInfoModalLabel {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: black;
    border: 1px solid black;
}

.divLeaveInfoModalValue {
    width: 100%;
}
.pLeaveModalLabel {
    color: white;
    text-align: center;
    width: 15%;
}
.divleaveInfoDataLine {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: 1px solid black;
}
.divLeaveModalvalue {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 15%;
    border-right: 1px solid black;
}
.txtLeaveModalValue {
    width: 100%;
    padding: 5px;
    margin: 5px;
    text-align: center;
}
.divEditLeaveInfoButton{
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnEditLeaveInfoButton {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: black;
    color: white;
    border: 0px solid black;
}