/* ===========================
   Mentor-X Authentication
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    background: linear-gradient(135deg, #4f46e5, #ec4899);

    padding: 20px;

}

.container {

    width: 100%;

    max-width: 420px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(20px);

    border-radius: 25px;

    padding: 35px;

    text-align: center;

    border: 2px solid rgba(255, 255, 255, .4);

    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);

}

.logo {

    width: 90px;

    margin-bottom: 20px;

}

h2 {

    color: white;

    margin-bottom: 25px;

}

input {

    width: 100%;

    padding: 14px;

    margin: 10px 0;

    border: none;

    border-radius: 12px;

    outline: none;

    font-size: 16px;

}

input:focus {

    box-shadow: 0 0 10px #fff;

}

button {

    width: 100%;

    padding: 14px;

    margin-top: 15px;

    border: none;

    border-radius: 12px;

    background: #2563eb;

    color: white;

    font-size: 17px;

    cursor: pointer;

    transition: .3s;

    font-weight: bold;

}

button:hover {

    background: #1d4ed8;

}

p {

    margin-top: 20px;

    color: white;

}

a {

    color: #fff700;

    text-decoration: none;

    font-weight: bold;

}

a:hover {

    text-decoration: underline;

}

#msg {

    margin-top: 15px;

    font-weight: bold;

    color: #ffeb3b;

    word-break: break-word;

}

@media(max-width:600px) {

    .container {

        padding: 25px;

    }

    .logo {

        width: 70px;

    }

    h2 {

        font-size: 24px;

    }

    input {

        font-size: 15px;

    }

    button {

        font-size: 16px;

    }

}

/* =========================
   PAGE LOADER
========================= */

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(140deg, #6565f9, #fb8ea0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: 0.5s ease;
}

.loader-box {
    text-align: center;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 7px solid rgba(255, 255, 255, .3);
    border-top: 7px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

.loader-box h2 {
    color: white;
    margin-top: 20px;
    font-size: 28px;
    letter-spacing: 1px;
}

.loader-box p {
    color: white;
    margin-top: 8px;
    font-size: 16px;
    opacity: .9;
}

@keyframes spin {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

}