@import url("/css/client/client.css?v=20260413b");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.redirect-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 16px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 30%),
        radial-gradient(circle at bottom right, rgba(63, 186, 165, 0.16), transparent 26%),
        linear-gradient(180deg, #f7efcb 0%, var(--theme-03) 48%, #f0e1aa 100%);
    color: var(--text);
    font-family: "CoopBl", "Trebuchet MS", "Verdana", sans-serif;
}

.redirect-card {
    width: 100%;
    max-width: 560px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 8px 18px rgba(87, 61, 24, 0.12);
}

.redirect-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: #6e5622;
    font-family: "TikiTropicBold", "CoopBl", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.redirect-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--theme);
    box-shadow: 0 0 0 4px rgba(63, 186, 165, 0.14);
}

.redirect-card h1 {
    margin: 0 0 14px;
    color: var(--theme);
    font-family: "PhosphateInline", "Impact", sans-serif;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 0.95;
    text-transform: uppercase;
    font-weight: 400;
}

.redirect-card p {
    color: var(--text);
    line-height: 1.55;
    margin-bottom: 12px;
    font-size: 1rem;
}

.redirect-card .lead {
    color: var(--muted);
    font-size: 1.02rem;
}

.redirect-card form {
    margin-top: 18px;
}

.redirect-card .form-group {
    margin-bottom: 14px;
}

.redirect-card label {
    display: block;
    margin-bottom: 6px;
    color: #6e5622;
    font-size: 0.9rem;
    font-family: "TikiTropicBold", "CoopBl", sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.redirect-card input[type="email"],
.redirect-card input[type="password"],
.redirect-card input[type="text"] {
    width: 100%;
    border: 2px solid var(--border);
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    color: var(--ink);
}

.redirect-card input:focus {
    outline: 3px solid rgba(63, 186, 165, 0.26);
    border-color: var(--theme);
}

.loading {
    display: none;
    margin-top: 12px;
    text-align: center;
}

.spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border: 3px solid #ece7d7;
    border-top-color: var(--theme);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

.redirect-card button,
.redirect-button,
.redirect-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 2px solid var(--outline);
    border-radius: 999px;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff9f2;
    box-shadow: var(--shadow-deep);
    font-family: "TikiTropicBold", "CoopBl", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.redirect-card button:hover,
.redirect-button:hover,
.redirect-link-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.redirect-card button:active,
.redirect-button:active,
.redirect-link-button:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 3px 0 #14454c, 0 6px 12px rgba(20, 40, 42, 0.2);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-family: "TikiTropicBold", "CoopBl", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-success {
    background: var(--success-bg);
    color: var(--success-text);
}

.status-success::before {
    background: var(--success-text);
}

.status-warning {
    background: #fff4d9;
    color: #7d4d05;
}

.status-warning::before {
    background: #d28b00;
}

.status-error {
    background: var(--error-bg);
    color: var(--error-text);
}

.status-error::before {
    background: var(--error-text);
}

.message {
    min-height: 1.4em;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    display: block;
}

.message:empty {
    display: none;
}

.message.success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #b7e2c7;
}

.message.error {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid #f1c2cb;
}

.help-box {
    margin-top: 16px;
    padding: 14px;
    border: 1px dashed #d8c898;
    border-radius: 14px;
    background: #fffdf8;
}

.link-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.text-link {
    color: var(--theme-09);
    text-decoration: none;
    font-family: "TikiTropicBold", "CoopBl", sans-serif;
}

.text-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    body.redirect-page {
        padding: 10px;
    }

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