:root {
    --auth-primary: #00d992;
    --auth-primary-soft: #2fd6a1;
    --auth-primary-deep: #10b981;
    --auth-canvas: #101010;
    --auth-surface: #1a1a1a;
    --auth-border: #3d3a39;
    --auth-border-hover: #696462;
    --auth-ink: #f2f2f2;
    --auth-white: #fff;
    --auth-body: #bdbdbd;
    --auth-muted: #8b949e;
    --auth-error: #f87171;
    --auth-success: #34d399;
    --auth-warning: #fbbf24;
    --auth-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --auth-mono: "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background: var(--auth-canvas);
    color: var(--auth-ink);
    font-family: var(--auth-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.auth-page a {
    color: inherit;
    text-decoration: none;
}

.auth-shell {
    display: flex;
    min-height: 100vh;
}

.auth-aside {
    position: sticky;
    top: 0;
    width: 480px;
    height: 100vh;
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 48px 40px;
    border-right: 1px solid var(--auth-border);
    background: var(--auth-surface);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 64px;
}

.auth-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}

.auth-brand strong {
    color: var(--auth-white);
    font-size: 17px;
    letter-spacing: -.3px;
}

.auth-brand span {
    padding: 2px 8px;
    border: 1px solid var(--auth-border);
    border-radius: 999px;
    color: var(--auth-primary);
    font: 500 10px/1.5 var(--auth-mono);
}

.auth-aside h1 {
    margin: 0 0 12px;
    color: var(--auth-white);
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -.8px;
}

.auth-aside h1 em {
    color: var(--auth-primary);
    font-style: normal;
}

.auth-aside-copy {
    margin: 0 0 38px;
    color: var(--auth-body);
    font-size: 14px;
}

.auth-benefits {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auth-benefit-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 217, 146, .2);
    border-radius: 4px;
    background: rgba(0, 217, 146, .1);
    color: var(--auth-primary);
    font-size: 12px;
}

.auth-benefit strong {
    display: block;
    color: var(--auth-ink);
    font-size: 14px;
    line-height: 1.4;
}

.auth-benefit small {
    display: block;
    margin-top: 2px;
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.5;
}

.auth-aside-footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px dashed rgba(79, 93, 117, .4);
    color: var(--auth-muted);
    font-size: 12px;
}

.auth-main {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 48px 32px;
}

.auth-container {
    width: min(100%, 400px);
}

.auth-container--wide {
    width: min(100%, 760px);
}

.auth-language {
    position: absolute;
    top: 24px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--auth-border);
    border-radius: 999px;
    background: var(--auth-surface);
    color: var(--auth-body);
    font-size: 12px;
    transition: .15s;
}

.auth-language:hover {
    border-color: var(--auth-primary);
    color: var(--auth-white);
}

.auth-header {
    margin-bottom: 32px;
}

.auth-eyebrow {
    margin-bottom: 8px;
    color: var(--auth-primary);
    font: 500 11px/1.5 var(--auth-mono);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-title {
    margin: 0 0 4px;
    color: var(--auth-white);
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: -.6px;
}

.auth-subtitle {
    margin: 0;
    color: var(--auth-body);
    font-size: 14px;
}

.auth-card {
    padding: 24px;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    background: var(--auth-surface);
}

.auth-card + .auth-card {
    margin-top: 16px;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.auth-alert--error {
    border: 1px solid rgba(248, 113, 113, .2);
    background: rgba(248, 113, 113, .08);
    color: var(--auth-error);
}

.auth-alert--success {
    border: 1px solid rgba(52, 211, 153, .2);
    background: rgba(52, 211, 153, .08);
    color: var(--auth-success);
}

.auth-alert--warning {
    border: 1px solid rgba(251, 191, 36, .2);
    background: rgba(251, 191, 36, .08);
    color: var(--auth-warning);
}

.auth-field {
    margin-bottom: 16px;
}

.auth-label {
    display: block;
    margin-bottom: 4px;
    color: var(--auth-body);
    font-size: 13px;
    font-weight: 500;
}

.auth-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    outline: none;
    background: var(--auth-canvas);
    color: var(--auth-ink);
    font: 14px/1.5 var(--auth-sans);
    transition: .15s;
}

.auth-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 146, .1);
}

.auth-input::placeholder {
    color: var(--auth-muted);
}

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

.auth-input-wrap .auth-input {
    padding-right: 44px;
}

.auth-eye {
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    padding: 5px;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
}

.auth-hint {
    display: block;
    margin-top: 5px;
    color: var(--auth-muted);
    font-size: 11px;
}

.auth-button {
    width: 100%;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--auth-primary);
    color: var(--auth-canvas);
    font: 600 14px/1.4 var(--auth-sans);
    cursor: pointer;
    transition: .15s;
}

.auth-button:hover:not(:disabled) {
    background: var(--auth-primary-deep);
}

.auth-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.auth-button--secondary {
    border-color: var(--auth-border);
    background: var(--auth-canvas);
    color: var(--auth-ink);
}

.auth-button--secondary:hover:not(:disabled) {
    border-color: var(--auth-border-hover);
    background: var(--auth-surface);
}

.auth-button--ghost {
    border-color: var(--auth-border);
    background: transparent;
    color: var(--auth-body);
}

.auth-actions {
    display: grid;
    gap: 10px;
}

.auth-link {
    color: var(--auth-primary);
}

.auth-link:hover {
    color: var(--auth-primary-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-footer {
    margin-top: 26px;
    color: var(--auth-muted);
    text-align: center;
    font: 11px/1.6 var(--auth-mono);
}

.auth-status {
    text-align: center;
}

.auth-status-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border: 1px solid rgba(0, 217, 146, .25);
    border-radius: 50%;
    background: rgba(0, 217, 146, .09);
    color: var(--auth-primary);
    font-size: 25px;
}

.auth-status-icon--error {
    border-color: rgba(248, 113, 113, .25);
    background: rgba(248, 113, 113, .08);
    color: var(--auth-error);
}

.auth-status-icon--pending {
    border-color: rgba(251, 191, 36, .25);
    background: rgba(251, 191, 36, .08);
    color: var(--auth-warning);
}

.auth-status h2 {
    margin: 0 0 8px;
    color: var(--auth-white);
    font-size: 21px;
}

.auth-status p {
    margin: 0 0 20px;
    color: var(--auth-body);
    font-size: 14px;
}

.auth-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    background: var(--auth-border);
}

.auth-summary-item {
    padding: 14px;
    background: var(--auth-canvas);
}

.auth-summary-item span {
    display: block;
    color: var(--auth-muted);
    font-size: 11px;
}

.auth-summary-item strong {
    display: block;
    margin-top: 3px;
    color: var(--auth-white);
    font-size: 14px;
}

.auth-methods,
.auth-plans {
    display: grid;
    gap: 12px;
}

.auth-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-method {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--auth-border);
    border-radius: 8px;
    background: var(--auth-canvas);
    color: var(--auth-ink);
    text-align: left;
    cursor: pointer;
    transition: .15s;
}

.auth-method:hover {
    border-color: var(--auth-primary);
    transform: translateY(-1px);
}

.auth-method strong,
.auth-method small {
    display: block;
}

.auth-method small {
    margin-top: 3px;
    color: var(--auth-muted);
}

.auth-method-price {
    color: var(--auth-primary);
    font-weight: 700;
    white-space: nowrap;
}

.auth-plan {
    position: relative;
    display: flex;
    min-height: 170px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--auth-border);
    border-radius: 10px;
    background: var(--auth-surface);
    cursor: pointer;
    transition: .15s;
}

.auth-plan:hover,
.auth-plan--featured {
    border-color: var(--auth-primary);
}

.auth-plan-title {
    color: var(--auth-white);
    font-size: 17px;
    font-weight: 700;
}

.auth-plan-meta {
    color: var(--auth-muted);
    font-size: 12px;
}

.auth-plan-price {
    margin: 14px 0;
    color: var(--auth-primary);
    font-size: 22px;
    font-weight: 800;
}

.auth-plan .auth-button {
    margin-top: auto;
}

.auth-section {
    margin-top: 16px;
}

.auth-section-title {
    margin: 0 0 4px;
    color: var(--auth-white);
    font-size: 15px;
}

.auth-section-copy {
    margin: 0 0 14px;
    color: var(--auth-muted);
    font-size: 12px;
}

.auth-bank-grid {
    display: grid;
    gap: 8px;
}

.auth-bank-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 6px;
    background: var(--auth-canvas);
    font-size: 13px;
}

.auth-bank-row span:first-child {
    color: var(--auth-muted);
}

.auth-bank-row strong {
    color: var(--auth-ink);
    text-align: right;
    overflow-wrap: anywhere;
}

.auth-qr {
    width: 220px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
}

.auth-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-note {
    margin: 16px 0 0;
    color: var(--auth-muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 960px) {
    .auth-aside {
        display: none;
    }

    .auth-main {
        padding: 56px 20px 36px;
    }
}

@media (max-width: 600px) {
    .auth-main {
        align-items: flex-start;
        padding: 66px 16px 28px;
    }

    .auth-language {
        top: 16px;
        right: 16px;
    }

    .auth-card {
        padding: 18px;
    }

    .auth-plans,
    .auth-summary {
        grid-template-columns: 1fr;
    }

    .auth-method,
    .auth-inline,
    .auth-bank-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-method-price {
        white-space: normal;
    }
}