* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { background: #07020d; color: #f8fafc; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; }
.auth-container { background: #130924; padding: 2.5rem; border-radius: 20px; width: 100%; max-width: 400px; box-shadow: 0 15px 35px rgba(0,0,0,0.6); border: 1px solid #2d1654; text-align: center; }
.brand-header { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.app-logo-icon { font-size: 3rem; background: linear-content; color: #a855f7; }
.logo { color: #ffffff; font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; }
h2 { margin-bottom: 1.5rem; font-size: 1.1rem; color: #a78bfa; text-transform: uppercase; letter-spacing: 1px; }
form { display: flex; flex-direction: column; gap: 1.2rem; }
input { padding: 0.85rem; border-radius: 10px; border: 1px solid #2d1654; background: #07020d; color: white; font-size: 1rem; transition: all 0.3s; }
input:focus { outline: none; border-color: #a855f7; box-shadow: 0 0 10px rgba(168,85,247,0.3); }
button { padding: 0.85rem; border-radius: 10px; border: none; background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%); color: white; font-size: 1rem; font-weight: bold; cursor: pointer; transition: opacity 0.2s; }
button:hover { opacity: 0.9; }
#toggle-auth { margin-top: 1.5rem; font-size: 0.9rem; color: #94a3b8; }
#toggle-link { color: #a855f7; cursor: pointer; font-weight: 600; }
.error { color: #f43f5e; margin-top: 1rem; font-size: 0.9rem; }

#block-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #07020d; z-index: 9999; display: flex; justify-content: center; align-items: center; padding: 2rem; }
.block-box { background: #130924; border: 2px solid #ef4444; padding: 2.5rem; border-radius: 20px; text-align: center; max-width: 450px; }
.block-box h2 { color: #ffffff; font-size: 2rem; }
.block-box p { color: #cbd5e1; margin-bottom: 1rem; }
.block-box .highlight { color: #10b981; font-weight: bold; font-size: 1.2rem; margin-top: 1.5rem; }
.hidden { display: none !important; }

/* ==========================================
   BLOQUEO TOTAL PARA PANTALLAS PEQUEÑAS
   ========================================== */
#block-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #05020a;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

#block-screen h2 {
    font-size: 1.8rem;
    color: #a855f7;
    margin-bottom: 1rem;
    font-weight: 800;
}

#block-screen p {
    font-size: 1rem;
    color: #a188c4;
    max-width: 400px;
    line-height: 1.5;
}

.hidden {
    display: none !important;
}