/* ---------------------------
   stokesnet.xyz - login page
   (shares tokens/fonts with register.css/account.css)
------------------------------ */

@font-face {
    font-family: 'BlackOpsOne';
    src: url('https://assets.stokesnet.xyz/fonts/BlackOpsOne.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://assets.stokesnet.xyz/fonts/Rajdhani.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input { -webkit-user-select: text; -ms-user-select: text; user-select: text; }

html, body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 16px;
    width: 100%;
    background: var(--dark-mode-background-color);
    color: var(--dark-mode-text-color);
}

#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-mode-background-color);
    background-repeat: no-repeat;
    background-size: 20%;
    background-position: 50% 50%;
}

.login-box {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 440px;
    max-width: 100%;
    padding: 36px 34px 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.015);
    box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.05);
}

.login-header {
    text-align: center;
    margin: 0 0 34px 0;
}

.login-header header {
    color: var(--dark-mode-text-color);
    font-size: 44px;
    font-family: 'BlackOpsOne', -apple-system, sans-serif;
}

.forgot-text {
    text-align: center;
    margin: 0 0 24px 0;
}

.forgot-text p {
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    margin-top: -25px;
    line-height: 1.5;
}

.input-box { margin-bottom: 0; }

.input-box .input-field {
    width: 100%;
    height: 58px;
    font-size: 17px;
    padding: 0 24px;
    margin-bottom: 20px;
    border-radius: 16px;
    border: none;
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.08);
    background-color: var(--dark-mode-input-background-color);
    color: var(--dark-mode-input-text-color);
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.input-field:focus {
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.forgot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 24px;
}

section {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-family: 'Rajdhani', -apple-system, sans-serif;
}

#check {
    margin-right: 8px;
}

a {
    text-decoration: none;
    color: var(--dark-mode-text-color);
    transition: all .3s ease-in-out;
}

a:hover {
    color: var(--dark-mode-text-hover-color);
}

.input-submit {
    position: relative;
}

.submit-btn {
    width: 100%;
    height: 58px;
    background-color: var(--dark-mode-button-background-color);
    box-shadow: 0px 0px 15px 1px rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--dark-mode-text-color);
    transition: all .4s ease-in-out;
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.submit-btn:hover {
    box-shadow: 0px 0px 20px 5px rgba(255, 255, 255, 0.2);
    border-radius: 35px;
}

.submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.register-link {
    text-align: center;
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 18px;
    margin-top: 18px;
}

@media (max-width: 480px) {
    html, body { padding: 24px 12px; }
    .login-box { padding: 28px 22px 24px; }
    .login-header header { font-size: 36px; }
    .input-box .input-field { height: 54px; font-size: 18px; }
    .submit-btn { height: 54px; font-size: 20px; }
    .forgot { font-size: 15px; }
    section { font-size: 16px; }
    .forgot-text p { font-size: 14px; }
}

/* ---- 2FA login step ---- */
.twofa-code-input {
    text-align: center;
    letter-spacing: 10px;
    font-size: 22px !important;
}

/* ---- verify-email.php result panel ---- */
.verify-result { margin: 8px 0 22px; }
.verify-result h2 {
    font-family: 'BlackOpsOne', -apple-system, sans-serif;
    font-size: 21px;
    letter-spacing: 0.03em;
    margin: 0 0 10px;
}
.verify-result p {
    font-family: 'Rajdhani', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.65);
    margin: 0;
}
.verify-result--success h2 { color: #59d68f; }
.verify-result--warning h2 { color: #f0b955; }
.verify-result--error h2 { color: #f0685f; }
