:root {
    color-scheme: light;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #15233b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #15233b;
}

.wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 430px;
    padding: 36px;
    border: 1px solid #e3e8f0;
    border-radius: 24px;
    background: white;
    box-shadow: 0 18px 60px rgba(20, 42, 80, .10);
}

.logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: #1769d2;
    color: white;
    font-size: 44px;
    font-weight: 700;
}

h1 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 27px;
}

.subtitle {
    margin-bottom: 28px;
    color: #6c788c;
    text-align: center;
}

.notice,
.info-intro {
    padding: 18px 22px;
    border-radius: 14px;
    line-height: 1.5;
}

.notice--warning {
    border: 1px solid #f2c879;
    background: #fff8e8;
    color: #744500;
}

.notice--error {
    border: 1px solid #efb1b1;
    background: #fff0f0;
    color: #8c2020;
}

.notice--success {
    border: 1px solid #9bd3b5;
    background: #edf9f2;
    color: #12663a;
}

.info-intro {
    border: 1px solid #b9dfd4;
    background: #f1fbf8;
    color: #315f54;
}

.back-link {
    display: inline-block;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #e9eef5;
    color: #24334a;
    font-weight: 700;
    text-decoration: none;
}

.back-link:focus-visible {
    outline: 3px solid rgba(23, 105, 210, .35);
    outline-offset: 3px;
}

.pending-card {
    max-width: 520px;
    text-align: center;
}

.pending-pin {
    margin: 20px 0 10px;
    padding: 16px;
    border: 1px solid #9fb6d5;
    border-radius: 14px;
    background: #f5f9ff;
    color: #102c52;
    font: 700 38px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .22em;
}

.source-note {
    color: #536176;
    line-height: 1.5;
}

.u-space-top {
    margin-top: 20px;
}

.u-space-bottom {
    margin-bottom: 18px;
}

.u-no-margin {
    margin: 0;
}

.u-trusted-login-link {
    display: block;
    margin-top: 18px;
    text-align: center;
}

.u-source-note {
    margin-top: 16px;
}

@media (max-width: 480px) {
    .wrap {
        align-items: flex-start;
        padding: 16px;
    }

    .card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .pending-pin {
        font-size: 30px;
        letter-spacing: .16em;
    }
}
