﻿@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --bg0: #07121c;
    --bg1: #0b1f2f;
    --text: #e9f3ff;
    --muted: #9bb2c6;
    --accent: #19d3c5; /* teal */
    --accent2: #2aa7ff; /* blue */
    --border: rgba(255,255,255,.10);
    --shadow: 0 22px 70px rgba(0,0,0,.45);
}

* {
    box-sizing: border-box;
}



.login-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Figtree', 'Plus Jakarta Sans', sans-serif;
    color: #0e2a3a;
    background: linear-gradient(135deg, #0f3d5e 0%, #165c87 40%, #1e7bb8 100%);
}

/* glows */
.login-bg-glow {
    position: fixed;
    inset: auto;
    width: 520px;
    height: 520px;
    filter: blur(70px);
    opacity: .6;
    border-radius: 999px;
    pointer-events: none;
}

.glow-1 {
    left: -120px;
    top: -140px;
    background: rgba(25,211,197,.55);
}

.glow-2 {
    right: -160px;
    bottom: -180px;
    background: rgba(42,167,255,.55);
}

.login-shell {
    width: min(440px, 92vw);
    padding: 24px;
}

.login-card {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.login-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.login-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: .6px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #06202a;
}


.login-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

    .login-logo-img img {
        max-width: 180px;
        height: auto;
    }

.login-title {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .2px;
}

.login-sub {
    margin-top: 2px;
    font-size: 12px;
    color: #0088ff;
}

.login-error {
    border: 1px solid rgba(220,53,69,.4);
    background: rgba(220,53,69,.1);
    color: #a3242f;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #0369a1;
    margin-top: 6px;
}


.login-input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid #d0d7de;
    background: #f5f8fb;
    color: #0e2a3a;
    outline: none;
}

    .login-input:focus {
        border-color: rgba(25,211,197,.50);
        box-shadow: 0 0 0 3px rgba(25,211,197,.12);
    }

.login-btn {
    margin-top: 16px;
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    color: white;
    background: linear-gradient(90deg, #19d3c5, #2aa7ff);
    box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

    .login-btn:hover {
        filter: brightness(1.05);
    }

.login-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #0088ff;
}

.login-card {
    position: relative;
    z-index: 10;
}
#butterflyCanvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}
.login-shell {
    position: relative;
    z-index: 2;
}