/* =====================================================
   Login / Register Page - Matrix Rain Theme
   ===================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Matrix Rain Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 245, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan), var(--accent-purple));
}

/* Auth Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-purple));
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.2);
}

.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 0.05em;
}

.auth-logo h1 span {
    color: var(--accent-red);
}

.auth-logo p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Auth Form */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-size: 11px;
}

.auth-form .form-control {
    padding: 12px 16px;
    background: rgba(10, 10, 15, 0.8);
    border-color: var(--border-primary);
    font-size: 14px;
}

.auth-form .form-control:focus {
    background: rgba(10, 10, 15, 0.95);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1), var(--shadow-glow-cyan);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 8px;
}

.auth-form .btn-primary:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow-cyan), 0 0 40px rgba(0, 245, 255, 0.2);
    transform: translateY(-1px);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Auth Error */
.auth-error {
    background: rgba(255, 0, 64, 0.1);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Remember Me */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.auth-options .form-check {
    margin: 0;
}

.auth-options .form-check label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Terminal-like effect at bottom */
.auth-terminal {
    margin-top: 32px;
    padding: 12px 16px;
    background: rgba(10, 10, 15, 0.8);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-primary);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.auth-terminal .prompt {
    color: var(--accent-green);
}

.auth-terminal .command {
    color: var(--accent-cyan);
}
