
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:radial-gradient(circle at top, #1c1c1c, #0d0d0d);
color:#fff;
}
.top-logo{
position:absolute;
top:20px;
display:flex;
align-items:center;
gap:10px;
font-weight:bold;
color:#00e676;
font-size:18px;
}

.top-logo img{
width:34px;
height:34px;
border-radius:8px;
}
/* CONTAINER */
.login-container{
width:100%;
max-width:380px;
background:rgba(20,20,20,0.9);
border:1px solid rgba(255,255,255,0.08);
padding:35px;
border-radius:14px;
text-align:center;
box-shadow:0 0 30px rgba(0,0,0,0.6);
backdrop-filter:blur(10px);
}

/* TÍTULO */
h1{
font-size:26px;
color:#00e676;
margin-bottom:5px;
}

p{
font-size:14px;
opacity:0.7;
margin-bottom:20px;
}

/* INPUTS */
input{
width:100%;
padding:12px;
margin-bottom:12px;
border-radius:10px;
border:1px solid rgba(255,255,255,0.1);
background:#0f0f0f;
color:#fff;
outline:none;
transition:0.3s;
}

input:focus{
border-color:#00e676;
box-shadow:0 0 10px rgba(0,230,118,0.2);
}

/* BOTÃO */
button{
width:100%;
padding:12px;
border:none;
border-radius:10px;
background:#00e676;
color:#000;
font-weight:bold;
cursor:pointer;
transition:0.3s;
}

button:hover{
background:#00c853;
transform:scale(1.03);
}

/* ERRO */
.error{
background:rgba(255,0,0,0.1);
border:1px solid red;
color:#ff4d4d;
padding:10px;
border-radius:10px;
margin-bottom:15px;
font-size:14px;
}

.popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup.show{
    display:flex;
}

.popup-box{
    background:#151515;
    padding:30px;
    border-radius:15px;
    text-align:center;
    width:320px;
    border:1px solid #333;
    animation:pop .2s ease;
}

.popup-box h3{
    color:#ff5252;
    margin-bottom:10px;
}

.popup-box p{
    color:#fff;
    margin-bottom:20px;
}

.popup-box button{
    padding:10px 20px;
    border:none;
    border-radius:8px;
    background:#00c853;
    color:#000;
    cursor:pointer;
}

@keyframes pop{
    from{transform:scale(0.8); opacity:0;}
    to{transform:scale(1); opacity:1;}
}

/* =========================
   TRAVA DE ZOOM MOBILE
   ========================= */

html {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    overscroll-behavior: none;
}

body {
    overscroll-behavior: none;
    touch-action: manipulation;
}

/* Impede zoom ao dar focus em input (principal problema no iPhone) */
input, select, textarea {
    font-size: 16px !important;
}

/* Remove zoom de duplo toque */
* {
    touch-action: manipulation;
}

/* Evita comportamento de pinch zoom em alguns browsers */
@media screen and (max-width: 768px) {
    html, body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}