/* ================= GLOBAL ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
}

/* ================= BACKGROUND ================= */

.app-bg {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1e293b, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= LOGIN ================= */

.center-wrap {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 380px;
    padding: 40px;

    background: rgba(15, 23, 42, 0.8);
    border-radius: 18px;

    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* ================= BRAND ================= */

.brand {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    /* font-size: 28px; */
    width: 240px;
    margin-bottom: 10px;
}

.brand h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.brand p {
    font-size: 14px;
    color: #94a3b8;
}

/* ================= INPUT ================= */

.form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 15px;

    margin-bottom: 15px;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
}

/* ================= BUTTON ================= */

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;

    font-weight: 600;
    font-size: 16px;

    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;

    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}

/* ================= ERROR ================= */

.error {
    margin-top: 10px;
    font-size: 14px;
    color: #f87171;
}

/* ================= SUCCESS ================= */

.success-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.success-card {
    max-width: 600px;
    padding: 40px;

    background: rgba(15, 23, 42, 0.85);
    border-radius: 20px;

    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.success-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.counter {
    font-size: 72px;
    font-weight: 800;
    margin: 20px 0;

    color: #22c55e;
}

/* ================= TEXT ================= */

.success-text {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5f5;
}

.highlight {
    color: #22c55e;
}

/* ================= FIREWORKS ================= */

#fireworks {
    position: fixed;
    inset: 0;
    z-index: 0;
}