/* ============================================
   NOAMI Floating Auth Bar
   Lightweight CSS loaded on ALL pages
   ============================================ */

/* ─── FLOATING BAR (top-right corner) ──────── */
.noami-floating-bar {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99998;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    animation: noamiBarSlide 0.5s ease;
}

@keyframes noamiBarSlide {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.noami-floating-bar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 6px 8px 6px 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.noami-floating-bar-logo {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00bfa6;
    margin-right: 4px;
}

.noami-fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.noami-fb-btn i {
    font-size: 11px;
}

/* Login button */
.noami-fb-login {
    color: #fff;
    background: transparent;
}
.noami-fb-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Register button — highlighted */
.noami-fb-register {
    color: #fff;
    background: linear-gradient(135deg, #00bfa6, #00e6c8);
    box-shadow: 0 2px 12px rgba(0, 191, 166, 0.3);
}
.noami-fb-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 191, 166, 0.4);
    color: #fff;
}

/* Dashboard button */
.noami-fb-dashboard {
    color: #fff;
    background: linear-gradient(135deg, #00bfa6, #00e6c8);
    box-shadow: 0 2px 12px rgba(0, 191, 166, 0.3);
}
.noami-fb-dashboard:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 191, 166, 0.4);
    color: #fff;
}

/* Logout button */
.noami-fb-logout {
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    font-size: 11px;
}
.noami-fb-logout:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ─── SHORTCODE AUTH LINKS ─────────────────── */
.noami-auth-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.noami-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.noami-auth-login {
    color: #0a1628;
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
}
.noami-auth-login:hover {
    background: #e2e8f0;
    color: #0a1628;
}

.noami-auth-register {
    color: #fff;
    background: linear-gradient(135deg, #00bfa6, #00e6c8);
    box-shadow: 0 2px 8px rgba(0, 191, 166, 0.25);
}
.noami-auth-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.35);
    color: #fff;
}

.noami-auth-dashboard {
    color: #fff;
    background: linear-gradient(135deg, #0a1628, #1a3a5c);
}
.noami-auth-dashboard:hover {
    opacity: 0.9;
    color: #fff;
}

.noami-auth-logout {
    color: #64748b;
    background: transparent;
    font-size: 12px;
}
.noami-auth-logout:hover {
    color: #ef4444;
}

/* ─── WP ADMIN BAR FIX ─────────────────────── */
body.admin-bar .noami-floating-bar {
    top: 48px;
}

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 600px) {
    .noami-floating-bar {
        top: auto;
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    .noami-floating-bar-inner {
        justify-content: center;
        width: 100%;
    }
}
