/* [102311Tuan]  create sidebar for template list  */
:root {
    --border-radius: 6px;
    --secondary-color: #f7f8fd;
}

hr {
    width: 100%;
}

.user-select--none {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.sidebar-templatelist {
    background-color: #fefefe;
    height: 100vh;
    padding: 32px 8px;
    font-family: "Inter";
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    box-sizing: border-box;
}

.sidebar-templatelist p {
    color: rgba(22, 24, 35, .5);
    line-height: 21px;
    font-size: 16px;
}

/* scroll container css */
.sidebar__scroll-container {
    /* overflow-y: auto; */
    /* flex: 6; */
    flex: auto;
}

/* [112307TIN] makeup */
.sidebar__scroll-container a {
	text-decoration: none;
	color: #333;
}

.sidebar__scroll-container .nav-link {
    padding: 8px;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.2rem;
    font-family: Inter;
    display: flex;
    align-items: center;
}

.sidebar__scroll-container .nav-link i {
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
}

.sidebar__scroll-container .nav-link nav {
    margin-left: 16px;
    font-size: 1rem;
}

.sidebar__scroll-container .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-link--active {
    color: #005b96 !important;
}


/* .button css */

.sidebar__login {
    /* flex-grow: 2; */
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* .sidebar__login hr{
    margin: 10px 0px;
} */

.sidebar-templatelist .button {
    border-radius: var(--border-radius);
    border: solid 1.5px #0d2752;
    padding: 8px 0px;
    min-height: 40px;
    width: 100%;
    background-color: transparent;
    color: #0d2752;
    font-size: 18px;
    cursor: pointer;
    font-family: "Inter";
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sidebar-templatelist .button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-templatelist .button i {
    display: none;
}

/* footer css */

/* .footer{
    flex-grow: 2;
} */
.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.footer__link {

    color: #0d2752;
    font-size: 18px;
    text-decoration: underline;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer__link a {
    color: #0d2752;
    font-size: 14px;
}

.footer__link:hover {
    text-decoration: underline;
}

@media (max-width: 930px) and (orientation: portrait) {

    .sidebar__scroll-container .nav-link nav,
    .sidebar-templatelist .button span,
    .sidebar-templatelist p {
        display: none;
    }

    .sidebar-templatelist .button i {
        display: block;
    }

    .sidebar-templatelist .button {
        min-height: 30px;
    }

    .sidebar__footer div {
        font-size: 12px;
    }

    .sidebar-templatelist .button {
        border-width: 1px;
    }
}

@media (max-width: 767px) {

    .sidebar__scroll-container .nav-link nav,
    .sidebar-templatelist .button span,
    .sidebar-templatelist p {
        display: none;
    }

    .sidebar-templatelist .button i {
        display: block;
    }

    .sidebar-templatelist .button {
        border-width: 1px;
    }
}