/* NX101_LOGIN_STYLES
   NX Seeds Dealer Portal Login
   GREEN brand panel LEFT / LIGHT login panel RIGHT.
*/

html,
body.nx-seeds-login-v100 {
    margin: 0;
    min-height: 100%;
}

body.nx-seeds-login-v100 {
    min-height: 100vh;
    overflow-x: hidden;
    background: #f5f7f1;
    color: #12271b;
}

body.nx-seeds-login-v100 #wrapwrap,
body.nx-seeds-login-v100 #wrapwrap > main {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent;
}

.nx100-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 58% 42%;
}

/* ---------------- GREEN BRAND PANEL ---------------- */

.nx100-brand {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 52px 72px 42px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 4%, rgba(132, 203, 71, 0.30), transparent 31%),
        radial-gradient(circle at 92% 82%, rgba(94, 171, 66, 0.18), transparent 25%),
        linear-gradient(145deg, #107844 0%, #08643a 46%, #04512e 100%);
}

.nx100-brand-grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(255,255,255,0.85) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.85) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.nx100-brand::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 610px;
    height: 245px;
    right: -165px;
    top: 95px;
    border-radius: 100% 0 100% 0;
    transform: rotate(-29deg);
    background: linear-gradient(
        135deg,
        rgba(13, 125, 56, 0.28),
        rgba(144, 219, 45, 0.70)
    );
    box-shadow:
        -72px 96px 0 -10px rgba(22, 133, 59, 0.34),
        -120px 195px 0 -22px rgba(130, 205, 57, 0.34);
    pointer-events: none;
}

.nx100-brand::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 480px;
    height: 145px;
    right: -105px;
    bottom: 73px;
    border-radius: 100% 0 100% 0;
    transform: rotate(-30deg);
    background: linear-gradient(
        135deg,
        rgba(160, 220, 47, 0.20),
        rgba(205, 236, 67, 0.68)
    );
    pointer-events: none;
}

.nx100-brand-glow {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.nx100-glow-one {
    width: 340px;
    height: 340px;
    right: -165px;
    bottom: -145px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 0 0 44px rgba(255,255,255,0.022),
        0 0 0 90px rgba(255,255,255,0.014);
}

.nx100-glow-two {
    width: 160px;
    height: 160px;
    top: -66px;
    right: 13%;
    background: rgba(222, 180, 49, 0.10);
}

.nx100-brand-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    height: calc(100vh - 94px);
    min-height: 645px;
    max-width: 790px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.nx100-logo-link {
    display: inline-flex;
    width: fit-content;
    padding: 12px 17px;
    border-radius: 17px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 14px 34px rgba(0, 37, 20, 0.15);
    text-decoration: none;
}

.nx100-logo {
    display: block;
    width: auto;
    max-width: 250px;
    max-height: 86px;
    object-fit: contain;
}

.nx100-copy {
    margin-top: auto;
    margin-bottom: auto;
    padding: 50px 0 32px;
}

.nx100-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #f1c94e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.nx100-kicker-line {
    width: 34px;
    height: 2px;
    border-radius: 99px;
    background: #f1c94e;
}

.nx100-copy h1 {
    position: relative;
    z-index: 5;
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: clamp(47px, 4.5vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.052em;
    font-weight: 850;
}

.nx100-copy h1 span {
    display: block;
    color: #9bdb35;
}

.nx100-copy > p {
    position: relative;
    z-index: 5;
    max-width: 615px;
    margin: 25px 0 0;
    color: rgba(255,255,255,0.83);
    font-size: 16px;
    line-height: 1.72;
}

.nx100-benefits {
    position: relative;
    z-index: 5;
    max-width: 690px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.nx100-benefit {
    min-height: 148px;
    padding: 19px;
    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 20px;
    background: rgba(255,255,255,0.075);
    box-shadow: 0 13px 34px rgba(0, 41, 22, 0.08);
    backdrop-filter: blur(8px);
}

.nx100-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(241, 201, 78, 0.15);
    color: #f1c94e;
    font-size: 15px;
}

.nx100-benefit strong,
.nx100-benefit small {
    display: block;
}

.nx100-benefit strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
}

.nx100-benefit small {
    color: rgba(255,255,255,0.69);
    font-size: 11px;
    line-height: 1.55;
}

.nx100-brand-footer {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.66);
    font-size: 11px;
    font-weight: 650;
}

.nx100-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #efc748;
    box-shadow: 0 0 0 5px rgba(239,199,72,0.10);
}

/* ---------------- LIGHT LOGIN PANEL ---------------- */

.nx100-access {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 46px 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 82% 10%, rgba(131,181,95,0.09), transparent 27%),
        linear-gradient(145deg, #fbfaf7 0%, #f2f6ee 100%);
}

.nx100-access-grid {
    display: none;
}

.nx100-access-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.nx100-access-orb-one {
    width: 240px;
    height: 240px;
    top: -98px;
    right: -70px;
    background: rgba(151,207,86,0.07);
}

.nx100-access-orb-two {
    width: 320px;
    height: 320px;
    left: -175px;
    bottom: -165px;
    border: 1px solid rgba(15,112,61,0.075);
    box-shadow:
        0 0 0 42px rgba(15,112,61,0.018),
        0 0 0 84px rgba(15,112,61,0.012);
}

.nx100-access-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 510px;
}

.nx100-top {
    margin-bottom: 22px;
}

.nx100-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #354b3e;
    text-decoration: none;
    font-size: 12px;
    font-weight: 780;
}

.nx100-back:hover {
    color: #0b6b3d;
    transform: translateX(-2px);
}

.nx100-card {
    width: 100%;
    padding: 44px 42px 36px;
    border: 1px solid #dde7dc;
    border-radius: 29px;
    background: rgba(255,255,255,0.98);
    box-shadow:
        0 29px 72px rgba(38,67,47,0.12),
        0 3px 11px rgba(38,67,47,0.05);
}

.nx100-card-head {
    margin-bottom: 30px;
}

.nx100-card-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #148047;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.nx100-card-head h2 {
    margin: 0;
    color: #143c27;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.038em;
    font-weight: 850;
}

.nx100-card-head p {
    margin: 11px 0 0;
    color: #7b857e;
    font-size: 13px;
    line-height: 1.6;
}

.nx100-login-form {
    margin: 0;
}

.nx100-field {
    margin-bottom: 20px;
}

.nx100-field label {
    display: block;
    margin: 0 0 8px;
    color: #31473a;
    font-size: 12px;
    font-weight: 800;
}

.nx100-password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nx100-reset {
    color: #147a45;
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
}

.nx100-reset:hover {
    color: #07582f;
}

.nx100-input-wrap {
    position: relative;
}

.nx100-input-wrap > .fa {
    position: absolute;
    z-index: 4;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #819188;
    font-size: 14px;
    pointer-events: none;
}

.nx100-input-wrap .form-control {
    width: 100%;
    min-height: 54px;
    padding: 12px 15px 12px 43px;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    background: #fbfdf9;
    color: #18281e;
    font-size: 13px;
    box-shadow: none;
}

.nx100-input-wrap .form-control:focus {
    border-color: #48a46d;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23,126,70,0.10);
}

.nx100-password-wrap .form-control {
    border-radius: 14px !important;
    padding-right: 48px;
}

.nx100-eye {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #627268 !important;
}

.nx100-eye:hover {
    color: #0b6b3d !important;
    background: #edf5ec !important;
}

.nx100-alert {
    margin: 0 0 17px;
    border: 0;
    border-radius: 12px;
    font-size: 12px;
}

.nx100-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid #0b6338;
    border-radius: 14px;
    background: linear-gradient(135deg, #118048 0%, #075b32 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 14px 30px rgba(9,96,52,0.22);
}

.nx100-submit:hover,
.nx100-submit:focus {
    border-color: #064a29;
    background: linear-gradient(135deg, #0e7442 0%, #064a29 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(9,96,52,0.28);
}

.nx100-help {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e9efea;
    color: #8a958d;
    font-size: 11px;
    text-align: center;
}

.nx100-help a {
    color: #0e7140;
    font-weight: 850;
    text-decoration: none;
}

.nx100-access-footer {
    margin-top: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #89958d;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.nx100-footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a8b3ab;
}

/* Native reset-password content remains branded. */
.nx100-form-wrap .oe_reset_password_form,
.nx100-form-wrap .oe_login_form {
    width: 100%;
    max-width: none;
    margin: 0;
}

.nx100-form-wrap .oe_reset_password_form label {
    color: #31473a;
    font-size: 12px;
    font-weight: 800;
}

.nx100-form-wrap .oe_reset_password_form .form-control {
    min-height: 52px;
    border: 1px solid #d6e1d6;
    border-radius: 14px;
    box-shadow: none;
}

.nx100-form-wrap .oe_reset_password_form .btn-primary {
    min-height: 52px;
    border-radius: 14px;
    background: #0c6b3b;
    border-color: #0c6b3b;
}

/* Defensive: never show alternative passkey/auth blocks in NX login. */
body.nx-seeds-login-v100 .o_login_auth,
body.nx-seeds-login-v100 [class*="passkey"],
body.nx-seeds-login-v100 [id*="passkey"] {
    display: none !important;
}

@media (max-width: 1100px) {
    .nx100-shell {
        grid-template-columns: 54% 46%;
    }

    .nx100-brand {
        padding: 44px 40px;
    }

    .nx100-access {
        padding: 40px 34px;
    }

    .nx100-copy h1 {
        font-size: 49px;
    }

    .nx100-benefits {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .nx100-benefit {
        min-height: 0;
        padding: 13px 15px;
        display: grid;
        grid-template-columns: 38px 1fr;
        column-gap: 12px;
        align-items: center;
    }

    .nx100-benefit-icon {
        margin: 0;
        grid-row: 1 / 3;
    }
}

@media (max-width: 820px) {
    .nx100-shell {
        display: block;
    }

    .nx100-brand {
        min-height: auto;
        padding: 26px 22px 34px;
    }

    .nx100-brand-inner {
        min-height: 0;
        height: auto;
    }

    .nx100-logo {
        max-width: 205px;
        max-height: 70px;
    }

    .nx100-copy {
        margin: 40px 0 0;
        padding: 0;
    }

    .nx100-copy h1 {
        font-size: 42px;
    }

    .nx100-benefits {
        display: none;
    }

    .nx100-brand-footer {
        margin-top: 28px;
    }

    .nx100-access {
        min-height: auto;
        padding: 40px 20px 52px;
    }

    .nx100-card {
        padding: 33px 27px 29px;
        border-radius: 24px;
    }
}

@media (max-width: 460px) {
    .nx100-brand {
        padding: 22px 17px 28px;
    }

    .nx100-logo {
        max-width: 180px;
        max-height: 62px;
    }

    .nx100-copy {
        margin-top: 31px;
    }

    .nx100-copy h1 {
        font-size: 35px;
    }

    .nx100-copy > p {
        font-size: 14px;
    }

    .nx100-access {
        padding: 31px 14px 42px;
    }

    .nx100-card {
        padding: 29px 20px 26px;
    }

    .nx100-card-head h2 {
        font-size: 31px;
    }
}
