﻿body {
    margin: 0;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(-45deg, #0f172a, #1e3a8a, #090d16, #172554);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.25) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    animation: circleOrbitBefore 12s linear infinite;
}

@keyframes circleOrbitBefore {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-120px, 140px) scale(1.15);
    }

    66% {
        transform: translate(60px, 90px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.login-page::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,.2) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
    animation: circleOrbitAfter 15s linear infinite;
}

@keyframes circleOrbitAfter {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(140px, -110px) scale(1.2);
    }

    66% {
        transform: translate(90px, -160px) scale(0.85);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}
/* grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: .03;
    pointer-events: none;
    background-image: linear-gradient(white 1px,transparent 1px),linear-gradient(90deg,white 1px,transparent 1px);
    background-size: 40px 40px;
}

.login-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: fadeInUp .4s ease both;
}

@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.login-logo {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg,#1d4ed8,#0ea5e9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
}

.login-card h2 {
    color: white;
    text-align: center;
    font-family: 'Outfit',sans-serif;
    font-size: 24px;
    margin: 0 0 4px;
}

.login-card > p {
    color: rgba(255,255,255,.5);
    text-align: center;
    font-size: 13.5px;
    margin: 0 0 28px;
}

.form-label-login {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255,255,255,.6);
    margin-bottom: 6px;
    display: block;
}

.input-wrap {
    position: relative;
}

    .input-wrap i {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255,255,255,.35);
        font-size: 15px;
    }

.login-input {
    width: 100%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 9px;
    color: white;
    padding: 11px 14px 11px 38px;
    font-size: 13.5px;
    font-family: 'Plus Jakarta Sans',sans-serif;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

    .login-input::placeholder {
        color: rgba(255,255,255,.3);
    }

    .login-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,.2);
        background: rgba(255,255,255,.12);
    }

.toggle-pwd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.35);
    cursor: pointer;
    font-size: 15px;
    padding: 0;
}

.demo-box {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

    .demo-box p {
        color: rgba(255,255,255,.5);
        font-size: 11.5px;
        margin: 0 0 6px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

.demo-creds {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-cred {
    font-size: 12px;
    color: rgba(255,255,255,.6);
}

    .demo-cred code {
        color: #60a5fa;
        font-size: 12px;
        background: rgba(96,165,250,.1);
        padding: 1px 5px;
        border-radius: 4px;
    }

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg,#1d4ed8,#0ea5e9);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit',sans-serif;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-login:hover {
        opacity: .9;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(29,78,216,.4);
    }

    .btn-login:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }

.divider {
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 20px 0;
}

.footer-text {
    text-align: center;
    color: rgba(255,255,255,.25);
    font-size: 11px;
    margin: 0;
}

.alert-login {
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fca5a5;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-label {
    color: rgba(255,255,255,.6);
    font-size: 12.5px;
}


