@import url('https:/jespetagenciesltd.co.ke/static/css/style.css');

:root{
    --sidebar-bg:#092342;
    --p1:1rem;

}
.auth-container{
    min-height: 100vh;
    padding: 2rem 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://jespetagenciesltd.co.ke/static/img/slider-1.jpeg'), radial-gradient(circle closest-corner at 70% 40%,var(--green),var(--white) 60%);
    background-color: var(--white);
    background-size: cover;
}
.auth-container .fancy-heading::before{
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
}
.auth-card{
    width: 400px;
    max-width: 100%;
    padding: 1.5rem;
    background-color: var(--blue);
    box-shadow: 0 0 10px #0001;
    border:1px solid #0002;
    border-radius: 0.5rem;
}
.auth-card input{
    background-color: var(--white);
    color: var(--dark);
}
.auth-card label{
    color: #fff !important;
    font-weight: 500 !important;
}
.auth-card p{
    color: #777;
    margin: 0.5rem 0 0;
}
.auth-title{
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--blue);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--blue);
    font-family: 'Pacifico', cursive;
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-underline-offset: 0.25rem;
}
.auth-card .helptext,.auth-card ul:not(.errorlist){
    /* height: 0; */
    /* width: 0; */
    /* display: none; */
}
.auth-card .errorlist{
    background-color: #e59da466;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    list-style: none;
    padding: 0.5rem 0.75rem;
}
.auth-card input,.dashboard-card input:not([type='checkbox']),.dashboard-card textarea,.dashboard-card select{
    width: 100%;
    padding: 0.25rem 0.5rem;
    outline:none;
    border-radius: 0.3rem;
    border:1px solid #0002;
}
.auth-card input{
    padding: 0.4rem 0.75rem;
}
.dashboard-card input[type='checkbox']{
    display: inline-block;
}
.dashboard-card input,.dashboard-card textarea,.dashboard-card select{
    margin-bottom: 0.5rem;
}
.auth-card input:focus,.dashboard-card input:focus,.dashboard-card textarea:focus,.dashboard-card select:focus{
    border-color: var(--blue);
}
.auth-card label,.dashboard-card label{
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 0;
}
.status-badge{
    text-transform: uppercase;
    background-color: #ddd;
    color: var(--sidebar-bg);
    padding: 0.05rem 0.35rem;
    font-size: 0.7rem;
    display:inline-block;
    border-radius: 0.2rem;
}
.messages ,.auth-card form ul{
    background-color: #fff2;
    color: #f7f7f7;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    list-style: none;
    border-radius: 0.25rem;
    font-weight: 300;
}
.auth-card form ul li{
    margin-bottom: 0.75rem;
}
.auth-card form ul{
    margin-top: 1rem;
    padding-bottom: 0.125rem;
}
.helptext{
    color: #f7f7f7;
    font-size: 0.8rem;
    font-weight: 300;
}
.dashboard-title{
    max-width: 400px !important;
}
.auth-card a{
    color: var(--yellow) !important;
}


/* Dashboard styles */
.text-sidebar-bg{
    color: var(--yellow);
}
.text-s-blue{
    color: var(--sidebar-bg);
}
.dashboard-container{
    width: 100vw;
    height: 100vh;
    background-color: var(--light);
    background-blend-mode: multiply;
    position: relative;
    background-image: url('../img/auth-1.svg');
    background-size: cover;
}
.dashboard-container *{
    position: relative;
}
.dashboard-container::before{
    content: '';
    height: 100%;
    width: 100%;
    background-color: #f1f1fb66;
    backdrop-filter: blur(100px);
    position: absolute;
    left: 0;
    top: 0;
}

.dashboard-l-sidebar{
    width: 250px;;
    background-color: #fff8;
    border-right: 1px solid #0002;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}
.sidebar-logo{
    border-bottom:1px solid #fff1;
    width: 100%;
    height: 60px;
    padding: 2rem;
    align-items: center;
}
.sidebar-logo .logo{
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    /* filter: brightness(0) invert(1); */
}
.sidebar-menu-list{
    position: relative;
    height: calc(100vh - 4rem);
}
.sidebar-menu-list li{
    padding: 0;
}
.sidebar-menu-list li a{
    padding: 0.5rem 2rem !important;
    display: block;
    width: 100%;
    color: var(--light);
    font-weight: 500;
    border-bottom: 1px solid #fff1;
}
.sidebar-menu-list li a svg{
    margin-right: 0.75rem;
    height: 1.2rem;
    width: 1.2rem;
    color: var(--light);
    opacity: 0.5;
}
.sidebar-menu-list li a.active,.sidebar-menu-list li a:hover{
    background-color: #fff2;
    color: var(--blue);
    opacity: 1;
}
.sidebar-menu-list li a.active svg,.sidebar-menu-list li a:hover svg{
    opacity: 1;
}
.sidebar-menu-1,.sidebar-menu-2{
    list-style: none;
    padding: 0;
}
.sidebar-menu-1{
    max-height: calc(100vh - 10rem);
    overflow: auto;
    padding-top: 2rem;
}
.sidebar-menu-1::-webkit-scrollbar{
    display: none;
}
.sidebar-menu-2{
    position: absolute;
    bottom: 0;
    left:0;
    width: 100%;
}
.sidebar-menu-2 li a{
    border-bottom: none;
}
.dashboard-table{
    max-height: calc(100vh - 200px);
    overflow: auto;
}

.toggle-button{
    outline: none;
    border: none;
    padding: 0;
    box-shadow: none;
    background: none;
}
.toggle-button .bar-1,.toggle-button .bar-2{
    display: block;
    height: 2px;
    background-color: var(--light);
}
.toggle-button .bar-1{
    width: 1rem;
}
.toggle-button .bar-2{
    width: 1.5rem;
    margin: 0.45rem 0;
}
.dashboard-content{
    width: calc(100vw - 250px);
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
}
.dashboard-content-top-bar{
    width: 100%;
    background-color: var(--dark);
    box-shadow: 0 0 10px #0002;
    /* padding: var(--p1); */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dashboard-content-inner{
    padding: 2.5rem;
    height: 100%;
    overflow: auto;
    overflow: hidden;
}
.dashboard-card{
    padding: 1.5rem 1.5rem 1rem;
    background-color: #fffd;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 15px #0002;
    border-radius: 1rem;
    position: relative;
    max-height: calc(100vh - 150px);
    overflow: auto;
}
.right-dashboard-sect .dashboard-card{
    max-height: calc(100vh - 150px);
    overflow: unset;
}
.blue-d-card{
    color: var(--white);
    overflow: hidden;
}
.blue-d-card .dc-heading{
    color: var(--white);
}
.blue-d-card::before {
    content: '';
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to right, var(--blue) 30%,var(--blue)), url('../img/blue-dc.jpg');
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    opacity: 0.95;
    position: absolute;
    left: 0;
    top: 0;
}
.dbc-top-img{
    height: 100%;
    padding: 1.5rem;
    aspect-ratio: 1/1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.dbc-top-img img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.dashboard-card-title{
    display: block;
    color: var(--light);
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ffffff33;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--blue);
    position: relative;
}
.dashboard-card-title::before{
    content: '';
    height: 2px;
    width: 4rem;
    background-color: var(--blue);
    position: absolute;
    left: 0;
    bottom: 0;
}
.dct-small{
    font-size: 1.125rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
.dashboard-card h1{
    font-size: 1.75rem;
}
.sidebar-close{
    display: none;
}
.badge{
    padding:.4rem .5em .35em !important;
    text-transform: uppercase;
}
.toggle-button{

}
.voting-row{
    display: flex;
    flex-wrap: wrap;
    gap:1rem;
}
.voting-row-item input{
    appearance: none;
    opacity: 0;
    height: 0;
    width: 0;
    display: none;
}
.voting-row-item label{
    display: block;
    background-color: #fff2;
    padding: 0.35rem 1rem 0.35rem 2.25rem;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid #fff4;
    border-radius: 0.5rem;
    font-weight: 500;
    position: relative;
}
.voting-row-item label::before{
    content: '';
    height: 5px;
    width: 5px;
    position: absolute;
    left: 1rem;
    aspect-ratio: 1/1 !important;
    top: 50%;
    background-color: transparent;
    border-radius: 0.125rem;
    transform: translateY(-50%);
    outline: 2px solid var(--light);
    outline-offset: 3px;
}
.voting-row-item input:checked + label{
    border: 1px solid var(--yellow);
    color: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
    color: var(--yellow) !important;
    background-color: #fff3;
}
.voting-row-item input:checked + label::before{
    background-color: var(--yellow);
    outline-color: var(--yellow);
}
.right-dashboard-sect{
    background-color: #fff8;
    border-left: 1px solid #0002;
    margin: -2.5rem -2.5rem -2.5rem 1rem;
    height: 100vh;
    padding: 2.5rem;
    /* backdrop-filter: blur(20px); */
}
.dc-heading{
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
}
.cd-value{
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: 500;
}
.user-profile-avatar{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    /* padding: 0.125rem; */
    margin-bottom: 1rem;
    background-image: linear-gradient(to right, var(--blue), var(--green));
    border: 2px solid transparent;
}
.user-profile-avatar img{
    height: 100%;
    background-color: var(--white);
    border: 2px solid transparent;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.dc-c-btn{
    width: 100%;
    max-width: 70px;
    max-height: 70px;
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
    color: var(--blue);
}
.dc-c-btn::before{
    content: '';
    inset: 0;
    border: 4px solid;
    border-left-color: var(--blue);
    border-top-color: var(--blue);
    border-bottom-color:#e1e1e1;
    border-right-color:#e1e1e1;
    position: absolute;
    transform: rotate(-45deg);
    border-radius: 50%;
}
.dashboard-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}
.dashboard-grid-card-1{
    grid-column: span 2;
}
.dashboard-grid-card-2{
    grid-row: span 2;
}
.dashboard-green{
    background-color: #cbf83a33;
    border: 1px solid var(--white);
    box-shadow: none;
}
.dashboard-blue{
    background-color: #224c8933;
    border: 1px solid var(--white);
    box-shadow: none;
}
.dashboard-transaction{
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dashboard-transaction svg{
    height: 8px;
    width: 8px;
}
.rotate-svg svg{
    transform: rotate(180deg);
}
.btn-plus-transaction{
    height: 2.5rem;
    width: 2.5rem;
    position: absolute;
    right: -1rem;
    border-radius: 50%;
    background-color: var(--blue);
    color: var(--white) !important;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-weight: 300;
}
.btn-plus-transaction:hover{
    transform: translateY(-50%) scale(1.05);
}
.recent-orders-row{
    border-bottom: 1px solid #09234211;
    padding: 0.5rem 0;
}
.transaction-icon{
    height: 2rem;
    width: 2rem;
    font-size: 1rem;
    color: var(--blue);
    background-color: #224c8922;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
}
@media screen and (max-width:999px) {
    .dashboard-l-sidebar{
        left: -100%;
        transition: 0.5s all ease;
        z-index: 100;
    }
    .dashboard-content{
        width: 100%;
        left: 0;
    }
    .dashboard-l-sidebar.toggle-sidebar{
        left: 0;
        transition: 0.5s all ease;
    }
    .sidebar-close{
        position: absolute;
        font-size: 1.75rem;
        display: block;

        color: var(--white);
        right: 0;
        background-color: #fff4;
        padding: 0.5rem 0.75rem;
        line-height: 0;
        height: 2.5rem;
        width: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        top:0;
        z-index: 101;
    }
}

@media screen and (max-width:767px) {
    
}