* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #1f2933;
}
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
    padding: 28px;
}
.logo-box { text-align: center; margin-bottom: 14px; }


.logo-box img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}
h1 {
    margin: 0 0 22px;
    font-size: 24px;
    text-align: center;
    color: #111827;
}
label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 14px;
}
input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
}
button, .button {
    display: inline-block;
    width: 100%;
    margin-top: 18px;
    padding: 13px 16px;
    border: 0;
    border-radius: 10px;
    background: #3e4f8d;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
button:hover, .button:hover { background: #4e5f7d; }
.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin: 14px 0;
    font-size: 14px;
}
.alert-error { background: #fde8e8; color: #8a1f1f; }
.alert-info { background: #eef2ff; color: #25315f; }
ul { margin: 0; padding-left: 18px; }
.small { font-size: 13px; color: #5f6b7a; line-height: 1.45; }
.qr-wrap { text-align: center; margin: 16px 0; }
.qr { width: 230px; height: 230px; }
.secret {
    padding: 10px;
    background: #f3f4f6;
    border-radius: 8px;
    font-family: Consolas, monospace;
    word-break: break-all;
    text-align: center;
}
.links { margin-top: 16px; text-align: center; }
.links a { color: #dd2f2f; text-decoration: none; font-weight: 700; }

button:disabled,
button.is-disabled {
    background: #9ca3af;
    cursor: not-allowed;
}
.countdown-box {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.45;
}
.countdown-value {
    display: inline-block;
    min-width: 34px;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
}
