﻿body {
    margin: 0;
    height: 100vh;
    font-family: Segoe UI;
    background: linear-gradient(120deg,#0f172a,#020617);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 380px;
    padding: 40px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(0,255,255,0.2), 0 0 60px rgba(0,0,0,0.5);
    color: white;
    animation: fadeUp .8s;
}

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

.logo {
    width: 80px;
    margin-bottom: 10px;
}

.input-modern {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
}

    .input-modern:focus {
        background: rgba(255,255,255,0.15);
        box-shadow: 0 0 10px #00ffff;
        color: white;
    }

.input-group-text {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
}

.btn-eye {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
}

.btn-login {
    margin-top: 10px;
    background: linear-gradient(45deg,#00f2fe,#4facfe);
    border: none;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 0 12px #00f2fe;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 20px #00f2fe;
    }

#loadingBtn {
    display: none;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:500px) {

    .login-card {
        width: 100%;
        padding: 30px;
    }
}
