/* =========================================================
   LOGIN DROPDOWN
========================================================= */

.login-dropdown {
    position: relative;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {
    height: 40px;
    min-width: 120px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    background: #0d5ab5;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
    background: #192F60;
}

    .login-btn:hover,
    .login-btn:focus,
    .login-btn:active {
        background: #192F60 !important;
        border-color: #192F60 !important;
        color: #fff !important;
        text-decoration: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .login-btn .fa-sign-in {
        font-size: 15px;
    }

.login-text {
    display: inline;
}

.login-chevron {
    margin-left: 2px;
    font-size: 10px;
    transition: transform .2s ease;
}

.login-dropdown.show .login-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.login-menu {
    width: 410px;
    padding: 5px 0;
    margin-top: 8px !important;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .13), 0 2px 5px rgba(0, 0, 0, .06);
    overflow: hidden;
}


    /* =========================================================
   DROPDOWN ITEM
========================================================= */

    .login-menu .login-item {
        min-height: 82px;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        background: #fff;
        color: #172033;
        white-space: normal;
        text-decoration: none !important;
        border-bottom: 1px solid #e5e5e5;
        transition: background .18s ease;
    }

    .login-menu li:last-child .login-item {
        border-bottom: 0;
    }

    .login-menu .login-item:hover,
    .login-menu .login-item:focus,
    .login-menu .login-item:active {
        background: #f7f9fc;
        color: #172033;
        text-decoration: none !important;
        outline: none;
    }


/* =========================================================
   LOGIN ICON
========================================================= */

.login-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 19px;
}

.applicant-icon {
    background: #e5edf9;
    color: #2361b2;
}

.pmc-icon {
    background: #e6f2ec;
    color: #1d8152;
}

.crm-icon {
    background: #eeeaf8;
    color: #5940ae;
}

.admin-icon {
    background: #f9eee0;
    color: #d4771b;
}

.guest-icon {
    background: #e5f3f4;
    color: #278a9a;
}

.investor-icon {
    background: #e8eef7;
    color: #294f8b;
}


/* =========================================================
   LOGIN CONTENT
========================================================= */

.login-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: 8px;
}

.login-title {
    display: block;
    margin-bottom: 2px;
    color: #172033;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.login-description {
    display: block;
    color: #3f4650;
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
}


/* =========================================================
   RIGHT ARROW
========================================================= */

.login-arrow {
    width: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #30343b;
    font-size: 12px;
    transition: transform .18s ease;
}

.login-item:hover .login-arrow {
    transform: translateX(2px);
}


/* =========================================================
   TABLET / MOBILE
   <= 991px
========================================================= */

@media (max-width: 1199px) {

    .login-btn {
        background: #192F60;
    }

    .login-btn:hover,
    .login-btn:focus,
    .login-btn:active {
        background: #192F60 !important;
        border-color: #192F60 !important;
        color: #fff !important;
    }
    /* Header: Logo -> Hamburger -> Login */
    .nav__data {
        display: flex;
        align-items: center;
    }

    .nav__logo {
        margin-right: auto;
    }

    .nav__toggle {
        order: 2;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-dropdown {
        order: 3;
        margin-left: 10px;
        display: flex;
        align-items: center;
    }

    /* Icon-only Login */
    .login-btn {
        width: 50px;
        min-width: 50px;
        height: 42px;
        padding: 0;
        gap: 0;
        border-radius: 7px;
    }

    .login-text,
    .login-chevron {
        display: none;
    }

    .login-btn .fa-sign-in {
        margin: 0;
        font-size: 19px;
    }

    /* Dropdown */
    .login-menu {
        width: 390px;
        max-width: calc(100vw - 20px);
    }

        .login-menu .login-item {
            min-height: 78px;
            padding: 9px 12px;
        }

    .login-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 12px;
        font-size: 17px;
    }

    .login-title {
        font-size: 14px;
        line-height: 18px;
    }

    .login-description {
        font-size: 12px;
        line-height: 17px;
    }

    .login-arrow {
        width: 20px;
        min-width: 20px;
        font-size: 11px;
    }
}


/* =========================================================
   SMALL MOBILE
   <= 576px
========================================================= */

@media (max-width: 576px) {

    .login-dropdown {
        margin-left: 8px;
    }

    .login-btn {
        width: 46px;
        min-width: 46px;
        height: 40px;
    }

        .login-btn .fa-sign-in {
            font-size: 18px;
        }

    .login-menu {
        width: calc(100vw - 20px);
        max-width: 390px;
        right: -5px !important;
    }

        .login-menu .login-item {
            min-height: 76px;
        }
}
