/* PiSuite Remote Auth — Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body.mobile {
    background: #080B14;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.mobile-card {
    background: #0f1520;
    border-radius: 16px;
    padding: 28px 24px;
    width: 340px;
    max-width: 92vw;
    border: 1px solid #1a2535;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    text-align: center;
}

.logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #40D6FF, #57FFC2);
    color: #000;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.logo.success { background: linear-gradient(135deg, #45FF8E, #57FFC2); font-size: 26px; }
.logo.error { background: linear-gradient(135deg, #FF5F70, #FFAD42); font-size: 26px; }

h2 {
    color: #F2F7FF;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.subtitle {
    color: #71849A;
    font-size: 12px;
    margin-bottom: 18px;
    line-height: 1.4;
}

input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    background: #141a24;
    border: 1px solid #1e2a36;
    border-radius: 8px;
    color: #F2F7FF;
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
    text-align: center;
}
input[type="text"]:focus {
    border-color: #40D6FF;
}

.otp-group {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 18px;
}

.otp-box {
    width: 42px !important;
    height: 50px;
    padding: 0 !important;
    margin: 0 !important;
    background: #141a24;
    border: 2px solid #1e2a36;
    border-radius: 10px;
    color: #40D6FF;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    outline: none;
    caret-color: #40D6FF;
    letter-spacing: 0;
}
.otp-box:focus {
    border-color: #40D6FF;
    box-shadow: 0 0 12px rgba(64,214,255,0.15);
}

.btn {
    width: 100%;
    padding: 11px 0;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}
.btn.primary {
    background: #40D6FF;
    color: #000;
}
.btn.primary:hover { background: #8CEEFF; }
.btn.primary:disabled { background: #244258; color: #71849A; cursor: not-allowed; }

.status {
    margin-top: 10px;
    font-size: 11px;
    color: #71849A;
    min-height: 16px;
}
.status.error { color: #FF5F70; }
.status.success { color: #4FFF9E; }
.status.muted { color: #71849A; }

.detail {
    color: #71849A;
    font-size: 10px;
    font-family: monospace;
    margin: 8px 0;
}

.icon-waiting {
    font-size: 40px;
    color: #FFE84D;
    margin: 16px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
