/* ==========================================================================
   Authentication View Core Engine (Dark Cyber-Gaming Aesthetic)
   ========================================================================== */
.login-viewport {
    min-height: calc(100vh - 80px);
    background: radial-gradient(circle at 20% 20%, rgba(0, 180, 216, 0.15), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 245, 212, 0.1), transparent 50%),
                linear-gradient(180deg, #060b18 0%, #0a1128 100%);
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.login-container-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Glassmorphic Central Processing Frame */
.login-card {
    background: rgba(6, 11, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 180, 216, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(0, 180, 216, 0.05);
    border-radius: var(--border-radius-box, 24px);
    width: 100%;
    max-width: 480px;
    padding: clamp(30px, 6vw, 50px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    border-color: rgba(0, 245, 212, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(0, 245, 212, 0.1);
}

/* Header Text Layering */
.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--brand-accent-orange, #ff6b00);
    color: var(--brand-accent-orange, #ff6b00);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.login-header h2 {
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 12px;
}

.login-header p {
    color: var(--text-muted, #94a3b8);
    font-size: 14px;
    line-height: 1.6;
}

/* OAuth Social Provider Array */
.auth-providers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-family: var(--font-modern-ui);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s;
}

.btn-provider:hover {
    transform: translateY(-2px);
}

.google {
    background-color: #ffffff;
    color: #1e293b;
}
.google:hover { background-color: #f1f5f9; }

.niantic {
    background-color: #ff3366;
    color: #ffffff;
    border: none;
}
.niantic:hover { background-color: #ff1a53; }
.niantic-icon {
    font-weight: 900;
    font-family: sans-serif;
    background: #ffffff;
    color: #ff3366;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
}

.ptc {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
}
.ptc:hover { background-color: #2563eb; }

.provider-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.ball-filter { filter: brightness(0) invert(1); }

/* Interface Structural Splitter */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: var(--text-muted, #64748b);
    font-family: var(--font-gaming-heading);
    font-size: 9px;
    letter-spacing: 1px;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-divider:not(:empty)::before { margin-right: .75em; }
.auth-divider:not(:empty)::after { margin-left: .75em; }

/* Credential Form Handling */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white, #f8fafc);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-modern-ui);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-cyan, #00b4d8);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.form-link, .highlight-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-cyan, #00b4d8);
    text-decoration: none;
    transition: color 0.2s;
}
.form-link:hover, .highlight-link:hover {
    color: var(--brand-teal, #00f5d4);
}

/* Primary Form Action Request Hub */
.btn-login-submit {
    background: linear-gradient(135deg, var(--brand-cyan, #00b4d8) 0%, var(--brand-teal, #00f5d4) 100%);
    color: #060b18;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s;
}

.btn-login-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
}

.login-footer-text {
    text-align: center;
    color: var(--text-muted, #94a3b8);
    font-size: 14px;
    margin-top: 32px;
}