/* =====================
   GLOBAL
===================== */

*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;
}

body{
    font-family:"Segoe UI", Arial, sans-serif;

    background:linear-gradient(
        135deg,
        #ffffff,
        #dcdcdc
    );

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100dvh;

    padding:20px;
}


/* =====================
   CARD
===================== */

.card{
    width:100%;
    max-width:450px;

    background:white;

    padding:40px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);

    position:relative;
}


/* =====================
   LOGO
===================== */

.logo{
    text-align:center;
    margin-bottom:15px;
}

.logo img{
    width:70px;
    margin-bottom:8px;
}


/* =====================
   TITLE
===================== */

h2{
    margin:0;
    font-size:28px;
    text-align:center;
}


/* =====================
   DESCRIPTION
===================== */

.desc{
    text-align:center;

    color:#757575;

    font-size:14px;

    line-height:1.5;

    margin-top:20px;
    margin-bottom:15px;
}


/* =====================
   LABEL
===================== */

label{
    display:block;

    font-size:14px;

    font-weight:600;

    color:#333;

    margin-top:20px;

    letter-spacing:.2px;
}


/* =====================
   INPUT
===================== */

input{
    width:100%;

    padding:14px;

    margin:8px 0;

    border:1px solid #e0e0e0;

    border-radius:10px;

    font-size:15px;
}

input:focus{
    outline:none;

    border-color:#4b1f7a;

    box-shadow:0 0 0 2px rgba(75,31,122,.15);
}


/* =====================
   BUTTON
===================== */

button{
    width:100%;

    padding:14px;

    margin-top:12px;

    border:none;

    border-radius:10px;

    background:#3d0e64;

    color:white;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;
}

button:hover{
    background:#2f0b4d;
}


/* =====================
   ALERT
===================== */

.alert{
    padding:12px;

    border-radius:10px;

    margin-bottom:15px;

    font-size:14px;

    text-align:center;
}

.success{
    background:#e8f7ee;
    color:#0c7a43;
}

.error{
    background:#fdecea;
    color:#c0392b;
}


/* =====================
   SUCCESS BOX
===================== */

.success-box{
    background:#e8f7ee;

    color:#0c7a43;

    padding:14px;

    border-radius:10px;

    text-align:center;

    margin-bottom:15px;
}


/* =====================
   LOGIN BUTTON
===================== */

.login-btn{
    display:inline-block;

    padding:10px 20px;

    background:#0c7c04;

    color:white !important;

    border-radius:6px;

    text-decoration:none;
}


/* =====================
   BOTTOM LINKS
===================== */

.bottom{
    text-align:center;

    margin-top:20px;

    font-size:14px;
}

.bottom a{
    text-decoration:none;

    color:#490e49;

    font-weight:700;

    margin:0 5px;
}

.bottom span{
    color:#ccc;
}


/* =====================
   MOBILE
===================== */

@media (max-width:768px){

    body{
        padding:20px;
    }

    .card{
        max-width:500px;

        padding:35px 28px;
    }

    h2{
        font-size:30px;
    }

    .logo img{
        width:75px;
    }

    label{
        font-size:15px;
    }

    input{
        font-size:16px; /* prevent iPhone zoom */
        padding:15px;
    }

    button{
        font-size:16px;
        padding:15px;
    }

    .desc{
        font-size:14px;
    }

    .bottom{
        font-size:14px;
    }
}