/* ============================================================
   StakersChoice — Login redesign (Betwins-style auth page)
   Additive layer loaded AFTER assets/css/style.css
   Brand: navy #07143d / #0B1322, red #E81F3E, gold #FFC107
   ============================================================ */

.stc-auth-body {
    background: radial-gradient(1200px 600px at 85% -10%, #0d1f47 0%, #07143d 45%, #050d26 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
}

.stc-auth {
    width: 100%;
    padding: 40px 0;
}

.stc-auth__row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: center;
}

.stc-auth__form-col,
.stc-auth__thumb-col {
    flex: 1 1 420px;
}

/* ---- form column ---- */
.stc-auth__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8fa2c4;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color .2s ease;
}
.stc-auth__back:hover { color: #E81F3E; }
.stc-auth__back i { font-size: 14px; }

.stc-auth__content { margin-top: 40px; }
.stc-auth__content h2 {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 8px;
}
.stc-auth__content p {
    color: #8fa2c4;
    font-size: 16px;
    margin: 0;
}

/* ---- form ---- */
.stc-auth__form { margin-top: 34px; }

.stc-input { margin-top: 24px; }
.stc-input label {
    display: block;
    color: #c6d2ea;
    font-family: "Chakra Petch", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}
.stc-input__box {
    position: relative;
    display: block;
}
.stc-input__box input {
    width: 100%;
    height: 56px;
    padding: 0 46px 0 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.stc-input__box input::placeholder { color: #5c6f92; }
.stc-input__box select {
    width: 100%;
    height: 56px;
    padding: 0 46px 0 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.stc-input__box select:focus {
    border-color: #E81F3E;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 3px rgba(232, 31, 62, .18);
}
.stc-input__box select option { color: #111827; background: #fff; }

.stc-input__box input:focus {
    border-color: #E81F3E;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 3px rgba(232, 31, 62, .18);
}
.stc-input__box > i {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #7d90b5;
    font-size: 15px;
    pointer-events: none;
}
.stc-input__box > i.stc-eye {
    cursor: pointer;
    pointer-events: auto;
}
.stc-input__box > i.stc-eye:hover { color: #E81F3E; }

.stc-forget {
    text-align: right;
    margin: 16px 0 0;
}
.stc-forget a {
    color: #8fa2c4;
    font-size: 14px;
    text-decoration: none;
}
.stc-forget a:hover { color: #E81F3E; }

.stc-register {
    margin: 20px 0 0;
    color: #8fa2c4;
    font-size: 15px;
}
.stc-register a {
    color: #E81F3E;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    text-decoration: none;
}
.stc-register a:hover { color: #ff4d6a; }

.stc-submit { margin-top: 36px; }
.stc-submit button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #E81F3E 0%, #c01430 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 34px;
    height: 56px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 10px 30px rgba(232, 31, 62, .35);
}
.stc-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(232, 31, 62, .45);
}
.stc-submit button i { font-size: 18px; }

/* ---- image column ---- */
.stc-auth__thumb-col {
    display: flex;
    justify-content: center;
}
.stc-auth__thumb {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stc-auth__thumb-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    z-index: 1;
}
.stc-auth__thumb-circle img {
    width: 100%;
    animation: stc-spin 26s linear infinite;
}
.stc-auth__thumb-main {
    position: relative;
    z-index: 2;
    width: 86%;
}
.stc-auth__thumb-main img {
    width: 100%;
    display: block;
}
.stc-auth__thumb-numbers {
    position: absolute;
    bottom: 6%;
    right: 4%;
    z-index: 3;
    width: 34%;
}
.stc-auth__thumb-numbers img {
    width: 100%;
    display: block;
}
@keyframes stc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- success / helpers ---- */
.stc-auth__email {
    color: #FFC107;
    font-weight: 600;
}
.stc-success {
    margin-top: 34px;
    padding: 22px 24px;
    border: 1px solid rgba(35, 178, 109, .35);
    border-radius: 8px;
    background: rgba(35, 178, 109, .1);
    display: flex;
    align-items: center;
    gap: 16px;
}
.stc-success__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #23b26d 0%, #178a52 100%);
    color: #fff;
    font-size: 20px;
}
.stc-success__txt {
    color: #c6d2ea;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* ---- toast notifications ---- */
.stc-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    width: 360px;
    max-width: calc(100vw - 32px);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #ffffff;
    color: #0B1322;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    transform: translateX(120%);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
    overflow: hidden;
    font-family: "Open Sans", sans-serif;
}
.stc-toast.stc-toast--show { transform: translateX(0); }
.stc-toast.stc-toast--hide {
    transform: translateX(120%);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
}
.stc-toast__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}
.stc-toast--success .stc-toast__icon { background: linear-gradient(135deg, #23b26d 0%, #178a52 100%); }
.stc-toast--error .stc-toast__icon { background: linear-gradient(135deg, #E81F3E 0%, #c01430 100%); }
.stc-toast__body h5 {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 3px;
    color: #0B1322;
}
.stc-toast--success .stc-toast__body h5 { color: #178a52; }
.stc-toast--error .stc-toast__body h5 { color: #c01430; }
.stc-toast__body p {
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    color: #5a6a84;
}
.stc-toast__body a {
    color: #E81F3E;
    font-weight: 600;
    text-decoration: underline;
}
.stc-toast__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(135deg, #E81F3E 0%, #c01430 100%);
    transform-origin: left;
}
.stc-toast--success .stc-toast__bar { background: linear-gradient(135deg, #23b26d 0%, #178a52 100%); }
.stc-toast--error .stc-toast__bar { background: linear-gradient(135deg, #E81F3E 0%, #c01430 100%); }

/* ---- responsive ---- */
@media (max-width: 991px) {
    .stc-auth__row { flex-direction: column; }
    .stc-auth__thumb-col { order: -1; width: 100%; }
    .stc-auth__content h2 { font-size: 34px; }
    .stc-auth__thumb { min-height: 0; }
}
