@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200&display=swap'); 
*
{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    font-size: 14px;
    text-decoration: none;
    list-style: none;
    user-select: none;
}

body
{
    background:  linear-gradient(-30deg, #33ccff,#81d5ff ,#ffccff,#81d5ff);  
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}

body::-webkit-scrollbar {
  display: none;
}

body::before
{
    content: '';
    position: absolute; 
    left: 8%;
    bottom: 2%;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.5); 
    animation: zigzag2 3s linear infinite;
}

@keyframes zigzag2
{
    0%,100%
    {
        transform: translateX(50px);
       
    }

    50%
    {
        transform: translateX(100px) scale(.8); 
        
    }
}

body::after
{
    content: '';
    position: absolute; 
    left: 93%;
    top: 12%;
    z-index: -1;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.5); 
    animation: zigzag 3s linear infinite;
}

@keyframes zigzag
{
    0%,100%
    {
        transform: translateY(50px);
       
    }

    50%
    {
        transform: translateY(100px) scale(.8); 
        
    }
}

.mobile-menu, .humberger{
    display: none;
}

.my-container
{
    width: 95%; 
    height: 90vh;
    border-radius: 10px;
    background: rgba(255,255,255,.4);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.my-container::-webkit-scrollbar {
  display: none;
}

.my-container .navbar
{
    display: flex;
    justify-content: space-between;
    align-items: center;  
    padding: 8px 25px;
    margin-top: 1em;
}

.my-container .navbar .logo
{
    display: flex;  
    align-items: center;
}

.my-container .navbar .logo img
{
    animation: rotate 8s linear infinite;
}

@keyframes rotate
{
    from
    {
        transform: rotate(-360deg);
    }
}

.my-container .navbar .logo .logoname
{
    font-size: 18px;
    text-transform: uppercase;
    margin-left: .5em;
    color: #000;
    text-shadow: 1px 1px 1px rgba(16,16,16,.1),
                     1px 2px 1px rgba(16,16,16,.2),
                     1px 3px 1px rgba(16,16,16,.1),
                     1px 4px 1px rgba(16,16,16,.2)
}

.my-container .navbar .navitem
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.navitem .account
{
    position: relative;
    display: flex;
    align-items: center;
}

.navitem .account img
{
    border-radius: 50%;
}

.navitem .account .name
{
    text-transform: capitalize;
    margin: 0 8px;
    font-weight: 700;
}

.navitem .account .username
{
    position: absolute;
    top: 18px;
    left: 32px;
    font-size: 12px; 
    color: #000;    
}
    

.container-body
{
    display: grid;
    grid-template-columns: 15% auto; 
}

.container-body .sidebar
{  
    margin: 20px 0 20px 20px;
    background: rgba(255,255,255,.6);
    border-radius: 14px;
    padding: 10px;
}

.container-body .sidebar ul a{
    color: #000;
    font-weight: bolder;
}

.container-body .sidebar ul a li
{
    padding: 10px 10px;
    margin: 10px 0;   
}

.container-body .sidebar ul a li:hover
{
    background: #00004d;
    color: #fff;
    border-radius: 8px;  
}

.container-body .sidebar ul a li span
{
    text-transform: capitalize;
}

.container-body .sidebar ul a li:hover span
{
    color: #fff;
}

.container-body .sidebar ul a li .fa
{
    color: #000;
    font-size: 18px; 
    padding: 0 5px;
}

.container-body .main-body .headtittle
{   
    padding: 15px;
    margin: 20px;
    margin-bottom: 0; 
}

.container-body .main-body .headtittle span
{
    text-transform: capitalize;
    font-weight: 700;
    font-size: 16px;
}

.container-body .main-body .headtittle  h2
{
    font-size: 25px; 
    font-weight: normal; 
}

.container-body .main-body .cards
{
    display: grid;
    grid-template-rows:  180px 140px;
    grid-gap: 20px;
    padding: 20px;
}

.container-body .main-body .cards .row-1
{
    display: grid;
    grid-template-columns:  repeat(3,auto);
    grid-gap: 20px;
}

.container-body .main-body .cards .row-2
{
    display: grid;
    grid-template-columns: repeat(4,auto);
    grid-gap: 20px;
}

.container-body .main-body .cards .row .col
{
    background: rgba(255,255,255,.5);
    border-radius: 15px; 
}

.container-body .main-body .cards .row .col .cardtittle
{
    font-size: 16px;
    padding: 20px;
    text-transform: capitalize;
}

.balance-card
{
    position: relative;
}

.balance-card h2
{
    font-size: 28px;
    padding: 10px 20px;
}
 

.balance-card span
{
    font-size: 16px;
    font-weight: bold;
    padding: 20px;
    color: #33cc33;
}

.balance-card .img
{
    position: absolute;
    top: 2em;
    left: 5em;
    font-size: 40px;
}

.col .t-i, .p-i, .u-i, .i-s
{
    font-size: 25px;
    font-weight: 700;
    padding: 20px 5px 20px 20px;
}
.tables{
    padding: 0px 20px;
}

.table-card{
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    margin: 10px 0px 20px 0px;
    padding: 10px 10px;
    width: 100%;
    overflow-x: auto;
}

.add-new-btn{
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: #00004d;
    padding: 5px 12px;
    margin: 10px 0px;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    background-color: transparent;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    border-top: none;
    text-align: left;
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.dialog-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

.dialog{
    width: 25%;
    background: #fff;
    border-radius: 10px;
    padding: 20px 10px;
    margin-top: 50px;
    position: absolute;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

.emp-dialog{
    width: 60%;
}

.dialog span{
    position: absolute;
    top: 15px;
    right: 20px;
}

.dialog p{
    font-size: 18px;
    font-weight: 600;
}

.form-group label{
    text-align: left;
}

.employee-salary-details{
    background: none;
    border: 1px solid gray;
    outline: none;
    margin: 5px 10px 5px 0px;
    padding: 0px 5px;
    font-size: 16px;
}

.login-container{
    margin-top: 100px;
    width: 25%;
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
}

.not-active{
    display: none;
    margin-left: 10px;
}

.active{
    display: block;
}

@media (max-width: 768px){
    body::before
    {
        left: 5%;
        bottom: 10%;
        width: 50px;
        height: 50px;
    }

    body::after
    {
        left: 80%;
        top: 8%;
        width: 50px;
        height: 50px;
    }

    .mobile-menu{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 30px 20px 20px 20px;
        border-radius: 0 0 10px 10px;
        display: none;
    }

    .humberger{
        position: absolute;
        top: 5px;
        right: 15px;
        display: block;
    }

    .humberger i{
        font-size: 25px;
        color: #666;
    }

    .mobile-menu ul a{
        color: #000;
        font-weight: bold;
    }

    .mobile-menu ul a li{
        margin: 5px 0px;
        padding: 10px 10px;
    }

    .mobile-menu ul a li:hover{
        background: #00004d;
        color: #fff;
        border-radius: 8px;
    }

    .mobile-menu ul a li span{
        text-transform: capitalize;
    }

    .mobile-menu ul a li:hover span{
        color: #fff;
    }

    .mobile-menu ul a li .fa{
        font-size: 18px; 
        padding: 0 5px;
    }

    .login-container{
        width: 80%;
    }

    .logoname, .sidebar{
        display: none;
    }

    .balance-card .img{
        top: 4.5em;
        left: 3em;
        font-size: 30px;
    }

    .container-body{
        display: block;
    }

    .dialog{
        width: 90%;
    }

    .active{
        display: block;
    }
}