:root {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    color: #1f1f1f;
    background: #f4f6f8;
}

body {
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.corner-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    display: inline-block;
}

.corner-link img {
    width: 200px;
    max-width: 35vw;
    height: auto;
    display: block;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    max-width: 640px;
    width: 100%;
}

h1 {
    margin-top: 0;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

input[type="email"] {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    font-size: 1rem;
}

button {
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

button.secondary {
    background: #e2e8f0;
    color: #0f172a;
}

button.secondary:hover {
    background: #cbd5f5;
}

.alert {
    list-style: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
}

.tips {
    margin-top: 2rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
}

.tips ul {
    padding-left: 1.2rem;
}

.status-message {
    background: #ecfdf5;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #a7f3d0;
}

.actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.button.primary {
    background: #2563eb;
    color: #fff;
}

.button.secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.button.primary:hover {
    background: #1d4ed8;
}

.button.secondary:hover {
    background: #cbd5f5;
}

.action-notes {
    margin-top: 0.5rem;
    color: #475569;
    line-height: 1.4;
}

.hint {
    margin-top: 1rem;
    color: #475569;
}

.sr-only {
    width: 0;
    height: 0;
    border: 0;
    padding: 0;
    clip-path: inset(50%);
    overflow: hidden;
    position: absolute;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto;
}

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

.muted {
    color: #475569;
    margin-top: 0.5rem;
}

.hidden {
    display: none;
}
