@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body {
    --background: #fafafa;
    --box: #fff;
    --heading: #000;
    --text: #888;

    background: var(--background);
    font-family: "Inter", sans-serif;
}

a {
    text-decoration: none;
}

ul {
    margin-bottom: 0;
}

.box {
    background: var(--box);
    padding: 20px;
    border-radius: 20px;
}

div:has(> nav) p {
    display: none;
}



/* ===== LOGIN PAGE ===== */

.login .wrap {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login .wrap .box {
    width: 30%;
    background: var(--box);
    padding: 20px;
    border-radius: 20px;
}

@media (max-width: 600px) {

    .login .wrap .box {
        width: 90%;
    }
}



/* ===== LAYOUT AUTH ===== */

.layout_auth .wrap {
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.topmenu {
    width: 100%;
    height: 60px;
    background: var(--box);
    padding: 0 8px;
    display: none;
}

.topmenu .bi {
    font-size: 20px;
    cursor: pointer;
}

.sidemenu {
    height: 100dvh;
    background: var(--box);
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: .5s ease;
}

.sidemenu .head {
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--background);
}

.sidemenu a{
    color: var(--heading);
    font-size: 16px;
    display: block;
}

.content {
    padding-bottom: 30px;
}

.content .title {
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9e9e9;
}

@media (max-width: 1024px) {

    .layout_auth .wrap {
        display: initial;
    }

    .topmenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sidemenu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        z-index: 10;
    }

    .sidemenu.show {
        left: 0;
    }
}



/* ===== DASHBOARD ===== */

.dashboard .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {

    .dashboard .grid {
        grid-template-columns: 1fr;
    }
}