/* AnnyVynil — Login page styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:      #131314;
    --surface: rgba(28, 28, 29, 0.92);
    --line:    rgba(255, 255, 255, 0.1);
    --text:    #f4eee7;
    --muted:   #b8ada0;
    --accent:  #f43f5e;
    --good:    #36c28a;
    --bad:     #ff7b72;
    --radius:  24px;
}

html, body { height: 100%; }

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    padding: 20px;
}

/* Subtle animated gradient background */
.login-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 30% 20%, rgba(244, 63, 94, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 70% 80%, rgba(244, 63, 94, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 44px 40px 36px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Logo */
.login-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.login-logo-icon {
    font-size: 1.6rem;
    color: var(--accent);
    line-height: 1;
}

.login-logo-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Headline */
.login-headline {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 8px;
}

.login-sub {
    font-size: 0.88rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Widget container */
.login-widget-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 54px;
    margin-bottom: 28px;
}

.login-loading {
    font-size: 0.82rem;
    color: var(--muted);
    align-self: center;
}

.login-error {
    font-size: 0.82rem;
    color: var(--bad);
    text-align: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 123, 114, 0.1);
    border: 1px solid rgba(255, 123, 114, 0.25);
}

/* Privacy note */
.login-note {
    font-size: 0.75rem;
    color: rgba(184, 173, 160, 0.55);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .login-card { padding: 32px 24px 28px; }
    .login-headline { font-size: 1.25rem; }
}
