:root {
    --primary: #38bdf8;
    --bg: #020617;
    --glass: rgba(15, 23, 42, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: #fff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
}

.login-card {
    position: relative;
    z-index: 10;
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.login-card p { color: #94a3b8; font-size: 0.85rem; margin-bottom: 2rem; }

input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #1e293b;
    border-radius: 12px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
    transition: 0.3s;
}

input:focus { border-color: var(--primary); box-shadow: 0 0 15px rgba(56, 189, 248, 0.3); }

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    border: none;
    border-radius: 12px;
    color: #020617;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3); }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-10px); }
    80% { transform: translateX(10px); }
}

.swal2-popup {
    background: #1e293b !important;
    color: #fff !important;
    border-radius: 20px !important;
    border: 1px solid var(--primary) !important;
}