body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f1f5f9;
    color: #0f172a;
    margin: 0;
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 88vh;
}
.card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 30, 92, 0.08);
    max-width: 440px;
    width: 100%;
    text-align: center;
}
.logo {
    max-height: 54px;
    width: auto;
    margin-bottom: 14px;
}
h1 {
    font-size: 20px;
    margin: 0 0 8px 0;
    color: #001e5c;
}
.sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}
.error {
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
}
.field {
    margin-bottom: 14px;
    text-align: left;
}
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #334155;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
}
input:focus {
    outline: none;
    border-color: #027daf;
    box-shadow: 0 0 0 3px rgba(2, 125, 175, 0.2);
}
.btn {
    width: 100%;
    padding: 11px;
    background: #027daf;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
}
.btn:hover {
    background: #02638b;
}
.btn-sec {
    width: 100%;
    padding: 9px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}
.qr-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 14px;
    text-align: center;
}
.qr-box img {
    max-width: 190px;
    height: auto;
    background: #fff;
    padding: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}
.code-copy {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
}
.code-copy input {
    font-family: ui-monospace, monospace;
    font-size: 12px;
    background: #fff;
    padding: 6px 8px;
}
.copy-btn {
    padding: 6px 10px;
    font-size: 12px;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}
.otp-input {
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}
.otp-setup-input {
    text-align: center;
    letter-spacing: 3px;
    font-weight: 700;
}
.qr-meta {
    font-size: 12px;
    color: #475569;
    margin-top: 10px;
    text-align: left;
}
.qr-error {
    color: #991b1b;
    font-size: 12px;
}
.footer {
    font-size: 12px;
    color: #64748b;
    margin-top: 18px;
}
