:root {
    --primaryblue: #93DF13;
    --darkblue: #0C2017;
    --lightblue: #F3F6F3;
    --white: #ffffff;
    --textgrey: #5E6B63;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle, #0E1B14 48%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

.authwrapper {
    width: 100%;
    max-width: 1000px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(147,223,19,0.15);
    animation: authFadeIn 0.6s ease;
}

.authimagecol {
    flex: 1;
    background: linear-gradient(160deg, #10382A, #06120C);
    color: var(--white);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 280px;
}

.authimagecol .homenavlogo {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.authimagecol h2 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.authimagecol p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 24px;
}

.authimagecol img {
    width: 100%;
    border-radius: 16px;
    margin-top: auto;
}

.authformcol {
    flex: 1.2;
    padding: 50px 40px;
    min-width: 300px;
}

.authformcol h1 {
    color: var(--darkblue);
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.authformcol .authsubtext {
    color: var(--textgrey);
    margin-bottom: 28px;
}

.authformrow {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.authformgroup {
    flex: 1;
    min-width: 140px;
    margin-bottom: 18px;
}

.authformgroup label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--darkblue);
}

.authformgroup input,
.authformgroup select,
.authformgroup textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d6e2ff;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.authformgroup input:focus,
.authformgroup select:focus,
.authformgroup textarea:focus {
    outline: none;
    border-color: var(--primaryblue);
    box-shadow: 0 0 0 3px rgba(147,223,19,0.1);
}

.authpasswordwrap {
    position: relative;
}

.authpasswordwrap i {
    position: absolute;
    right: 14px;
    top: 14px;
    color: var(--textgrey);
    cursor: pointer;
}

.authsubmitbtn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #A9EE34, #93DF13);
    color: #0C2117;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
    margin-top: 6px;
}

.authsubmitbtn:hover,
.authsubmitbtn:focus,
.authsubmitbtn:focus-visible,
.authsubmitbtn:active,
.authsubmitbtn:disabled {
    background: linear-gradient(180deg, #B6F24A, #8AD10F);
    color: #0C2117;
}
.authsubmitbtn:hover { transform: translateY(-2px); }
.authsubmitbtn:focus-visible { outline: 3px solid rgba(227,197,126,.7); outline-offset: 2px; }
.authsubmitbtn:disabled { transform: none; }

/* logo (left panel + mobile) */
.authlogo { display: inline-block; text-decoration: none; line-height: 0; }
.authlogo img { display: block; width: auto; height: 46px; max-width: 200px; object-fit: contain; border-radius: 0; margin: 0; }
.authlogo-text { display: inline-block; font-size: 1.35rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E3C57E; line-height: 1.2; }
.authlogo-panel { margin-bottom: 30px; }
.authmobiletop { display: none; }

.authswitch {
    text-align: center;
    margin-top: 22px;
    color: var(--textgrey);
    font-size: 0.92rem;
}

.authswitch a {
    color: #147A41;
    text-decoration: none;
    font-weight: 600;
}

.authswitch a:hover {
    text-decoration: underline;
}

.authforgot {
    text-align: right;
    margin: -6px 0 18px;
}

.authforgot a {
    color: #147A41;
    font-size: 0.88rem;
    text-decoration: none;
}

.authforgot a:hover {
    text-decoration: underline;
}

.authkeyphrasebox {
    background: var(--lightblue);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: var(--darkblue);
    line-height: 1.6;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
    .authmobiletop { display: block; margin: -4px 0 22px; text-align: center; }
    .authlogo-mobile { margin-bottom: 14px; }
    .authlogo-mobile img { height: 40px; margin: 0 auto; }
    .authlogo-mobile .authlogo-text { color: var(--darkblue); }
    .authbanner { height: 130px; border-radius: 16px; background: #0A1812 center 22% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(198,160,82,.3); }
    .authimagecol {
        display: none;
    }
    .authwrapper {
        max-width: 480px;
    }
}


/* button spinner + disabled state */
.js-loading-form button[type="submit"] {
  position: relative;
  transition: opacity 160ms ease;
}
.js-loading-form button[type="submit"]:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}
.js-loading-form button[type="submit"] .btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(12, 33, 23, 0.3);
  border-top-color: #0C2117;
  border-radius: 50%;
  animation: btn-spin 700ms linear infinite;
  vertical-align: -2px;
  margin-right: 8px;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}