/* ConfVision — tela de login */

:root {
    --login-bg: #070b14;
    --login-card: rgba(15, 23, 42, 0.82);
    --login-border: rgba(56, 189, 248, 0.22);
    --login-text: #e2e8f0;
    --login-muted: #94a3b8;
    --login-accent: #22d3ee;
    --login-accent-hover: #06b6d4;
    --login-input-bg: rgba(7, 11, 20, 0.65);
    --login-radius: 16px;
    --login-font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body.login-page {
    min-height: 100vh;
    font-family: var(--login-font);
    color: var(--login-text);
    background: var(--login-bg);
    overflow-x: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(99, 102, 241, 0.12), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 80%, rgba(34, 211, 238, 0.08), transparent 45%),
        var(--login-bg);
    pointer-events: none;
}

.login-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 2.25rem 2rem 2rem;
    background: var(--login-card);
    border: 1px solid var(--login-border);
    border-radius: var(--login-radius);
    backdrop-filter: blur(18px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(34, 211, 238, 0.06);
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 120px;
    margin: 0 auto 0.75rem;
    object-fit: contain;
}

.login-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--login-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.login-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--login-muted);
    letter-spacing: 0.02em;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 0.95rem;
    font-size: 1rem;
    color: var(--login-muted);
    pointer-events: none;
    line-height: 1;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.65rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--login-text);
    background: var(--login-input-bg);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-input::placeholder {
    color: rgba(148, 163, 184, 0.55);
}

.login-input:hover {
    border-color: rgba(56, 189, 248, 0.28);
}

.login-input:focus {
    border-color: var(--login-accent);
    background: rgba(7, 11, 20, 0.85);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    width: 100%;
    height: 48px;
    margin-top: 0.35rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #042f2e;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.28);
}

.login-btn i {
    font-size: 1.35rem;
    line-height: 1;
}

.login-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 28px rgba(34, 211, 238, 0.38);
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.login-footer {
    margin-top: 1.75rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.45);
    letter-spacing: 0.03em;
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .login-logo {
        max-width: 168px;
        max-height: 100px;
    }
}
