/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(
        135deg,
        #1877f2,
        #00c6ff
    );
    padding:20px;
}

/* =========================
   MOBILE APP CONTAINER
========================= */

.phone{
    width:390px;
    min-height:820px;
    background:#fff;
    border-radius:45px;
    overflow:hidden;
    position:relative;
    box-shadow:
    0 30px 60px rgba(0,0,0,.25);
}

.notch{
    width:160px;
    height:30px;
    background:#111;
    border-radius:0 0 20px 20px;
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
}

.content{
    padding:80px 30px 40px;
}

/* =========================
   LOGO
========================= */

.logo{
    text-align:center;
    margin-bottom:50px;
}

.logo h1{
    color:#1877f2;
    font-size:60px;
    font-weight:700;
    letter-spacing:-2px;
}

.logo p{
    color:#777;
    margin-top:10px;
    font-size:15px;
}

/* =========================
   FORM
========================= */

.input-group{
    margin-bottom:18px;
}

.input-group input{
    width:100%;
    height:60px;
    border:none;
    border-radius:20px;
    background:#f3f5fa;
    padding:0 20px;
    font-size:16px;
    transition:0.3s;
}

.input-group input:focus{
    outline:none;
    background:#fff;
    box-shadow:
    0 0 0 3px rgba(24,119,242,.15);
}

/* =========================
   BUTTON LOGIN
========================= */

.login-btn{
    width:100%;
    height:60px;
    border:none;
    border-radius:20px;
    background:linear-gradient(
        135deg,
        #1877f2,
        #00bfff
    );
    color:white;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    transform:translateY(-3px);
}

/* =========================
   FORGOT PASSWORD
========================= */

.forgot{
    text-align:center;
    margin-top:20px;
}

.forgot a{
    color:#1877f2;
    text-decoration:none;
    font-weight:500;
}

/* =========================
   DIVIDER
========================= */

.divider{
    display:flex;
    align-items:center;
    margin:35px 0;
}

.divider::before,
.divider::after{
    content:'';
    flex:1;
    height:1px;
    background:#ddd;
}

.divider span{
    margin:0 15px;
    color:#999;
    font-size:14px;
}

/* =========================
   REGISTER BUTTON
========================= */

.register-btn{
    width:100%;
    height:58px;
    border:2px solid #1877f2;
    border-radius:20px;
    background:white;
    color:#1877f2;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.register-btn:hover{
    background:#f4f8ff;
}

/* =========================
   FOOTER
========================= */

.footer{
    margin-top:40px;
    text-align:center;
    color:#888;
    font-size:13px;
}

.footer hr{
    margin-bottom:15px;
    border:none;
    height:1px;
    background:#ddd;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:500px){

    body{
        padding:0;
    }

    .phone{
        width:100%;
        min-height:100vh;
        border-radius:0;
    }

}

/* ==========================
   ALERT SUCCESS
========================== */

.alert-success{
    background:#d4edda;
    color:#155724;
    padding:15px;
    border-radius:15px;
    margin-bottom:20px;
    text-align:center;
    font-size:14px;
    border:1px solid #c3e6cb;
}

/* ==========================
   ALERT ERROR
========================== */

.alert-error{
    background:#f8d7da;
    color:#721c24;
    padding:15px;
    border-radius:15px;
    margin-bottom:20px;
    text-align:center;
    font-size:14px;
    border:1px solid #f5c6cb;
}