:root {
    --dark: #0b3523;
    --green: #145638;
    --gold: #d9b746;
    --light: #eaf3ed;
    --text: #24342b;
    --muted: #77837b;
    --border: #e2e9e3;
    --page: #f5f8f5;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

a {
    color: var(--green);
}

/* Header */

.site-header {
    background: var(--dark);
    position: relative;
    z-index: 5;
}

.navbar {
    padding: 12px 0;
}

.navbar-brand {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.navbar-brand:hover {
    color: #fff;
}

.navbar-brand small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 500;
}

.site-logo {
    width: 46px;
    height: 46px;
    padding: 4px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--gold);
}

.register-link {
    border: 1px solid rgba(217, 183, 70, 0.75);
    border-radius: 8px;
    padding: 9px 14px !important;
}

/* Background */

.login-section {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
    min-height: calc(100vh - 135px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 20%, rgba(217,183,70,.10), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(20,86,56,.10), transparent 30%),
        var(--page);
}

.login-decoration {
    position: absolute;
    border: 1px solid rgba(20, 86, 56, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one {
    width: 390px;
    height: 390px;
    top: -180px;
    right: -80px;
}

.decoration-two {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.login-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: auto;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(11, 53, 35, 0.12);
}

/* Welcome panel */

.welcome-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 650px;
    height: 100%;
    padding: 55px 48px;
    color: #fff;
    background: linear-gradient(
        145deg,
        #0b3523,
        #145638 70%,
        #1c6842
    );
}

.welcome-panel::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -85px;
    top: -70px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    box-shadow:
        0 0 0 25px rgba(255,255,255,.025),
        0 0 0 50px rgba(255,255,255,.02);
}

.welcome-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 13px;
    color: var(--gold);
    background: rgba(217,183,70,.12);
    border: 1px solid rgba(217,183,70,.22);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
}

.welcome-panel h1 {
    margin: 28px 0 16px;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1.5px;
}

.welcome-panel h1 span {
    color: var(--gold);
}

.welcome-panel > p {
    max-width: 370px;
    color: rgba(255,255,255,.72);
    line-height: 1.9;
    font-size: 13px;
}

.welcome-features {
    display: grid;
    gap: 21px;
    margin-top: 35px;
}

.welcome-features > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.welcome-features > div > span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    color: var(--gold);
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    font-size: 19px;
}

.welcome-features p {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.welcome-features strong {
    font-size: 12px;
    font-weight: 600;
}

.welcome-features small {
    color: rgba(255,255,255,.58);
    font-size: 10px;
}

.welcome-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 19px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.65);
    font-size: 11px;
}

.welcome-bottom i {
    color: var(--gold);
    font-size: 18px;
}

/* Login form */

.login-card {
    padding: 48px 48px 35px;
}

.login-heading {
    margin-bottom: 29px;
}

.login-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 21px;
    color: var(--green);
    background: var(--light);
    border-radius: 15px;
    font-size: 24px;
}

.login-kicker {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -.7px;
}

.login-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.form-label {
    margin-bottom: 8px;
    color: #34483b;
    font-size: 12px;
    font-weight: 600;
}

.input-wrap {
    position: relative;
}

.input-wrap > i:first-child {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #849187;
    font-size: 16px;
}

.input-wrap .form-control {
    min-height: 49px;
    padding: 12px 43px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 12px;
}

.input-wrap .form-control::placeholder {
    color: #a0aaa2;
}

.input-wrap .form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(20,86,56,.10);
}

.password-wrap .form-control {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #7d8980;
    background: transparent;
    border: 0;
    font-size: 17px;
}

.toggle-password:hover {
    color: var(--green);
}

.forgot-link {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--dark);
    text-decoration: underline;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 17px 0 24px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #657269;
    cursor: pointer;
    font-size: 11px;
}

.remember-option input {
    width: 15px;
    height: 15px;
    accent-color: var(--green);
}

/* Buttons */

.login-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 49px;
    padding: 12px 17px;
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.login-btn:hover,
.login-btn:focus {
    color: #fff;
    background: var(--dark);
    border-color: var(--dark);
}

.login-btn i {
    font-size: 17px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 24px 0 18px;
    color: #9aa49c;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #edf0ed;
}

.create-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    width: 100%;
    border: 1px solid #dce6de;
    border-radius: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
}

.create-account-btn:hover {
    color: var(--dark);
    background: #f5faf6;
    border-color: var(--green);
}

.login-terms {
    margin: 23px 0 0;
    color: #929d94;
    font-size: 10px;
    line-height: 1.9;
    text-align: center;
}

.login-terms a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
}

.login-terms a:hover {
    text-decoration: underline;
}

/* Mobile logo */

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--dark);
}

.mobile-brand img {
    width: 43px;
    height: 43px;
    padding: 3px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 50%;
}

.mobile-brand strong,
.mobile-brand small {
    display: block;
}

.mobile-brand strong {
    font-size: 14px;
}

.mobile-brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

/* Footer */

.site-footer {
    padding: 19px 0;
    background: var(--dark);
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

.site-footer i {
    color: var(--gold);
}

/* Tablet */

@media (max-width: 991.98px) {
    .login-section {
        min-height: calc(100vh - 125px);
        padding: 38px 0;
    }

    .login-wrapper {
        max-width: 540px;
    }

    .login-card {
        padding: 38px;
    }
}

/* Mobile */

@media (max-width: 575.98px) {
    .navbar {
        padding: 9px 0;
    }

    .site-logo {
        width: 40px;
        height: 40px;
    }

    .navbar-brand {
        font-size: 15px;
    }

    .login-section {
        padding: 22px 0;
        min-height: auto;
    }

    .login-wrapper {
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(11,53,35,.09);
    }

    .login-card {
        padding: 25px 21px 23px;
    }

    .login-heading {
        margin-bottom: 23px;
    }

    .login-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 17px;
        font-size: 21px;
    }

    .login-heading h2 {
        font-size: 25px;
    }

    .login-heading p {
        font-size: 11px;
    }

    .login-options {
        margin: 15px 0 21px;
    }

    .site-footer {
        text-align: center;
    }
}