/*=========================================================
    VBlink HR Consultants
    MOBILE SIDE DRAWER
=========================================================*/


/*=========================================================
    DRAWER OVERLAY
=========================================================*/

.side-drawer-overlay {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(15, 23, 42, 0.48);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 99990;

}


/*=========================================================
    OVERLAY OPEN
=========================================================*/

.side-drawer-overlay.is-open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/*=========================================================
    SIDE DRAWER
=========================================================*/

.side-drawer {

    position: fixed;

    top: 0;
    left: 0;

    width: 360px;

    max-width: 88vw;

    height: 100vh;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    box-shadow:
        15px 0 40px
        rgba(15, 23, 42, 0.20);

    transform:
        translateX(-105%);

    visibility: hidden;

    pointer-events: none;

    transition:
        transform 0.38s
        cubic-bezier(.4, 0, .2, 1);

    z-index: 100000;

    overflow: hidden;

}


/*=========================================================
    DRAWER OPEN
=========================================================*/

.side-drawer.is-open {

    transform:
        translateX(0);

    visibility:
        visible;

    pointer-events:
        auto;

}


/*=========================================================
    DRAWER HEADER
=========================================================*/

.side-drawer-header {

    flex-shrink: 0;

    min-height: 92px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding:
        10px 14px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f8ff 100%
        );

    border-bottom:
        2px solid
        #2f54eb;

}


/*=========================================================
    DRAWER BRAND
=========================================================*/

.drawer-brand {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

}


/*=========================================================
    DRAWER LOGO
=========================================================*/

.drawer-logo {

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 5px 18px
        rgba(47, 84, 235, 0.16);

    overflow: hidden;

}


.drawer-logo img {

    width: 48px;

    height: 48px;

    display: block;

    object-fit: contain;

}


/*=========================================================
    DRAWER BRAND TEXT
=========================================================*/

.drawer-brand-text {

    min-width: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.drawer-company-name {

    display: block;

    color: #2f54eb;

    font-family: "Inter", sans-serif;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;

}


.drawer-company-tagline {

    display: block;

    margin-top: 4px;

    color: #64748b;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 500;

    line-height: 1.3;

    white-space: nowrap;

}


/*=========================================================
    CLOSE BUTTON
=========================================================*/

.drawer-close {

    position: relative;

    flex-shrink: 0;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        2px solid
        #2f54eb;

    border-radius: 14px;

    background: #f5f8ff;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


/*=========================================================
    CLOSE ICON
=========================================================*/

.drawer-close span {

    position: absolute;

    width: 25px;

    height: 3px;

    border-radius: 5px;

    background: #2f54eb;

}


.drawer-close span:first-child {

    transform:
        rotate(45deg);

}


.drawer-close span:last-child {

    transform:
        rotate(-45deg);

}


/*=========================================================
    CLOSE BUTTON HOVER
=========================================================*/

.drawer-close:hover {

    background: #2f54eb;

    transform:
        rotate(5deg);

    box-shadow:
        0 8px 20px
        rgba(47, 84, 235, 0.25);

}


.drawer-close:hover span {

    background: #ffffff;

}


/*=========================================================
    DRAWER NAVIGATION
=========================================================*/

.drawer-navigation {

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 12px;

    padding:
        28px 20px;

    overflow-y: auto;

    overflow-x: hidden;

}


/*=========================================================
    NAVIGATION SCROLLBAR
=========================================================*/

.drawer-navigation::-webkit-scrollbar {

    width: 5px;

}


.drawer-navigation::-webkit-scrollbar-track {

    background: transparent;

}


.drawer-navigation::-webkit-scrollbar-thumb {

    background:
        rgba(47, 84, 235, 0.25);

    border-radius: 10px;

}


/*=========================================================
    DRAWER MENU ITEM
=========================================================*/

.drawer-nav-item {

    position: relative;

    min-height: 48px;

    display: flex;

    align-items: center;

    padding:
        0 20px;

    border:
        1px solid
        #d4e0ff;

    border-radius: 12px;

    background:
        #f0f4ff;

    color: #172033;

    font-family:
        "Inter",
        sans-serif;

    font-size: 17px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


/*=========================================================
    MENU ITEM HOVER
=========================================================*/

.drawer-nav-item:hover {

    background:
        #e3ebff;

    color:
        #2f54eb;

    border-color:
        #b9caff;

    transform:
        translateX(4px);

    box-shadow:
        0 5px 15px
        rgba(47, 84, 235, 0.08);

}


/*=========================================================
    ACTIVE MENU ITEM
=========================================================*/

.drawer-nav-item.active {

    background:
        #dce7ff;

    color:
        #2549a8;

    border-color:
        #b8caff;

}


.drawer-nav-item.active::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;

    height: 100%;

    border-radius:
        12px 0 0 12px;

    background:
        #2f54eb;

}


/*=========================================================
    DRAWER FOOTER
=========================================================*/

.side-drawer-footer {

    flex-shrink: 0;

    padding:
        20px 18px 24px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f5f8ff,
            #edf2ff
        );

    border-top:
        1px solid
        #d9e3ff;

}


/*=========================================================
    FOOTER FIRST LINE
=========================================================*/

.drawer-footer-line {

    display: block;

    color:
        #64748b;

    font-family:
        "Inter",
        sans-serif;

    font-size:
        13px;

    font-weight:
        500;

    line-height:
        1.5;

}


/*=========================================================
    FOOTER COMPANY NAME
=========================================================*/

.drawer-footer-company {

    display: block;

    margin-top:
        4px;

    color:
        #2f54eb;

    font-family:
        "Inter",
        sans-serif;

    font-size:
        15px;

    font-weight:
        800;

    line-height:
        1.5;

}


/*=========================================================
    BODY LOCK
=========================================================*/

body.side-drawer-open {

    overflow: hidden;

}


/*=========================================================
    HIDE SIDE DRAWER ON DESKTOP
=========================================================*/

@media (min-width: 1025px) {

    .side-drawer,
    .side-drawer-overlay {

        display: none !important;

    }

}


/*=========================================================
    TABLET
=========================================================*/

@media (max-width: 1024px) {

    .side-drawer {

        width: 360px;

        max-width: 88vw;

    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media (max-width: 600px) {

    .side-drawer {

        width: 340px;

        max-width: 90vw;

    }


    .side-drawer-header {

        min-height: 82px;

        padding:
            9px 12px;

    }


    .drawer-logo {

        width: 52px;

        height: 52px;

    }


    .drawer-logo img {

        width: 43px;

        height: 43px;

    }


    .drawer-company-name {

        font-size:
            15px;

    }


    .drawer-company-tagline {

        font-size:
            9px;

    }


    .drawer-close {

        width: 48px;

        height: 48px;

        border-radius:
            13px;

    }


    .drawer-navigation {

        gap:
            10px;

        padding:
            24px 16px;

    }


    .drawer-nav-item {

        min-height:
            36px;

        padding:
            0 18px;

        font-size:
            16px;

    }

}


/*=========================================================
    VERY SMALL MOBILE
=========================================================*/

@media (max-width: 380px) {

    .side-drawer {

        width:
            310px;

        max-width:
            92vw;

    }


    .drawer-company-name {

        font-size:
            14px;

    }


    .drawer-company-tagline {

        font-size:
            8px;

    }

}