*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 16px;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: #F8F9F9;
    font-family: sans-serif;
}

.container{
    width: 100%;
    text-align: center;
}

.page{
    width: 100%;
    max-width: 350px;
    background: #fff;
    border-radius: 8px;
    padding: 20px 16px 15px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo{
    display: block;
    margin: 0 auto 10px;
}

.logo img{
    max-width: 100%;
    height: auto;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
}

form input{
    width: 100%;
    margin-bottom: 8px;
    border: 1px solid #b6b6b6;
    background: #faf9f9;
    border-radius: 4px;
    outline: none;
    padding: 0 10px;
    height: 42px;
    font-size: 14px;
}

form button{
    width: 100%;
    border: none;
    background: rgb(76, 180, 248);
    padding: 10px 0;
    margin-top: 10px;
    color: #fff;
    border-radius: 7px;
    font-weight: bold;
    text-transform: capitalize;
    letter-spacing: 1px;
    outline: none;
    cursor: pointer;
    font-size: 14px;
}

form button:active{
    background: rgb(24, 119, 242);
    transform: scale(0.98);
}

.option{
    color: #b6b4b4;
    margin: 18px 0;
    position: relative;
    font-size: 13px;
}

.option::before,
.option::after{
    position: absolute;
    content: '';
    width: 40%;
    height: 1px;
    background: #b6b6b6;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
}

.option::before{
    left: 0;
}

.option::after{
    right: 0;
}

.fblink{
    margin-top: 20px;
    width: 100%;
}

.fblink span{
    font-size: 18px;
    color: rgb(56, 81, 133);
    margin-right: 5px;
}

.fblink a{
    text-decoration: none;
    font-weight: bold;
    color: rgb(56, 81, 133);
}

.forget-id{
    margin: 15px 0;
}

.forget-id a{
    text-decoration: none;
    color: rgb(56, 81, 133);
    font-size: 12px;
    font-weight: 500;
}

.page .singup{
    border: 1px solid #b6b6b6;
    border-radius: 4px;
    width: 100%;
    margin-top: 20px;
    padding: 14px 10px;
    font-size: 14px;
}

.singup a{
    text-decoration: none;
    margin-left: 5px;
    color: rgb(76, 180, 248);
    font-weight: bold;
}

/* Ajustes extras para telas pequenas */
@media (max-width: 480px){
    body{
        padding: 10px;
        align-items: flex-start;
    }

    .page{
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 20px 12px;
    }

    form input{
        height: 44px;
        font-size: 16px; /* evita zoom automático no iPhone */
    }

    form button{
        height: 44px;
        font-size: 15px;
    }

    .option::before,
    .option::after{
        width: 38%;
    }
}