/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;

    background: #ffffff;

    color: #172033;

    min-height: 100vh;

}


/* =====================================================
   COLORS
===================================================== */

:root {

    --navy: #10234d;

    --navy-dark: #0d1d40;

    --gold: #d7a12d;

    --gold-dark: #c39125;

    --text: #18202e;

    --muted: #737987;

    --border: #d8d8d8;

    --white: #ffffff;

}


/* =====================================================
   NAVIGATION
===================================================== */

.navbar {

    width: 100%;

    height: 96px;

    background: var(--navy);

    border-bottom: 1px solid
        rgba(255,255,255,0.12);

    position: relative;

    z-index: 1000;

}


.nav-container {

    width: 100%;

    max-width: 1380px;

    height: 100%;

    margin: 0 auto;

    padding: 0 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =====================================================
   LOGO IMAGE
===================================================== */

.logo {

    display: flex;

    align-items: center;

    text-decoration: none;

    height: 60px;

}


/*
   The generated logo is a horizontal image
   containing the shield + Verified Check text.
*/

.logo-image {

    display: block;

    width: 190px;

    height: auto;

    max-height: 58px;

    object-fit: contain;

}


/* =====================================================
   NAVIGATION MENU
===================================================== */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 32px;
}


.nav-menu a:not(.get-started) {

    position: relative;

    display: inline-block;

    text-decoration: none;

    color: #e4e8f1;

    font-size: 15px;

    font-weight: 500;

    padding: 8px 0;

    background-image: linear-gradient(
        to right,
        var(--gold),
        var(--gold)
    );

    background-repeat: no-repeat;

    background-position: left bottom;

    background-size: 0% 2px;

    transition:
        color 0.2s ease,
        background-size 0.25s ease-in-out;
}


.nav-menu a:not(.get-started):hover {

    color: #ffffff;

    background-size: 100% 2px;

}


/* =====================================================
   GET STARTED
===================================================== */

.get-started {

    background: var(--gold);

    color: #ffffff !important;

    padding: 14px 27px;

    border-radius: 4px;

    font-weight: 600 !important;

    margin-left: 3px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.get-started:hover {

    background: var(--gold-dark);

    transform: translateY(-1px);

}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.mobile-menu-btn {

    display: none;

    background: transparent;

    border: none;

    color: #ffffff;

    font-size: 24px;

    cursor: pointer;

}


/* =====================================================
   MAIN AREA
===================================================== */

.main-content {

    min-height: calc(100vh - 96px);

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding-top: 45px;

    padding-bottom: 25px;

}

.login-wrapper {

    width: 100%;

    max-width: 500px;

    margin: 0 auto;

}


/* =====================================================
   LOGIN CARD
===================================================== */

.login-card {

    width: 100%;

    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    border: 1px solid #d9d9d9;

    box-shadow:
        0 7px 18px rgba(0,0,0,0.08),
        0 2px 5px rgba(0,0,0,0.04);

}


/* =====================================================
   LOGIN HEADER
===================================================== */

.login-header {

    height: 160px;

    background: var(--navy);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.header-icon {

    width: 54px;

    height: 54px;

    border-radius: 50%;

    background: #31466f;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

}


.header-icon i {

    color: var(--gold);

    font-size: 22px;

}


.login-header h1 {

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 700;

    margin-bottom: 7px;

}


.login-header p {

    color: #aeb8cd;

    font-size: 15px;

}


/* =====================================================
   LOGIN BODY
===================================================== */

.login-body {

    padding: 25px 36px 22px;

}


/* =====================================================
   FORM
===================================================== */

.form-group {

    margin-bottom: 18px;

}


.form-group label {

    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #16191f;

    margin-bottom: 9px;

    letter-spacing: 0.15px;

}


.form-group input {

    width: 100%;

    height: 52px;

    border: 1px solid var(--border);

    border-radius: 4px;

    padding: 0 17px;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.form-group input::placeholder {

    color: #969696;

}


.form-group input:focus {

    border-color: var(--navy);

    box-shadow:
        0 0 0 3px rgba(16,35,77,0.08);

}


/* =====================================================
   PASSWORD
===================================================== */

.password-wrapper {

    position: relative;

}


.password-wrapper input {

    padding-right: 50px;

}


.password-toggle {

    position: absolute;

    top: 0;

    right: 0;

    height: 52px;

    width: 50px;

    border: none;

    background: transparent;

    cursor: pointer;

    color: #777;

    font-size: 17px;

}


.password-toggle:hover {

    color: var(--navy);

}


/* =====================================================
   ERROR
===================================================== */

.error-message {

    color: #c0392b;

    font-size: 12px;

    margin-top: 5px;

}


.input-error {

    border-color: #c0392b !important;

}


/* =====================================================
   FORGOT PASSWORD
===================================================== */

.forgot-container {

    display: flex;

    justify-content: flex-end;

    margin-top: -10px;

    margin-bottom: 27px;

}


.forgot-password {

    text-decoration: none;

    color: #252933;

    font-size: 13px;

    font-weight: 500;

}


.forgot-password:hover {

    text-decoration: underline;

}


/* =====================================================
   SIGN IN BUTTON
===================================================== */

.sign-in-btn {

    width: 100%;

    height: 50px;

    background: var(--navy);

    border: none;

    border-radius: 4px;

    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition:
        background 0.2s ease,
        transform 0.15s ease;

}



.sign-in-btn:hover {

    background: var(--navy-dark);

}


.sign-in-btn:active {

    transform: scale(0.99);

}


.sign-in-btn i {

    font-size: 15px;

}


/* =====================================================
   CREATE ACCOUNT
===================================================== */

.create-account {

    text-align: center;

    margin-top: 20px;

    font-size: 13px;

    color: #888888;

}


.create-account a {

    color: #1a202b;

    font-weight: 700;

    text-decoration: none;

    margin-left: 3px;

}


.create-account a:hover {

    text-decoration: underline;

}


/* =====================================================
   SECURITY
===================================================== */

.security-text {

    text-align: center;

    margin-top: 16px;

    color: #898989;

    font-size: 13px;

}


.security-text i {

    font-size: 11px;

    margin-right: 5px;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .nav-menu {

        gap: 22px;

    }

    .nav-container {

        padding: 0 25px;

    }

}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 850px) {

    .nav-menu {

        display: none;

        position: absolute;

        top: 96px;

        left: 0;

        width: 100%;

        background: var(--navy);

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 25px 25px;

        box-shadow:
            0 10px 20px rgba(0,0,0,0.15);

    }


    .nav-menu.active {

        display: flex;

    }


    .nav-menu a {

        padding: 15px 5px;

    }


    .get-started {

        text-align: center;

        margin-top: 8px;

    }


    .mobile-menu-btn {

        display: block;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .navbar {

        height: 76px;

    }


    .nav-menu {

        top: 76px;

    }


    .nav-container {

        padding: 0 18px;

    }


    .logo-image {

        width: 170px;

        max-height: 52px;

    }


    .main-content {

        min-height: calc(100vh - 76px);

        padding: 45px 15px 40px;

    }


    .login-wrapper {

        max-width: 100%;

    }


    .login-header {

        height: 170px;

    }


    .login-body {

        padding: 28px 22px 27px;

    }


    .login-header h1 {

        font-size: 23px;

    }


    .login-header p {

        font-size: 14px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .login-body {

        padding-left: 18px;

        padding-right: 18px;

    }


    .logo-image {

        width: 155px;

    }

}

