*,
*::before,
*::after
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body
{
    height: 100%;
}

body
{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
    color: #e5e7eb;
}

.login-page
{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.login-card
{
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.92);
    border-radius: 24px;
    padding: 24px 22px 20px 22px;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(18px);
}

.login-header
{
    text-align: center;
    margin-bottom: 24px;
}

.login-logo-image
{
    width: 64px;
    height: 64px;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo-image img
{
    width: 64px;
    height: 64px;
    border-radius: 0; /* eller 12px eller 999px om du vill runda */
    box-shadow: none;
    border: none;
    background: none;
}

.login-title
{
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #f9fafb;
    margin-bottom: 4px;
}

.login-subtitle
{
    font-size: 14px;
    color: #9ca3af;
}

.login-alert
{
    background: rgba(248, 113, 113, 0.12);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(248, 113, 113, 0.4);
    font-size: 13px;
    color: #fecaca;
}

.login-alert-sub
{
    display: block;
    font-size: 12px;
    color: #fca5a5;
    margin-top: 2px;
}

.login-form
{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label
{
    font-size: 13px;
    color: #e5e7eb;
}

.input-wrapper
{
    position: relative;
}

.input-wrapper input
{
    width: 100%;
    padding: 11px 13px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: radial-gradient(circle at top left, #020617, #020617 40%, #020617 100%);
    color: #f9fafb;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        transform 0.05s ease;
}

.input-wrapper input::placeholder
{
    color: #6b7280;
}

.input-wrapper input:focus
{
    border-color: #38bdf8;
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.7),
        0 0 0 6px rgba(56, 189, 248, 0.12);
    transform: translateY(-0.5px);
}

.login-button
{
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    background-image: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #020617;
    box-shadow:
        0 12px 22px rgba(34, 197, 94, 0.35),
        0 0 0 1px rgba(15, 23, 42, 0.85);
    transition:
        transform 0.06s ease,
        box-shadow 0.1s ease,
        filter 0.1s ease;
}

.login-button:active
{
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 4px 12px rgba(34, 197, 94, 0.2),
        0 0 0 1px rgba(15, 23, 42, 0.9);
    filter: brightness(0.97);
}

.login-hint
{
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: #9ca3af;
    line-height: 1.4;
}

.login-footer
{
    margin-top: 18px;
    font-size: 11px;
    text-align: center;
    color: #6b7280;
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
}

.login-footer .dot
{
    font-size: 13px;
    line-height: 1;
}

@media (min-width: 480px)
{
    .login-card
    {
        padding: 28px 26px 22px 26px;
    }

    .login-title
    {
        font-size: 26px;
    }
}
