@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
* {
    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;
    padding: 25px;
    background: linear-gradient( 135deg, #ff512f, #dd2476, #6a11cb, #2575fc);
    background-size: 400% 400%;
    animation: bgAnimation 12s ease infinite;
    overflow-x: hidden;
}

@keyframes bgAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* LOGIN BOX */

.login-box {
    width: 100%;
    max-width: 470px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* LOGO */

.logo-box {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient( 135deg, #ff512f, #f09819);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(255, 81, 47, 0.4);
}

.logo-box i {
    font-size: 40px;
    color: white;
}


/* TITLE */

.login-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 32px;
}


/* LABELS */

.form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
}


/* INPUT GROUP */

.input-group {
    margin-bottom: 22px;
}

.input-group-text {
    border: none;
    border-radius: 16px 0 0 16px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.form-control {
    height: 56px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 15px;
    border-radius: 0 16px 16px 0;
    transition: 0.3s;
}

.form-control::placeholder {
    color: #cbd5e1;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.35);
}


/* BUTTON */

.btn-login {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #ff512f, #f09819);
    color: white;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(255, 81, 47, 0.35);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 81, 47, 0.5);
}


/* LINKS */

.extra-links {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.extra-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.extra-links a:hover {
    color: white;
    text-decoration: underline;
}


/* FOOTER */

.footer-text {
    margin-top: 22px;
    text-align: center;
    color: #cbd5e1;
    font-size: 13px;
}


/* ALERT */

.alert {
    border: none;
    border-radius: 14px;
    font-size: 14px;
}


/* CAPTCHA */

.g-recaptcha {
    margin-bottom: 20px;
    transform: scale(0.95);
    transform-origin: left;
}


/* MOBILE */

@media(max-width:576px) {
    body {
        padding: 18px;
    }
    .login-box {
        padding: 28px 22px;
    }
    .login-title {
        font-size: 28px;
    }
    .logo-box {
        width: 75px;
        height: 75px;
    }
    .logo-box i {
        font-size: 32px;
    }
    .g-recaptcha {
        transform: scale(0.82);
        transform-origin: left;
    }
}