@import '../core/base.css';

.body {
    /* background-color: var(--body-background-color); */
    background-color: #FFF;
}

.layout-center-screen {
      display: flex;
      align-items: center;
      justify-content: center;   
      height: 100vh; 
      width:100%;
}

#layout-loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    height: 3px;

    background-color: var(--background-color); ; /* Loader bar color */
    z-index: 9999;
    transition: background-color 0.3s ease; 
    display: none;
}
.layout-loading-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0px;

    background-color: var(--loader-background-color); /* Loader bar color */
    transition: width 0.3s ease; /* Smooth transition animation */
    
}
.layout-witness {
    background-color: black;
}
#layout-wrapper {
    position: fixed;
    top:0px;
    bottom:0px;
    left:0px;
    right: 0px;
    /* background-color: var(--body-background-color); */
    /* background-color: #FFF; */
}

#layout-content {
    position: absolute;
    top:50px;
    bottom:0px;
    right: 0px;
    /* background-color: #CCC; */
    border-radius:20px 20px 0px 0px;
    background-color: var(--body-background-color);
    transition: 0.3s;
    /* border: 1px dashed orange; */
}

.layout-router-view {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    overflow-y: auto;
    background-color: var(--routerview-background-color);
    padding:0px 10% 10px 10%;
    border-radius:20px 20px 0px 0px;

}
#layout-toolbar--top {
    position: fixed;
    top:0px;
    height:50px;
    left:0px;
    right: 0px;
    z-index: 1;
    background-color: var(--toolbar-background-color);

}
#layout-drawer {
    position: fixed;
    top:0px;
    bottom:0px;
    width: var(--drawer-width);

    z-index:10;
    overflow-x: hidden;
    transition: 0.3s;
    background-color: var(--drawer-background-color);

}
#layout-drawer-header {
    position: absolute;
    top:0px;
    height:50px;
    left:0px;
    right: 0px;
    background-color: var(--drawer-background-color--header);

}
.layout-logo-wrapper {
    width:var(--drawer-width);
    height:100%;
    display:flex;
}
.layout-hamburger {
    width:50px;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.layout-hamburger img {
    width:24px;
    height:24px;
    cursor: pointer;

    z-index:1;
}

.layout-hamburger .background-circle {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--hamburger-background-color--hover);
    transition: width 0.3s, height 0.3s;
    z-index:0;
}

.layout-hamburger:hover .background-circle {
    width: 42px;
    height: 42px;
}

.layout-logo {
    width:130px;
    height:100%;

    display:flex;
    align-items: center;
    justify-content: flex-start;
    /* padding-left:20px; */
    /* border:1px dashed red; */
    /* justify-content: center; */
}
.layout-logo img {
    left:6px;
    position: relative;
}

.layout-search-wrapper {
    position:absolute;
    top:0px;
    left:var(--drawer-width);
    right:var(--profile-width);
    height:100%;

    display:flex;
    align-items: center;
    justify-content: center;

}

.layout-user-fullname { 
    display:block;
    font-size:12px;color:#111;font-weight:500; 
}

.layout-profile-wrapper {
    position:absolute;
    top:0px;
    width:var(--profile-width);
    right:0px;
    height:100%;

    display:flex;
    align-items: center;
    justify-content: flex-end;

}

.layout-profile-wrapper > div {
    margin-right: 10px;
}

#layout-drawer-menu {
    position: absolute;
    top:50px;
    bottom:0px;
    left:0px;
    right: 0px;

    /* background-color: var(--drawer-background-color); */
    background-color: #FFF;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0px 0px 20px 0px;
}


.h2-header {
    display:flex;
    align-items: center;
    width:96%;
    margin:auto;
    height:30px;
    margin:0;
    background-repeat:no-repeat;
    background-size:24px 24px;
}




.h2-payslip {
    width:32px;
    height:32px;
    border-radius:50%;
    background-color: #FFBF6D; /* #007bff; */
    
}


/* 
#layout-drawer {
    position: fixed;
    height: 100%;
    width: 0;
    left: 0;
    top: 0;
    padding-top: 60px;
    z-index: 2;

    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;

} */



.layout-overlay {
    z-index:1;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:rgba(0,0,0,0.5);
    cursor: pointer;
}

.layout-card {
    background-color:#FFF;
    margin-top:20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius:20px;
    padding:20px;
}

.layout-card-title {
    font-weight:500;
    color: #000;
    margin-bottom: 8px;
}
.layout-card-line-info {
    margin-bottom:6px;
    padding-bottom:6px;
    border-bottom:1px solid #EFEFEF;
}

.layout-card-with-loader {
    background-color:#FFF;
    margin-top:20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius:20px;
    padding:20px;
    position: relative;
    overflow: hidden;
}

.layout-progress-bar {
    display: none;
    position: fixed;
    top:0px;
    left:0px;
    right:0px;

    height:4px;
    background-color: #f3f3f3;
    overflow: hidden;

}

.layout-progress-bar-motion {
    height: 20px;
    background-color: #591399;
    width: 100%;
    position: absolute;
    top: 0;
    left: -100%;
    animation: progress 1s infinite linear;
}

@keyframes progress {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

.layout-text-icon {
    padding-left:25px;
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 20px 20px;
}

.text-success {
    background-image: url('../../assets/pics/checkmark-green-24.svg');
}

.text-warning {
    background-image: url('../../assets/pics/error-red-24.svg');
}

.text-error {
    background-image: url('../../assets/pics/error-red-24.svg');
}

.text-yes {
    background-image: url('../../assets/pics/checkmark-green-24.svg');
    background-position: 0px 0px !important;
}

.text-no {
    background-image: url('../../assets/pics/close-24.svg');
    background-position: 0px 0px !important;
}

.layout-columns {
    display:flex;
    align-items:space-between;
    flex-wrap: wrap;
}

.layout-page-title {

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.layout-back-button {
    font-weight:500;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;   
    background-image: url('../../assets/pics/back-24.svg'); 
    cursor: pointer;
    width: 28px;
    height:28px;
    background-color: rgba(100,100,100,0.1);
    opacity: 0.8;
    border-radius:50%;
    transition: background-color 0.3s, opacity 0.3s;

    margin-right:8px;
}

.layout-back-button:hover {
    background-color: #DBDBDB;
    opacity: 1;
}
.layout-back-button a {
    font-weight:500;
    color:#333;
    text-decoration:none;
}
.layout-back-button a:hover {
    text-decoration:underline;
}

.layout-h2-text {
    font-size:14px;
    font-weight:500;
    color:#000;
    display:flex;
    align-items:center;
}



.layout-change-section-button {
    font-weight:500;
    padding-left:25px;
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 20px 20px;   
    background-image: url('../../assets/pics/arrow-north-west.svg'); 
    cursor: pointer;
}
.layout-change-section-button a {
    font-weight:500;
    color:#333;
    text-decoration:none;
}
.layout-change-section-button a:hover {
    text-decoration:underline;
}

.layout-refresh-button {
    font-weight:500;
    padding-left:25px;
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 20px 20px;   
    background-image: url('../../assets/pics/refresh-24.svg'); 
    cursor: pointer;
}
.layout-refresh-button a {
    font-weight:500;
    color:#333;
    text-decoration:none;
}
.layout-refresh-button a:hover {
    text-decoration:underline;
}

a.layout-link-button {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    font-weight:500;
    padding:10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;

}

a.layout-link-button:hover {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
    text-decoration: none;
}

 
button.layout-button {
  background-color: var(--button-background-color);
  color: var(--button-text-color);
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight:500;

}

button.layout-button:hover {
  background-color: var(--button-background-color--hover);
}

.layout-dot-before {
    /* padding-left: 20px; /* Adjust the padding as needed * /
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 100 100"><circle cx="50" cy="50" r="50" fill="#FF9900"/></svg>');
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: left; */

    padding-left:18px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" width="24px" height="24px" fill="black"><path d="M420-308q-8 0-14-5.5t-6-14.5v-304q0-9 6-14.5t14-5.5q2 0 14 6l145 145q5 5 7 10t2 11q0 6-2 11t-7 10L434-314q-3 3-6.5 4.5T420-308Z"/></svg>');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left center;
}
.text-guidelines {
    padding: 20px;
    background-color: rgba(246, 207, 29, 0.2);
    font-size:12px;
    color:#333;
    font-weight:500;
    margin-bottom:10px;
    border-radius: 5px;
}
/* 
<circle cx="50" cy="50" r="50"  fill="grey"/>
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#008000"><path d="M420-308q-8 0-14-5.5t-6-14.5v-304q0-9 6-14.5t14-5.5q2 0 14 6l145 145q5 5 7 10t2 11q0 6-2 11t-7 10L434-314q-3 3-6.5 4.5T420-308Z"/></svg> */
/* <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#008000"><path d="M420-308q-8 0-14-5.5t-6-14.5v-304q0-9 6-14.5t14-5.5q2 0 14 6l145 145q5 5 7 10t2 11q0 6-2 11t-7 10L434-314q-3 3-6.5 4.5T420-308Z"/></svg> */