/* ==========================
   LOGIN PAGE
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f5f5;
    margin:0;
    padding:0;
    color:#111;
}

/* ==========================
   LAYOUT
========================== */

.login-page{
    min-height:calc(100vh - 250px);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:140px 20px 80px;
}

.login-wrapper{
    width:100%;
    max-width:800px;
    margin:auto;
}

.login-card{
    width:100%;
    background:#fff;
    padding:40px;
    border-radius:24px;
    box-shadow:
        0 25px 60px rgba(0,0,0,.08),
        0 5px 18px rgba(0,0,0,.05);
}

/* ==========================
   HEADER
========================== */

.login-logo{
    text-align:center;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    color:#555;
    margin-bottom:15px;
}

.login-card h2{
    text-align:center;
    font-size:32px;
    font-weight:800;
    margin-bottom:10px;
}

.login-subtitle{
    text-align:center;
    color:#666;
    font-size:15px;
    line-height:1.7;
    margin-bottom:35px;
}

/* ==========================
   FORM
========================== */

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    font-size:14px;
    font-weight:700;
    margin-bottom:8px;
}

.form-group input{
    width:100%;
    padding:14px 16px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:15px;
    background:#fff;
    outline:none;
    transition:.25s;
}

.form-group input:focus{
    border-color:#111;
    box-shadow:0 0 0 4px rgba(0,0,0,.05);
}

/* ==========================
   BUTTON
========================== */

.login-btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.login-btn:hover{
    background:#000;
    transform:translateY(-2px);
}

/* ==========================
   ERROR
========================== */

.error-message{
    background:#ffeaea;
    border:1px solid #ffb5b5;
    color:#c40000;
    padding:15px;
    border-radius:12px;
    margin-bottom:25px;
    text-align:center;
}

/* =====================================================
   AUTH MESSAGE CARD
===================================================== */

.auth-message-card{

    max-width:560px;
    margin:35px auto;

    padding:50px 45px;

    background:#fff;

    border:2px solid #111;

    border-radius:24px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.08);

    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

}

/* Center every element */

.auth-message-card *{

    text-align:center;

}

/* =====================================================
   ICON
===================================================== */

.auth-message-icon{

    width:90px;
    height:90px;

    margin:0 auto 30px;

    border-radius:50%;

    background:#111;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:48px;
    font-weight:800;

    line-height:1;

    flex-shrink:0;

}

/* =====================================================
   TITLE
===================================================== */

.auth-message-card h2{

    width:100%;

    margin:0 0 20px;

    font-size:34px;

    font-weight:800;

    color:#111;

    text-align:center;

}

/* =====================================================
   PARAGRAPH
===================================================== */

.auth-message-card p{

    width:100%;

    max-width:460px;

    margin:0 auto 35px;

    color:#666;

    font-size:17px;

    line-height:1.9;

    text-align:center;

}

/* =====================================================
   BUTTON
===================================================== */

.auth-message-btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-width:190px;

    padding:16px 42px;

    background:#111;

    color:#fff;

    text-decoration:none;

    border-radius:12px;

    font-size:15px;

    font-weight:700;

    transition:.25s;

}

.auth-message-btn:hover{

    background:#000;

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(0,0,0,.18);

}

/* ==========================
   SUCCESS
========================== */

.success-message{
    background:#fff;
    border:2px solid #111;
    border-radius:18px;
    padding:35px;
    margin:25px 0;
    text-align:center;
    color:#111;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
}

.success-message::before{
    content:"✓";
    display:flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    margin:0 auto 20px;
    background:#111;
    color:#fff;
    border-radius:50%;
    font-size:30px;
    font-weight:bold;
}

.success-message p{
    margin:0;
    font-size:17px;
    line-height:1.8;
}

.success-message a{
    display:inline-block;
    margin-top:28px;
    padding:14px 38px;
    background:#111;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    font-weight:700;
    transition:.25s;
}

.success-message a:hover{
    background:#333;
}

/* ==========================
   FLASH SUCCESS
========================== */

.flash-success-wrapper{
    display:flex;
    justify-content:center;
    margin-bottom:20px;
}

.flash-success{
    display:inline-block;
    background:#eaffea;
    color:#0a7a3b;
    border:2px solid #3ddc84;
    border-radius:14px;
    padding:16px 22px;
    font-weight:700;
    box-shadow:0 0 15px rgba(61,220,132,.4);
}

@keyframes glowPulse{
    from{
        box-shadow:0 0 10px rgba(61,220,132,.3);
    }
    to{
        box-shadow:0 0 20px rgba(61,220,132,.8);
    }
}

/* ==========================
   FOOTER
========================== */

.login-footer{
    text-align:center;
    margin-top:25px;
    color:#777;
    font-size:13px;
}

/* ==========================
   MOBILE
========================== */

@media (max-width:600px){

    .login-card{
        padding:30px 22px;
    }

    .login-card h2{
        font-size:28px;
    }

    .success-message{
        padding:25px;
    }

    .success-message a{
        width:100%;
    }

}