* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

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

    background: #0f0b1a;
    color: #f5f3ff;

    font-family: Arial, Helvetica, sans-serif;
}

.background-glow {
    position: fixed;

    width: 500px;
    height: 500px;

    background: rgba(139, 92, 246, 0.12);

    filter: blur(120px);

    border-radius: 50%;

    pointer-events: none;
}

.login-wrapper {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 24px;
}

.login-card {
    background: #171226;

    border: 1px solid #30234d;
    border-radius: 18px;

    padding: 42px;

    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.brand {
    text-align: center;

    margin-bottom: 8px;

    font-size: 36px;
    font-weight: 800;

    letter-spacing: 1px;

    color: #a78bfa;
}

.title {
    text-align: center;

    margin: 0;

    font-size: 22px;
    font-weight: 700;

    color: #ffffff;
}

.subtitle {
    text-align: center;

    margin: 10px 0 32px;

    color: #a49bbd;

    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;

    margin-bottom: 8px;

    color: #d8d0ed;

    font-size: 14px;
    font-weight: 600;
}

input {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #3b2d5d;
    border-radius: 10px;

    outline: none;

    background: #100c1c;
    color: #ffffff;

    font-size: 14px;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input::placeholder {
    color: #706786;
}

input:focus {
    border-color: #8b5cf6;

    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.15);
}

.login-button {
    width: 100%;

    margin-top: 6px;

    padding: 14px;

    border: none;
    border-radius: 10px;

    background: #8b5cf6;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.2s;
}

.login-button:hover {
    background: #a78bfa;

    transform: translateY(-1px);
}

.error {
    margin-bottom: 20px;

    padding: 12px 14px;

    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 10px;

    background: rgba(248, 113, 113, 0.1);

    color: #fca5a5;

    text-align: center;

    font-size: 13px;
}

.footer {
    margin-top: 28px;

    text-align: center;

    color: #716887;

    font-size: 12px;
}

@media (max-width: 480px) {

    .login-card {
        padding: 30px 24px;
    }

    .brand {
        font-size: 32px;
    }
}