/* =========================================================
   Admin Aurora Light Theme (Pastel Purple/Cyan/Turquoise)
   Synced with Kiosk Design
   ========================================================= */

/* -------- Base -------- */
:root {
    --text: #0f172a;
    --muted: rgba(15, 23, 42, 0.60);
    --muted2: rgba(15, 23, 42, 0.45);

    --purple: 168, 85, 247;
    --cyan: 34, 211, 238;
    --blue: 59, 130, 246;
    --pink: 236, 72, 153;

    --glass: rgba(255, 255, 255, 0.82);
    --border: rgba(15, 23, 42, 0.12);
    --shadow: 0 18px 60px rgba(17, 24, 39, 0.14);
}

/* -------- Page Background (Aurora + visible pastel) -------- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);

    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        radial-gradient(1400px 1000px at 12% 20%, rgba(168, 85, 247, 0.46), transparent 70%),
        radial-gradient(1400px 1000px at 88% 18%, rgba(34, 211, 238, 0.44), transparent 68%),
        radial-gradient(1300px 950px at 62% 90%, rgba(236, 72, 153, 0.30), transparent 72%),
        radial-gradient(1200px 900px at 30% 80%, rgba(59, 130, 246, 0.28), transparent 72%),
        linear-gradient(135deg,
            #fbf8ff 0%,
            #f6f1ff 10%,
            #eef4ff 22%,
            #e9fbff 36%,
            #eefcff 48%,
            #f5f0ff 60%,
            #fff2f8 74%,
            #f3f7ff 86%,
            #ffffff 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    opacity: 0.16;
    mix-blend-mode: soft-light;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* -------- LOGIN CARD -------- */
.login-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 20px;

    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: var(--shadow);
    text-align: center;

    border: 1px solid var(--border);
}

/* Logo */
.brand-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 50%;

    filter: invert(1) hue-rotate(180deg) contrast(1.2);
    mix-blend-mode: multiply;
}

/* Badge */
.badge-pill {
    background: rgba(var(--purple), 0.10);
    color: rgba(79, 70, 229, 1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(var(--purple), 0.18);
}

/* Inputs */
.form-control {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: var(--text);

    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.form-control::placeholder {
    color: var(--muted2);
}

.form-control:focus {
    background: #fff;
    border-color: rgba(99, 102, 241, 0.55);
    color: var(--text);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16);
    outline: none;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, rgba(var(--blue), 1), rgba(var(--purple), 1));
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    width: 100%;
    margin-top: 10px;
    color: #fff;

    box-shadow: 0 12px 28px rgba(var(--blue), 0.24);
}

.btn-primary:hover {
    filter: brightness(1.03);
}

/* Footer link */
.footer-link {
    margin-top: 2rem;
    display: inline-block;
    background: rgba(15, 23, 42, 0.06);
    padding: 8px 20px;
    border-radius: 20px;
    color: rgba(15, 23, 42, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-link:hover {
    background: rgba(var(--purple), 0.10);
    color: rgba(67, 56, 202, 1);
}