﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --p: #4A3AFF;
    --pl: #7B6FFF;
    --pk: #EC4899;
    --g: #10B981;
    --a: #F59E0B;
    --border: #E4E1FF;
}

body {
    font-family: 'Sora',sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0B1F;
    overflow: hidden;
    position: relative;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: drift 12s ease-in-out infinite;
}

.o1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,rgba(74,58,255,.6),transparent 70%);
    top: -120px;
    left: -100px;
}

.o2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle,rgba(16,185,129,.45),transparent 70%);
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
}

.o3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle,rgba(245,158,11,.35),transparent 70%);
    top: 40%;
    left: 58%;
    animation-delay: -8s;
}

@keyframes drift {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(28px,-18px) scale(1.04);
    }

    66% {
        transform: translate(-18px,28px) scale(.97);
    }
}

.grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: 40px 40px;
}

.wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    padding: 44px 44px 40px;
    box-shadow: 0 32px 80px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.05) inset;
    animation: up .5s cubic-bezier(.16,1,.3,1);
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.logo-area {
    text-align: center;
    margin-bottom: 28px;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 99px;
    padding: 8px 18px 8px 10px;
    margin-bottom: 18px;
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

    .logo-circle img {
        height: 24px;
        width: auto;
        object-fit: contain;
    }

.logo-pill-text {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.85);
}

.portal-badge {
    display: inline-block;
    background: linear-gradient(135deg,var(--g),#34D399);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 99px;
    margin-bottom: 14px;
    letter-spacing: .4px;
}

.card-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 4px;
}

.card-sub {
    font-size: 12.5px;
    color: rgba(255,255,255,.45);
}

.divider {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg,var(--g),var(--a));
    border-radius: 2px;
    margin: 14px auto 24px;
}

.fgroup {
    margin-bottom: 14px;
}

.flabel {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.input-w {
    position: relative;
}

.input-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: rgba(255,255,255,.35);
    pointer-events: none;
}

.finput {
    width: 100%;
    padding: 12px 13px 12px 42px;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 12px;
    font-family: 'Sora',sans-serif;
    font-size: 13px;
    color: #fff;
    outline: none;
    transition: all .18s;
}

    .finput::placeholder {
        color: rgba(255,255,255,.28);
    }

    .finput:focus {
        border-color: rgba(74,58,255,.7);
        background: rgba(74,58,255,.12);
        box-shadow: 0 0 0 4px rgba(74,58,255,.18);
    }

.eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.35);
    font-size: 15px;
    transition: color .15s;
}

    .eye-btn:hover {
        color: rgba(255,255,255,.7);
    }

.opts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 22px;
    font-size: 12px;
}

.rem {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.5);
    cursor: pointer;
}

    .rem input {
        accent-color: var(--p);
        width: 14px;
        height: 14px;
    }

.forgot {
    color: var(--pl);
    font-weight: 700;
    cursor: pointer;
}

    .forgot:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg,var(--p),var(--pl));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Sora',sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 6px 24px rgba(74,58,255,.45);
}

    .btn-login:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 32px rgba(74,58,255,.55);
    }

.footer-note {
    text-align: center;
    margin-top: 18px;
    font-size: 11.5px;
    color: rgba(255,255,255,.22);
}

    .footer-note span {
        color: rgba(255,255,255,.4);
        font-weight: 700;
    }

.suc {
    display: none;
    text-align: center;
    padding: 16px 0;
}

.suc-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--g),#34D399);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 12px;
    animation: pop .4s cubic-bezier(.36,.07,.19,.97);
}

@keyframes pop {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.suc-t {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}

.suc-s {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
}
.text-danger{
    color:red;
}
