@import url('../fonts/vazirmatn-fa-num/font-face.css');

:root {
    --color-app-bg-one: #f6f4ed;

    --app-color-primary: #47a592;
    --app-color-primary-dark: #128a72;
}

* {
    font-family: Vazirmatn !important;
}

body {
    background-color: var(--color-app-bg-one);
    max-width: 1200px;
    margin: auto;
    color: #555;
    padding: 0 1rem 1rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    margin-bottom: 1rem;
    border-radius: 1rem 1rem 0 0;
    background-color: var(--color-app-bg-one);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    width: 90%;
    margin: auto;
    margin-top: 4rem;
}

header .logo a {
    line-height: 0;
    text-decoration: none;
}

.logo img {
    width: 60px;
    border-radius: 50%;
    margin-left: 1rem;
    background-color: var(--app-color-primary);
}

header .header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--app-color-primary);
    font-size: 1.5rem;
    font-weight: 900;
    border: none;
    /* background-color: #fff; */
}

header .header-btn i {
    display: block;
    font-size: 1.7rem;
    font-weight: 900;
}

.layout-secondary header {
    padding: 1.2rem 2rem;
}

#container {
    display: block;
}

#container nav {
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    border-radius: 0.25rem;
    background-color: #fff;
    box-shadow: #0000003d 0px 3px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#container .nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

#container .nav-container .item a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    text-align: center;
    padding: 0.7rem;
    color: #777;
    background-color: #fff;
    border-radius: 0.25rem;
}

#container .nav-container a i {
    margin-left: 0.5rem;
    margin-top: -0.35rem;
}


#container .nav-container .item:hover a {
    background-color: #eee;
}

#container .nav-container .item.active a {
    color: #fff;
    background-color: var(--app-color-primary);
}

#container #content {
    width: 100%;
    background-color: transparent;
}
.dash-item {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.dash-item .image {
    width: 60%;
}
.dash-item img {
    width: 100%;
}
.dash-item p {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    width: 100%;
}
.card2 {
    border-radius: 1rem !important;
}

@media screen and (max-width: 992px) 
{
    body {
        padding: 0;
    }
    
    .layout-primary header {
        padding: 0.5rem 1rem;
        border-radius: 0;
    }

    .layout-secondary header {
        padding: 1.2rem 1rem;
        border-radius: 0;
    }

    /* #container {
        display: flex;
        justify-content: flex-start;
    }

    #container nav {
        box-shadow: none;
        min-height: calc(100vh - 90px);
        max-width: 95px;
        padding: 0;
        padding-right: 0.5rem;
        margin-bottom: 0;
        border-radius: 0;
        background-color: transparent;
    }

    #container .nav-container.sticky {
        display: block;
        position: sticky;
        top: 1rem;
    }*/
    
    
     #container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    #container nav {
        max-width: 95px;
        min-height: calc(100vh - 90px);
        padding: 0;
        padding-right: 0.5rem;
        margin-bottom: 0;
        margin-top: 2rem;
        background-color: transparent;
        box-shadow: none;
        position: sticky;
        top: 1rem;
        align-items: start;
    }

    #container .nav-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    #container .nav-container .item {
        margin-bottom: 0.5rem;
    } 

    #container #content {
        flex: 1;
        padding: 0 1.5rem 1rem 1rem;
        margin-top: 0;
    }
    #container #content img {
        margin-top: 3.6rem !important;
    }

    #container .nav-container a {
        flex-direction: column;
        min-width: initial;
        min-height: 70px;
        font-size: 0.7rem;
        padding: 0.5rem 0.75rem;
        border-radius: 0.25rem;
        background-color: #fff;
        box-shadow: #0000003d 0px 3px 8px;
    }
    #container .nav-container .logo a {
        
        background-color: transparent;
        box-shadow: none;
    }

    #container .nav-container a i {
        margin: 0 0 0.5rem;
        font-size: 1.1rem;
    }

    .last_item_in {
        display: block !important;
    }
    .last_item_out {
        display: none !important;
    }
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000aa;
    z-index: 14;
}

#sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -200%;
    z-index: 19;
    width: 360px;
    height: 100%;
    padding: 0.5rem;
    background-color: #fff;
    box-shadow: #0000003d 0px 3px 8px;
    transition: 0.5s;
}

#sidebar .stick-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: fit-content;
    padding: 0.5rem;
}

@media screen and (max-width: 576px) 
{ 
    #sidebar {
        width: 100%;
    }
}

#sidebar.visible {
    left: 0;
}

.bottom-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000099;
    opacity: 0.2s;
}

.bottom-panel .content {
    display: block;
    position: absolute;
    bottom: -200%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 576px;
    height: 45vh;
    background-color: #fff;
    padding: 0 1rem;
    overflow-y: auto;
    border-radius: 1.5rem 1.5rem 0 0;
    transition: 0.5s;
}

.bottom-panel.active {
    opacity: 1;
}

.bottom-panel.active .content {
    bottom: 0;
}


#install-prompt {
    display: block;
    position: fixed;
    left: 0;
    bottom: -200%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 21;
    transition: 0.5s;
}

#install-prompt.active {
    bottom: 0;
}

#install-prompt .wrapper {
    display: block;
    max-width: 420px;
    margin: 0 auto;
    padding: 1rem;
}

#install-prompt img {
    display: block;
    width: 70px;
    margin: 0 auto 1.5rem;
}

#install-prompt .title {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

#install-prompt hr {
    display: block;
    width: 100px;
    border: none;
    border-top: 5px solid #349819;
    margin: 1rem auto 2.5rem;
    opacity: 1;
}

#install-prompt .step {
    color: #555;
    text-align: justify;
    font-size: 1rem;
}

#install-prompt .step:not(:last-child) {
    margin-bottom: 1.5rem;
}

#install-prompt .step-mark {
    padding: 0 0.5rem;
    border-radius: 0.25rem;
    background-color: #349819;
    color: #fff;
    white-space: nowrap;
}

#install-prompt button {
    display: block;
    width: 100%;
    margin-top: 2.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: none;
    background-color: #349819;
    color: #fff;
}

.print-container {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #fff !important;
    overflow-y: auto !important;
    font-size: 90% !important;
}

.print-container .hide-in-print {
    display: none !important;
}