:root {
    --page: #0b0d0f;
    --panel: #171a20;
    --line: #303641;
    --soft-line: #20262f;
    --text: #f5f5f6;
    --muted: #aeb3bc;
    --blue: #0759f7;
    --error: #ff6666;
    --success: #39d98a;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: var(--page);
    color: var(--text);
    font-family:
        "Space Grotesk",
        Arial,
        sans-serif;
}

a {
    color: inherit;
}

.auth-page {
    min-height: 100vh;
    width: 100%;
    padding: 48px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.auth-brand {
    margin-bottom: 28px;
}

.auth-brand img {
    display: block;
    width: 165px;
    max-height: 50px;
    object-fit: contain;
}

.auth-card {
    width: 100%;
    max-width: 520px;

    padding: 38px;

    border: 1px solid var(--soft-line);
    border-radius: 20px;

    background: var(--panel);
}

.auth-heading {
    margin-bottom: 30px;
}

.auth-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    color: #8aacff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.auth-heading h1,
.auth-message-card h1 {
    margin: 0;

    font-size: 32px;
    line-height: 1.15;
}

.auth-heading p,
.auth-message-card p {
    margin: 12px 0 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.65;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
}

.form-group label span {
    margin-left: 4px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 400;
}

.form-group input {
    width: 100%;
    height: 50px;

    padding: 0 14px;

    border: 1px solid var(--line);
    border-radius: 11px;

    outline: none;
    background: #101319;
    color: var(--text);

    font: inherit;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(7, 89, 247, 0.12);
}

.field-error {
    color: var(--error);

    font-size: 12px;
    line-height: 1.4;
}

.form-alert {
    padding: 12px 14px;

    border-radius: 10px;

    font-size: 13px;
}

.form-alert p {
    margin: 0;
}

.form-alert-error {
    border: 1px solid rgba(255, 102, 102, 0.25);
    background: rgba(255, 102, 102, 0.08);
    color: #ff9b9b;
}

.auth-submit {
    position: relative;

    width: 100%;
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 11px;

    background: var(--blue);
    color: #fff;

    cursor: pointer;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.auth-footer {
    margin-top: 26px;

    color: var(--muted);

    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.auth-message-card {
    text-align: center;
}

.auth-status-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 22px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(7, 89, 247, 0.25);
    border-radius: 16px;

    background: rgba(7, 89, 247, 0.1);
    color: #8aacff;

    font-size: 25px;
    font-weight: 700;
}

.auth-status-icon.success {
    border-color: rgba(57, 217, 138, 0.25);
    background: rgba(57, 217, 138, 0.08);
    color: var(--success);
}

.auth-status-icon.error {
    border-color: rgba(255, 102, 102, 0.25);
    background: rgba(255, 102, 102, 0.08);
    color: var(--error);
}

.auth-link-button {
    margin-top: 26px;
}

@media (max-width: 600px) {
    .auth-page {
        padding: 28px 16px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-heading h1,
    .auth-message-card h1 {
        font-size: 27px;
    }
}


.verification-page{
    gap:28px;
}

.verification-brand img{
    width:170px;
    max-width:100%;
    display:block;
}

.verification-card{
    width:100%;
    max-width:620px;
    padding:44px;

    border:1px solid var(--soft-line);
    border-radius:24px;

    background:var(--panel);
}

.verification-heading{
    text-align:center;
}

.verification-heading h1{
    margin:0;

    font-size:34px;
    line-height:1.15;
}

.verification-heading p{
    max-width:500px;

    margin:14px auto 0;

    color:var(--muted);

    font-size:15px;
    line-height:1.7;
}

.verification-heading strong{
    color:var(--text);
}

.verification-details{
    display:grid;
    gap:12px;

    margin-top:30px;
}

.verification-detail{
    display:flex;
    gap:14px;
    align-items:flex-start;

    padding:16px;

    border:1px solid var(--soft-line);
    border-radius:14px;

    background:#111419;
}

.verification-detail-icon{
    width:34px;
    height:34px;

    flex:0 0 auto;

    display:grid;
    place-items:center;

    border-radius:9px;

    background:rgba(7,89,247,.10);
    color:#8aacff;
}

.verification-detail div{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.verification-detail strong{
    font-size:13px;
}

.verification-detail span{
    color:var(--muted);

    font-size:12px;
    line-height:1.55;
}

.verification-actions{
    margin-top:26px;
}

.resend-feedback{
    min-height:18px;

    margin:10px 0 0;

    color:var(--muted);

    text-align:center;
    font-size:12px;
}

.resend-feedback.success{
    color:#71e7a8;
}

.resend-feedback.error{
    color:#ff8f8f;
}

.verification-security-note{
    display:flex;
    gap:10px;
    align-items:flex-start;

    margin-top:26px;
    padding-top:22px;

    border-top:1px solid var(--soft-line);
}

.verification-security-note svg{
    width:17px;
    height:17px;

    flex:0 0 auto;

    fill:none;
    stroke:#7f8792;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.verification-security-note p{
    margin:0;

    color:#7f8792;

    font-size:11px;
    line-height:1.6;
}

.button-spinner{
    width:16px;
    height:16px;

    display:none;

    margin-left:9px;

    border:2px solid rgba(255,255,255,.35);
    border-top-color:#fff;
    border-radius:50%;

    animation:buttonSpin .65s linear infinite;
}

.auth-submit.is-loading .button-spinner{
    display:block;
}

.auth-submit:disabled{
    cursor:not-allowed;
    opacity:.72;
}

@keyframes buttonSpin{
    to{
        transform:rotate(360deg);
    }
}

@media(max-width:600px){
    .verification-card{
        padding:32px 20px;
    }

    .verification-heading h1{
        font-size:28px;
    }
}

.form-group input.is-invalid{
    border-color:#ff6666;

    box-shadow:
        0 0 0 3px
        rgba(255,102,102,.08);
}

.client-field-error{
    min-height:16px;

    margin:0;

    color:#ff8f8f;

    font-size:12px;
    line-height:1.4;
}

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

.password-label-row label{
    margin:0;
}

.forgot-password-link{
    color:#8aacff;

    font-size:12px;
    font-weight:500;
    text-decoration:none;
}

.forgot-password-link:hover{
    color:#fff;
}

.password-input-wrapper{
    position:relative;
}

.password-input-wrapper input{
    padding-right:48px;
}

.password-toggle{
    position:absolute;

    top:50%;
    right:12px;

    width:32px;
    height:32px;

    display:grid;
    place-items:center;

    padding:0;

    border:0;
    border-radius:8px;

    background:transparent;
    color:var(--muted);

    cursor:pointer;

    transform:translateY(-50%);
}

.password-toggle:hover{
    color:#fff;
}

.password-toggle svg{
    width:18px;
    height:18px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}