/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&family=Poppins:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&family=Poppins:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Lobster&family=Poppins:wght@200;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

 

/* LAYOUT
================================================== */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}
body{    
    background-color: #fafafa;
}
a{
    text-decoration: none;
    font-size: 0.9rem;
    color: #000;
}
p{
    font-size: 0.9rem;
    line-height: 1.5;
}
.container{
    padding: 0 100px;
}
.container-fluid{
    padding: 0 20px;
}

@media only screen and (max-width: 992px) {
    .container{
        padding: 0 20px!important;
    }
}


/* Button Style */
.btn{
    outline: none;
    padding: 10px 25px;
    font-size: 0.9rem;
    color: white;
    border: none;
    border-radius: 5px;
    background: linear-gradient(to right, rgb(243, 62, 62), rgb(59, 114, 218));
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover{
   background: linear-gradient(to right, rgb(59, 114, 218), rgb(243, 62, 62));
}


/* header
================================================== */
header.header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 90px;
    background-color: #3E4095;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
    z-index: 999999999;
}
header.header .container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header.header .left-sde{
    display: flex;
    align-items: center;
}
.togggg{
    display: none;
}
header.header .profile{
    position: relative;
}
header.header .profile a{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    border-radius: 50%;
}
header.header .profile i{
    font-size: 1.3rem;
}
header.header .left-sde i{
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
    display: none;
}
header.header nav img{
    height: 55px;
}
header.header nav ul{
    position: fixed;
    left: 0;
    top: 90px;
    width: 270px;
    height: 100vh;
    overflow-y: auto;
    display: block;
    background-color: #fff;
    transition: 0.3s;
    padding-bottom: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
    z-index: 999999999;
}
header.header nav ul i{
    font-size: 1.2rem;
    color: #666;
    margin-right: 10px;
    transition: 0.3s;
}
header.header nav ul li{
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    transition: 0.3s;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(204, 204, 204, 0.308);
    border-left: 5px solid transparent;
}
header.header nav ul li:hover{
    padding-left: 25px;
}
header.header nav ul li:hover,
header.header nav ul li:hover i,
header.header nav ul li.active,
header.header nav ul li.active i{
    color: #3E4095;       
}
header.header nav ul li.active{
    border-left: 5px solid #3E4095; 
}

@media only screen and (max-width: 992px) {
    .header.header nav ul{
        left: -10000px;
    }
    .header.header nav ul.activeNav{
        left: 0;
        transition: 0.3s;
    }
    .togggg{
        display: block;
    }
    .header.header .left-sde #openTo{
        display: block;
        font-size: 1.7rem;
        color: #fff;
    }
    .header.header .left-sde #closeTo{
        display: none;
        font-size: 1.7rem;
        color: #fff;
    }
}
@media only screen and (max-width: 768px){   
    header.header nav img{
        height: 50px;
    }
}
@media only screen and (max-width: 578px){    
    .header.header nav ul{
        width: 75%;
    }
    .header.header .left-sde{
        justify-content: space-between;
        width: 100%;
    }
    header.header .profile{
        display: none;
    }
}




/* db-inner
================================================== */
.db-inner{
    margin-top: 90px;
    margin-left: 270px;
    padding: 40px 0 80px 0;
}
.db-inner .content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
}
.db-inner .content .cont-inner{
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    border-top: 2px solid #666;
    border-radius: 4px;
}
.db-inner .content .cont-inner p{
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: "Lato", sans-serif;
}
.db-inner .content .cont-inner h2{
    font-size: 1.3rem;
    font-family: "Lato", sans-serif;
}
.db-inner .content .cont-inner .icon{
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #666;
}
.db-inner .content .cont-inner .icon i{
    font-size: 1.5rem;
    color: #fff;
}

/* history list */

.db-inner .history{
    margin-top: 50px;
}
.db-inner .history h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.db-inner .list-col-items{
    background-color: #fff;
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1.5fr;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    gap: 0 10px;
}
.no-data{
    background-color: #fff;
    padding: 15px;
    text-align: center;
}
.db-inner .list-col:last-child .list-col-items{
    border-bottom: none;
}
.db-inner .list-col-items.top{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #3E4095;
    color: #fff;
    border-bottom: none;
}
.db-inner .list-col-items strong{
    font-size: 0.85rem;
}
.db-inner .flex-list{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.db-inner .flex-list .remove{
    display: none;
}
.db-inner .flex-list p{
    font-size: 0.8rem;
}
.rejected, 
.pending,
.approved{
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}
.rejected{
    background-color: rgba(255, 18, 65, 0.2);
    color: #DC143C;
}
.pending{
    background-color: hsla(45, 100%, 50%, 0.2);
    color: #FFC107;
}
.approved{
    background-color: rgba(49, 211, 9, 0.2);
    color: #32CD32;
}
@media only screen and (max-width: 992px){
    .db-inner{
        margin-left: 0;
    }
    .db-inner .content{
        grid-template-columns: repeat(2, 1fr);
    }
    .db-inner .list-col-items{
        grid-template-columns: subgrid;
        border-bottom: none;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
        margin-bottom: 30px;
        padding: 0;
        border-radius: 5px;
    }
    .db-inner .flex-list{
        border-bottom: 1px solid #ccc;
        padding: 15px;
    }
    .db-inner .flex-list:last-child{
        border-bottom: none;
    }
    .db-inner .list-col-items.top{
        display: none;
    }
    .db-inner .flex-list .remove{
        display: block;
    }
}

@media only screen and (max-width: 768px){
    .db-inner .content{
        grid-template-columns: subgrid;
    }
}

/* products */
.products-sec{
    margin: 50px 0;
}
.products-sec .to-tp{
    display: flex;
    align-items: center;
    background-color: #3E4095;
    color: #fff;
    padding: 15px 25px;
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}
.products-sec .to-tp img{
    height: 40px;
    margin-right: 10px;
}
.products select{
    display: block;
    width: 200px;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 5px;
    outline: none;
    background-color: transparent;
}
.flex-prod{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.flex-prod .product-inner{
    position: relative;
    padding: 25px;
    background-color: #01011d;
    color: #fff;
    border-radius: 20px;
    transition: 0.3s;
    overflow: hidden;
}
.flex-prod .product-inner::before{
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    height: 150%;
    width: 15px;
    background-color: rgba(59, 115, 218, 0.623);
    transform: rotate(15deg);
    z-index: 2;
}
.flex-prod .product-inner::after{
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    height: 150%;
    width: 15px;
    background-color: rgba(243, 62, 62, 0.692);
    transform: rotate(5deg);
    z-index: 1;
}
.flex-prod .product-inner:hover{
    transform: translateY(-10px);
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}
.flex-prod .product-inner .upp{
    display: flex;
    align-items: center;
}
.flex-prod .product-inner .upp img{
    height: 30px;
    margin-right: 10px;
}
.flex-prod .product-inner p{
    margin-top: 20px;
}
.flex-prod .product-inner p span{
    font-weight: 500;
    margin-left: 10px;
}
.flex-prod .product-inner button{
    display: inline-block;
    margin-top: 15px;
}

@media only screen and (max-width: 768px) {
    .flex-prod{
        grid-template-columns: subgrid;
    }
}

/* footer
================================================== */
footer{
    margin-left: 270px;
    background-color: #222222;
    color: #fff;
    padding: 40px 0;
}

@media only screen and (max-width: 992px){
    footer{
        margin-left: 0;
    }
}