﻿/* ==========================================================
   00. BASE / RESET (eldre fgz-* variabler er fjernet)
   ========================================================== */


/* ==========================================================
   01. GLOBALT TEMA (HOVEDAPP – PORTFØLJE / AKSJER / RANKING)
   ========================================================== */

:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --card: #111827;
    --accent: #22c55e;
    --accent-blue: #0ea5e9;
    --text-main: #fdfdfd;
    --text-muted: #cbd5f5;
    --border-subtle: rgba(148, 163, 184, 0.55);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* GLOBAL BODY – HOVED-TEMA
   OBS: lenger nede finnes en ny body-definisjon for Tips-siden
   som i dag overstyrer denne, siden den står sist.
   Vi lar det stå slik for ikke å knuse eksisterende sider. */
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #1f2937 0, #020617 50%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}


/* ==========================================================
   02. TOPPHEADER (LANDING / HERO)
   ========================================================== */

.fgz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    margin-bottom: 28px;
    background: rgba(15, 23, 42, 0.92);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 12px;
    z-index: 20;
}

.fgz-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fgz-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: radial-gradient(circle at 30% 20%, #4ade80 0, #22c55e 28%, #0f766e 70%, #020617 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.55);
}

.fgz-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fgz-logo-title {
    font-size: 18px;
    font-weight: 700;
}

.fgz-logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.fgz-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fgz-nav a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.fgz-nav a:hover {
    color: #fff;
    border-color: rgba(148, 163, 184, 0.7);
}

.fgz-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ==========================================================
   03. KNAPPER (GLOBALT)
   ========================================================== */

.fgz-btn {
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.18s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fgz-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: #020617;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.55);
}

.fgz-btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 18px 38px rgba(34, 197, 94, 0.65);
}

/* NB: felles .fgz-btn-ghost brukes også i Ranking/Chat – se nederst for override */
.fgz-btn-ghost {
    border-color: var(--border-subtle);
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-muted);
}

.fgz-btn-ghost:hover {
    border-color: rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.98);
    color: #fff;
}


/* ==========================================================
   04. HERO-SEKSJON (FORSIDE / LANDING)
   ========================================================== */

.fgz-hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 28px;
    margin-top: 30px;
    align-items: start;
}

.fgz-hero-tag {
    display: inline-flex;
    gap: 7px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(34, 197, 94, 0.12);
    font-size: 11px;
    margin-bottom: 14px;
}

.fgz-hero-title {
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.fgz-hero-title span {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.fgz-hero-subtitle {
    font-size: 15px;
    max-width: 550px;
    margin-bottom: 18px;
    color: var(--text-main);
}

.fgz-hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fgz-hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fgz-hero-pill {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed var(--border-subtle);
    font-size: 12px;
}


/* HERO – LEADERBOARD CARD */

.fgz-hero-card {
    background: radial-gradient(circle at top left, #111827 0, #020617 55%);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.fgz-hero-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.fgz-hero-card-title {
    font-size: 14px;
    font-weight: 600;
}

.fgz-hero-badge {
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(74, 222, 128, 0.3);
    color: #bbf7d0;
    font-size: 10px;
}

.fgz-leaderboard {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 12px;
}

.fgz-leaderboard th,
.fgz-leaderboard td {
    padding: 6px 6px;
}

.fgz-leaderboard tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.75);
}

.fgz-leaderboard tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.55);
}

.fgz-leaderboard tbody tr:first-child {
    background: linear-gradient(130deg, rgba(34, 197, 94, 0.28), rgba(8, 47, 73, 0.9));
}

.fgz-hero-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}


/* ==========================================================
   05. APP-HEADER (FGZ-APP: PORTFØLJE, AKSJER, FAVORITTER, RANKING)
   ========================================================== */

.fgz-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.fgz-app-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fgz-app-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #4ade80, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 750;
    font-size: 16px;
    color: #e5fdf5;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.fgz-app-logo-title {
    font-size: 18px;
    font-weight: 650;
}

.fgz-app-logo-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* NAV-BAR */

.fgz-app-nav {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 3px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #020617, #020617 50%, #020617);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.fgz-app-nav-btn {
    position: relative;
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 999px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.fgz-app-nav-btn:hover {
    color: #e5fdf5;
}

.fgz-app-nav-btn-active {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

/* NAV: RANKING / CHAT SOM SNAKKEBOBLE */
.fgz-app-nav-btn-chat {
    position: relative;
    border-radius: 999px;
}

.fgz-app-nav-btn-chat::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: inherit;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

/* NICKNAME-PILL */

.fgz-app-nick {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Mer avstand for å få plass til online-tekst */
}

.fgz-app-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.9;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.fgz-app-online-dot {
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    animation: fgz-pulse-green 2s infinite;
}

.fgz-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-left: 8px;
    background: #ffd54a; /* gul */
    box-shadow: 0 0 10px rgba(255,213,74,.55);
}

.fgz-dot-hidden {
    display: none;
}

@keyframes fgz-pulse-green {
    0% {
        box-shadow: 0 0 0 0px rgba(40, 167, 69, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(40, 167, 69, 0);
    }
}

/* Atheno Branded Banner */
.atheno-ad-link {
    text-decoration: none !important;
    display: block;
}

.atheno-ad-banner {
    background: linear-gradient(90deg, #1a2e26 0%, #0d1a15 100%);
    /* Mørk Atheno-grønn */
    border: 1px solid #2ecc71;
    /* Grønn ramme */
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.atheno-ad-banner:hover {
    transform: scale(1.01);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
}

.atheno-ad-banner .atheno-col-left {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(46, 204, 113, 0.3);
    padding-right: 25px;
    min-width: 140px;
}

.atheno-ad-banner .atheno-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.atheno-ad-banner .atheno-logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.atheno-ad-banner .atheno-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .atheno-ad-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .atheno-ad-banner .atheno-col-left {
        border-right: none;
        border-bottom: 1px solid rgba(46, 204, 113, 0.3);
        padding-right: 0;
        padding-bottom: 10px;
        width: 100%;
    }
}

.fgz-app-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: radial-gradient(circle at 30% 0%, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.98));
    font-size: 13px;
    color: #e5fdf5;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fgz-app-profile-link:hover {
    border-color: rgba(56, 189, 248, 0.8);
    background: radial-gradient(circle at 30% 0%, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 0.98));
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.fgz-app-nick-icon {
    font-size: 14px;
}

.fgz-app-nick-name {
    font-weight: 600;
}

/* RESPONSIVE APP-HEADER */

@media (max-width: 900px) {
    .fgz-app-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .fgz-app-nav {
        order: 3;
    }

    .fgz-app-nick {
        align-self: flex-end;
    }
}

@media (max-width: 640px) {
    .fgz-app-nav {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .fgz-app-nav-btn {
        padding-inline: 12px;
    }

    .fgz-app-nick {
        align-self: stretch;
        justify-content: space-between;
    }
}


/* ==========================================================
   06. AKSJER – FILTERBAR / TAGS
   ========================================================== */

.fgz-filter-bar {
    display: grid;
    grid-template-columns: 2.2fr 2.4fr 1.6fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 6px;
}

.fgz-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.fgz-filter-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 2px;
}

.fgz-tag-pill {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.98);
    padding: 5px 10px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fgz-tag-pill:hover {
    border-color: rgba(56, 189, 248, 0.8);
    color: #e5fdf5;
}

.fgz-tag-pill-active {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    border-color: transparent;
    color: #0b1120;
    font-weight: 600;
}

.fgz-filter-search {
    display: flex;
    justify-content: flex-end;
}

/* Responsiv filter-bar */
@media (max-width: 900px) {
    .fgz-filter-bar {
        grid-template-columns: minmax(0, 1fr);
    }

    .fgz-filter-search {
        justify-content: flex-start;
    }
}


/* ==========================================================
   07. SEKSJONER / KORT / GRID
   ========================================================== */

.fgz-section {
    margin-top: 30px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1.2rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid #111827;
}

.fgz-section-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.fgz-section-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.fgz-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fgz-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 900px) {
    .fgz-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fgz-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.fgz-card-label {
    color: var(--accent);
    font-size: 12px;
    margin-bottom: 4px;
}

.fgz-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.fgz-card p {
    color: var(--text-main);
}

.fgz-card-muted {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}


/* FOOTER (GLOBAL) */

.fgz-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.45);
    margin-top: 30px;
    padding-top: 14px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    flex-wrap: wrap;
}


/* ==========================================================
   08. TABELLER / FORM / INPUT
   ========================================================== */

.fgz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.fgz-table th,
.fgz-table td {
    padding: 6px 6px;
}

.fgz-table thead {
    background: rgba(15, 23, 42, 0.96);
}

/* Zebra rows på alle børs-tabeller (siste definisjon vinner) */
.fgz-table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

.fgz-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

.fgz-table tbody tr {
    border-radius: 6px;
}

.fgz-table-tight td,
.fgz-table-tight th {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Form */

.fgz-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fgz-label {
    font-size: 13px;
    color: var(--text-muted);
}

.fgz-input,
.fgz-textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.98);
    padding: 8px 10px;
    color: var(--text-main);
    font-size: 13px;
}

.fgz-input:focus,
.fgz-textarea:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.85);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.fgz-textarea {
    min-height: 90px;
    resize: vertical;
}


/* ==========================================================
   09. PORTFØLJE – METRICS
   ========================================================== */

.fgz-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fgz-metric {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.fgz-metric-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.fgz-metric-value {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.fgz-metric-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.fgz-metric-pos {
    color: #4ade80;
}

.fgz-metric-neg {
    color: #f97373;
}

@media (max-width: 900px) {
    .fgz-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .fgz-metrics {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ==========================================================
   10. RANKING & CHAT – KORT, TABS, RANK-BADGES
   ========================================================== */

.fgz-ranking-column,
.fgz-chat-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Rank-badges */

.fgz-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(30, 64, 175, 0.7);
    color: #e5e7eb;
}

.fgz-rank-gold {
    background: radial-gradient(circle at 30% 0%, #facc15, #f97316);
    color: #111827;
}

.fgz-rank-silver {
    background: radial-gradient(circle at 30% 0%, #e5e7eb, #9ca3af);
    color: #020617;
}

.fgz-rank-bronze {
    background: radial-gradient(circle at 30% 0%, #f97316, #92400e);
    color: #111827;
}

/* PILL-TABS – brukt i Ranking-topplister */

.fgz-tabs-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px;
    background: rgba(5, 12, 32, 0.95);
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.fgz-tab {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    color: #a9b6d6;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.fgz-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.fgz-tab-active {
    background: linear-gradient(135deg, #00d38f, #00a8ff);
    color: #050816;
    box-shadow: 0 0 18px rgba(0, 180, 255, 0.45);
    font-weight: 600;
}

/* Tab-panels – kun aktiv vises */
.fgz-tab-panel {
    display: none;
    margin-top: 0.75rem;
}

.fgz-tab-panel-active {
    display: block;
}


/* ==========================================================
   11. CHAT – STRUKTUR, LISTE, VINDU, INVITE
   ========================================================== */

/* Hovedlayout innenfor chat-kortet: liste -> aktiv chat -> invite */
.fgz-chat-layout {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* HISTORISKE SAMTALER – BOKS */

.fgz-chat-threads {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.6rem 0.5rem;
    border-radius: 14px;
    background: rgba(5, 12, 32, 0.95);
    border: 1px solid rgba(0, 168, 255, 0.25);
}

.fgz-chat-thread {
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    background: rgba(255, 255, 255, 0.01);
}

/* Liiitt zebra, men diskret */
.fgz-chat-thread:nth-child(even) {
    background: rgba(0, 0, 0, 0.16);
}

.fgz-chat-thread:hover {
    transform: translateX(1px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

/* Aktiv / ulest */
.fgz-chat-thread-active {
    background: rgba(0, 168, 255, 0.35);
    box-shadow: 0 0 16px rgba(0, 168, 255, 0.6);
}

.fgz-chat-thread-unread:not(.fgz-chat-thread-active) {
    background: rgba(0, 168, 255, 0.2);
}

/* Tekststørrelser i liste */

.fgz-chat-thread-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    line-height: 1.3;
}

.fgz-chat-thread-name {
    font-weight: 500;
}

.fgz-chat-thread-time {
    opacity: 0.7;
}

.fgz-chat-thread-preview {
    font-size: 0.8rem;
    line-height: 1.3;
    color: #a9b6d6;
}

/* AKTIV CHAT – VINDU */

.fgz-chat-window {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(5, 12, 32, 0.98);
    border: 1px solid rgba(0, 168, 255, 0.3);
}

/* ==========================================================
   08. CHAT TABS
   ========================================================== */
.fgz-chat-tabs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    scrollbar-width: none;
    /* Firefox */
}

.fgz-chat-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.fgz-chat-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.fgz-chat-tab:hover {
    border-color: var(--accent);
    color: #fff;
}

.fgz-chat-tab.active {
    background: var(--accent);
    color: #0b1120;
    border-color: transparent;
    font-weight: 600;
}

.fgz-chat-tab.is-locked {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================
   FIX: Sørg for at chat-fanene alltid er klikkbare
   ========================================================== */
.fgz-chat-tabs {
    position: relative;
    z-index: 50;
}

.fgz-chat-tab {
    position: relative;
    z-index: 1;
}

/* HEADER I AKTIV CHAT */

.fgz-chat-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.fgz-chat-window-name {
    font-weight: 600;
}

.fgz-chat-window-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.fgz-chat-window-actions .fgz-chip {
    font-size: 0.78rem;
}

/* CHAT-FEED – VENSTRE/HØYRE JUSTERING */

.fgz-chat-feed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 360px;
    overflow-y: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.fgz-chat-message {
    display: flex;
    flex-direction: column;
}

/* Innkommende meldinger på venstre side */
.fgz-chat-message-other {
    align-items: flex-start;
}

.fgz-chat-message-other .fgz-chat-meta {
    text-align: left;
}

/* Dine meldinger på høyre side */
.fgz-chat-message-me {
    align-items: flex-end;
}

.fgz-chat-message-me .fgz-chat-meta {
    text-align: right;
    align-self: flex-end;
}

/* Meta over boblene */

.fgz-chat-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.fgz-chat-user {
    font-weight: 500;
}

/* CHAT-BOBBLER – INNKOMMENDE OG EGNE */

/* Innkommende (BergenBull) */
.fgz-chat-bubble {
    display: inline-block;
    max-width: 100%;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb347, #ff6b6b);
    border: none;
    color: #2b0c02;
    font-size: 0.82rem;
    line-height: 1.35;
    box-shadow: 0 0 14px rgba(255, 120, 80, 0.5);
}

/* Dine meldinger (TraderFrode) */
.fgz-chat-bubble-me {
    display: inline-block;
    max-width: 100%;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00d38f, #00a8ff);
    border: none;
    color: #050816;
    font-size: 0.82rem;
    line-height: 1.35;
    box-shadow: 0 0 16px rgba(0, 168, 255, 0.5);
}

/* Ny melding highlight */

@keyframes fgz-chat-new {
    0% {
        transform: scale(1.02);
        box-shadow: 0 0 26px rgba(0, 255, 200, 0.85);
        filter: brightness(1.15);
    }

    60% {
        transform: scale(1.0);
        box-shadow: 0 0 10px rgba(0, 255, 200, 0.3);
        filter: brightness(1.02);
    }

    100% {
        transform: scale(1.0);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        filter: none;
    }
}

.fgz-chat-bubble-new {
    animation: fgz-chat-new 0.7s ease-out 1;
}

/* Input-linje */

.fgz-chat-input {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.fgz-chat-input .fgz-input {
    flex: 1;
}

/* INVITASJONSBÅND UNDER CHAT */

.fgz-invite-band {
    margin-top: 0.25rem;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    background: rgba(5, 12, 32, 0.98);
    border: 1px dashed rgba(0, 168, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.fgz-invite-text {
    color: #a9b6d6;
}

/* INVITER-KNAPP – HIGH IMPACT GRADIENT */

.fgz-btn-invite {
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #00d38f, #00a8ff);
    color: #050816;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.45), 0 0 10px rgba(0, 200, 255, 0.35) inset;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
}

.fgz-btn-invite:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 0 28px rgba(0, 255, 200, 0.7), 0 0 14px rgba(0, 200, 255, 0.45) inset;
}

.fgz-btn-invite:active {
    transform: scale(0.96);
    filter: brightness(0.95);
}

/* CHAT-IKON I RANKINGTABELLENE */

.fgz-chat-icon-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, text-shadow 0.15s ease;
}

.fgz-chat-icon-btn:hover {
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(0, 168, 255, 0.9);
}

/* Responsiv chat-høyde */

@media (max-width: 900px) {

    .fgz-ranking-column,
    .fgz-chat-column {
        gap: 12px;
    }

    .fgz-chat-feed {
        max-height: 260px;
    }
}


/* ==========================================================
   12. TRADE-KNAPPER, MODALER, KOLONNEBREDDER (AKSJER)
   ========================================================== */

/* Trade-knapper i tabell */

.trade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    /* Litt mindre padding */
    font-size: 0.7rem;
    /* Litt mindre font */
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-right: 2px;
    /* Enda mindre avstand for å få de side-om-side */
    transition: transform 0.05s ease, filter 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5);
    white-space: nowrap;
}

/* KJØP – grønn/blå */
.trade-btn-buy {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #020617;
}

/* SELG – rød/oransje */
.trade-btn-sell {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #020617;
}

/* Hover/aktiv effekt */
.trade-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.6);
}

.trade-btn:active {
    transform: translateY(0);
    filter: brightness(0.96);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.7);
}

/* Modal (kjøp/selg dialog) */

.fgz-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.fgz-modal {
    background: #0f1625;
    border: 1px solid #22304d;
    padding: 24px;
    border-radius: 14px;
    width: 420px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
    animation: modalFadeIn 0.25s ease-out;
}

.fgz-modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e7f1ff;
}

.fgz-modal input {
    width: 100%;
    padding: 8px 10px;
    margin-top: 6px;
    margin-bottom: 16px;
    background: #0b111d;
    border: 1px solid #1f2b40;
    border-radius: 8px;
    color: #e7f1ff;
}

.fgz-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.fgz-btn-cancel {
    padding: 8px 14px;
    border-radius: 8px;
    background: #222a38;
    color: #cdd7e6;
    cursor: pointer;
    border: 1px solid #2d384d;
}

.fgz-btn-cancel:hover {
    background: #2f3a4e;
}

.fgz-btn-buy {
    padding: 8px 14px;
    border-radius: 8px;
    background: #0fa66e;
    color: white;
    cursor: pointer;
    border: none;
}

.fgz-btn-buy:hover {
    background: #10b67a;
}

.fgz-btn-sell {
    padding: 8px 14px;
    border-radius: 8px;
    background: #c92f4b;
    color: white;
    cursor: pointer;
    border: none;
}

.fgz-btn-sell:hover {
    background: #db3755;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Kolonnebredder / handel-col */

.fgz-trade-col {
    width: 120px !important;
    text-align: center !important;
}

.fgz-trade-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
}

.fgz-col-fav {
    width: 45px !important;
    text-align: center;
}

.fgz-col-stock {
    width: 180px !important;
}

.fgz-col-ticker {
    width: 80px !important;
}

/* Hjelpeklasser for tabell-kolonner (Aksjer / Favoritter) */
.fgz-col-oms,
.fgz-col-sektor,
.fgz-col-trade,
.fgz-col-handel {
    text-align: center;
}

/* Kjøp/Selg-knapper ved siden av hverandre */
.fgz-table td .trade-btn {
    display: inline-block;
    margin-right: 6px;
    white-space: nowrap;
}


/* ==========================================================
   13. FAVORITT-KNAPP (STJERNE)
   ========================================================== */

.fav-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    color: gold;
    transition: transform 0.1s ease-in-out;
}

.fav-btn:hover {
    transform: scale(1.3);
}


/* ==========================================================
   14. REGLER-SIDE (SPILLREGLER-STIL)
   ========================================================== */

/* OBS: Denne seksjonen overstyrer .fgz-card, .fgz-section etc.
   Det fungerer i dag, men hvis vi får problemer senere kan
   vi lage egne klasser (f.eks. .fgz-rules-card). */

.fgz-rules {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    color: #e5e7eb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fgz-rules-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.fgz-rules-header-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.fgz-rules h1 {
    font-size: clamp(2rem, 4vw, 2.4rem);
    margin: 0 0 0.5rem;
    color: #f9fafb;
}

.fgz-rules-subtitle {
    color: #9ca3af;
    font-size: 0.95rem;
    max-width: 640px;
    margin-bottom: 1.5rem;
}

.fgz-rules-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 800px) {
    .fgz-rules-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fgz-card h2 {
    font-size: 1.25rem;
    margin: 0 0 0.6rem;
    color: #f9fafb;
}

.fgz-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #f9fafb;
}

.fgz-keyinfo-list {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0;
    font-size: 0.93rem;
    color: #9ca3af;
}

.fgz-keyinfo-list li {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.fgz-keyinfo-list li::before {
    content: "•";
    color: #22c55e;
}

.fgz-section h2 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: #f9fafb;
    border-left: 3px solid #22c55e;
    padding-left: 0.5rem;
}

.fgz-section h3 {
    font-size: 1rem;
    margin: 1rem 0 0.3rem;
    color: #e5e7eb;
}

.fgz-section p {
    font-size: 0.95rem;
    margin: 0.2rem 0 0.6rem;
    color: #d1d5db;
}

.fgz-section ul {
    margin: 0.2rem 0 0.8rem 1.1rem;
    padding: 0;
    font-size: 0.93rem;
    color: #d1d5db;
}

.fgz-section li {
    margin-bottom: 0.25rem;
}

.fgz-footer-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 1.6rem;
    border-top: 1px dashed #374151;
    padding-top: 0.8rem;
}


/* ==========================================================
   15. TIPS-SIDE (EGEN TEMA-OVERRIDE)
   ========================================================== */

/* OBS:
   Ny :root + body her gjelder HELE siden (alle sider),
   siden det ikke er scoping. Dette fungerer i dag, men
   hvis vi senere vil at Tips skal ha helt eget tema,
   kan vi flytte dette til f.eks. body.fgz-tips eller lignende.
*/

:root {
    --bg-main: #050814;
    --bg-card: #101528;
    --bg-card-soft: #151a30;
    --accent: #3ef5c8;
    --accent-soft: rgba(62, 245, 200, 0.12);
    --accent-strong: #00e0a3;
    --text-main: #f5f7ff;
    --text-muted: #9aa2c3;
    --border-subtle: #232840;
    --danger: #ff5c7a;
    --warning: #ffb347;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* BODY-OVERRIDE (Tips stil) – gjelder i praksis alle sider nå */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #151a30 0, #050814 45%, #02030a 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Toppmeny / header – Tips */

.fgz-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(3, 10, 24, 0.96), rgba(5, 10, 30, 0.96));
    border-bottom: 1px solid rgba(62, 245, 200, 0.2);
    margin-top: 16px;
}

.fgz-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fgz-logo-badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(62, 245, 200, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    background: radial-gradient(circle at top, #1f293a 0, #050814 60%);
    box-shadow: 0 0 18px rgba(62, 245, 200, 0.35);
}

.fgz-logo-text-main {
    color: var(--text-main);
}

.fgz-logo-text-sub {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.8rem;
}

.fgz-nav {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.fgz-nav a {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: 0.18s ease-out;
    white-space: nowrap;
}

.fgz-nav a:hover {
    color: var(--text-main);
    border-color: rgba(62, 245, 200, 0.3);
    background: rgba(12, 21, 52, 0.7);
}

.fgz-nav a.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-strong);
    box-shadow: 0 0 12px rgba(62, 245, 200, 0.4);
}

/* Hovedinnhold – Tips */

.fgz-main {
    flex: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.8rem 1.5rem 2.5rem;
}

.fgz-breadcrumb {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.fgz-breadcrumb span {
    color: var(--accent);
}

.fgz-page-header {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.fgz-page-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.fgz-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.fgz-page-chip {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(62, 245, 200, 0.7);
    background: rgba(3, 16, 26, 0.7);
    color: var(--accent);
}

.fgz-page-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 640px;
}

/* Grid / kort for tips */

.fgz-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 1.2rem;
}

@media (max-width: 900px) {
    .fgz-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fgz-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.fgz-card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.fgz-tip-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.fgz-tip-item {
    display: flex;
    gap: 0.6rem;
}

.fgz-tip-icon {
    width: 20px;
    line-height: 1.2;
    font-size: 0.95rem;
    opacity: 0.9;
    flex-shrink: 0;
    text-align: center;
}

.fgz-tip-content strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.fgz-tip-content p {
    color: var(--text-muted);
    line-height: 1.4;
}

/* Sidekort / info */

.fgz-side-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.fgz-highlight-card {
    background: radial-gradient(circle at top left, rgba(62, 245, 200, 0.12), rgba(5, 8, 25, 0.98));
    border-radius: 14px;
    border: 1px solid rgba(62, 245, 200, 0.35);
    padding: 0.95rem 1.05rem 1.05rem;
}

.fgz-highlight-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.fgz-highlight-body {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.fgz-bullet-list {
    margin-top: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.fgz-bullet-list li {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.fgz-pills-row {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.fgz-pill {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(62, 245, 200, 0.4);
    color: var(--accent-strong);
    background: rgba(3, 18, 22, 0.9);
}

.fgz-warning-card {
    background: linear-gradient(135deg, rgba(60, 8, 24, 0.98), rgba(10, 7, 24, 0.98));
    border-radius: 14px;
    border: 1px solid rgba(255, 92, 122, 0.6);
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    color: #ffeaf0;
}

.fgz-warning-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.fgz-warning-body {
    line-height: 1.4;
}

.fgz-warning-strong {
    color: #ffd0db;
    font-weight: 500;
}

/* Bunn-knapp Tips */

.fgz-footer-cta {
    margin-top: 1.6rem;
    display: flex;
    justify-content: flex-end;
}

.fgz-cta-btn {
    border-radius: 999px;
    border: 1px solid rgba(62, 245, 200, 0.7);
    background: radial-gradient(circle at top, #1a2640 0, #06101c 60%);
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    color: var(--accent-strong);
    box-shadow: 0 0 14px rgba(62, 245, 200, 0.45);
}

.fgz-cta-btn span.icon {
    font-size: 1rem;
}

.fgz-cta-btn:hover {
    filter: brightness(1.08);
}


/* ==========================================================
   16. RESPONSIVE – GLOBALT
   ========================================================== */

@media (max-width: 900px) {
    .fgz-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page {
        padding-inline: 14px;
    }

    .fgz-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   17. AUTH / REGISTER
   ========================================================== */

.fgz-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr);
    gap: 16px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .fgz-auth-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fgz-auth-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.fgz-auth-legend {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    opacity: 0.9;
    margin-bottom: 4px;
}

.fgz-auth-heading {
    font-size: 1.2rem;
    margin: 0 0 4px;
}

.fgz-auth-group {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.fgz-auth-field-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.fgz-auth-radio-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fgz-auth-radio-label input {
    margin-top: 3px;
}

.fgz-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.fgz-auth-checkbox input {
    margin-top: 3px;
}

.fgz-auth-submit-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fgz-auth-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    max-width: 320px;
}

/* ===== AUTH: Passord hjelp + øye-knapp ===== */

.fgz-input-wrap {
    position: relative;
    width: 100%;
}

.fgz-input-has-eye {
    padding-right: 44px;
    /* gir plass til øyet utan å endre høgde/breidde */
}

.fgz-eye-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: var(--text-muted);
    opacity: 0.85;
}

.fgz-eye-btn:hover {
    opacity: 1;
}

/* Hjelpetekst-blokk (roleg, liten) */
.fgz-helptext {
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text-muted);
    opacity: 0.95;
}

.fgz-helptext-list {
    margin: 6px 0 0 18px;
    padding: 0;
}

.fgz-helptext-list li {
    margin: 2px 0;
}


/* =========================================================
   LANDING – INNVENDIG KLARING / MAX-WIDTH
   ========================================================= */

.fgz-landing-page {
    width: 100%;
    padding: 22px 18px 40px;
}

.fgz-landing-inner {
    max-width: 1180px;
    /* juster 1080–1240 etter smak */
    margin: 0 auto;
}

/* Mer luft i hero */
.fgz-hero {
    margin-top: 18px;
    margin-bottom: 22px;
    gap: 28px;
}

/* Seksjonsrytme */
.fgz-section {
    margin-top: 18px;
    margin-bottom: 18px;
}

/* Grid spacing */
.fgz-grid-2,
.fgz-grid-3 {
    gap: 16px;
}

/* Cards: litt mer luft */
.fgz-card,
.fgz-card-muted {
    padding: 16px 16px;
}

/* På veldig brede skjermer – hold innhold samlet */
@media (min-width: 1400px) {
    .fgz-landing-inner {
        max-width: 1120px;
    }
}

/* =========================================================
   HEADER – samme "klaring" som landing-inner
   ========================================================= */

/* Gjør at header ikke går helt ut i veggen på store skjermer */
.fgz-app-header {
    max-width: 1180px;
    margin: 12px auto 0;
    padding-left: 14px;
    padding-right: 14px;
}

/* På veldig brede skjermer – hold header likt som landing-inner */
@media (min-width: 1400px) {
    .fgz-app-header {
        max-width: 1120px;
    }
}

/* Locked links on landing */
.fgz-locked {
    position: relative;
    opacity: 0.95;
}

.fgz-locked::after {
    content: "🔒";
    margin-left: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.fgz-admin-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 255, 200, 0.18);
    border: 1px solid rgba(0, 255, 200, 0.4);
    font-size: 0.8rem;
    margin-right: 8px;
}

/* ===== "Mer" dropdown ===== */
.fgz-nav-more {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* caret litt mindre */
.fgz-more-caret {
    font-size: .9em;
    opacity: .85;
}

/* menyboks */
.fgz-more-menu {
    position: absolute;
    top: calc(100% + 8px);
    /* Litt avstand visuelt */
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(10, 14, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);

    /* Smooth transition */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
    transition-delay: 0.3s;
    /* Blir værende litt lenger når musa fer */

    z-index: 999;
}

/* Bru bru mellom knapp og meny så hovra ikkje knekk */
.fgz-more-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

/* Hover (PC) */
.fgz-nav-more:hover .fgz-more-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
    /* Opnar med ein gong */
}

/* Click-open (mobil) */
.fgz-nav-more.is-open .fgz-more-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.fgz-more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
}

.fgz-more-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.fgz-more-item.is-active {
    background: rgba(0, 208, 132, 0.12);
    /* FGZ grønn-ish */
    border: 1px solid rgba(0, 208, 132, 0.25);
}

.fgz-more-sep {
    height: 1px;
    margin: 8px 6px;
    background: rgba(255, 255, 255, 0.10);
}

/* =========================
   RANKING – TABELL (ZEBRA TYDELIG)
   ========================= */

/* Tydeleg zebra */
.fgz-table tbody tr:nth-child(odd) td {
    background: rgba(0, 0, 0, 0.18);
}

.fgz-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

/* Skarp rad-separator */
.fgz-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Hover med FGZ-grøn */
.fgz-table tbody tr:hover td {
    background: rgba(0, 208, 132, 0.10);
}


/* =========================
   CHAT – TRÅDLISTE (ZEBRA TYDELIG)
   ========================= */

.fgz-chat-threads {
    padding: 6px;
    border-radius: 16px;
}

/* Zebra: annankvar rad tydeleg mørk */
.fgz-chat-thread {
    border-radius: 14px;
    padding: 12px 12px;
    margin: 6px 0;
}

.fgz-chat-thread:nth-child(odd) {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fgz-chat-thread:nth-child(even) {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover: grønn, men ikkje for sterk */
.fgz-chat-thread:hover {
    background: rgba(0, 208, 132, 0.10);
    border-color: rgba(0, 208, 132, 0.25);
}

/* Aktiv tråd: skarpare highlight */
.fgz-chat-thread-active {
    background: linear-gradient(90deg, rgba(0, 208, 132, 0.30), rgba(0, 208, 132, 0.12)) !important;
    border: 1px solid rgba(0, 208, 132, 0.35) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* =========================
   CHAT – BOBLER (SKARPAR)
   ========================= */

/* Andre sine bobler: meir kontrast + skarpare kant */
.fgz-chat-bubble {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

/* (Valfritt) litt "glød" men kontrollert på andre */
.fgz-chat-message-other .fgz-chat-bubble {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Mine bobler: meir "dempet FGZ" men tydeleg */
.fgz-chat-bubble-me {
    background: rgba(0, 208, 132, 0.26);
    /* dempa grøn */
    border: 1px solid rgba(0, 208, 132, 0.38);
    color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.40), 0 0 18px rgba(0, 208, 132, 0.14);
}

/* Mine meldingar litt meir "crisp" */
.fgz-chat-message-me .fgz-chat-bubble {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 208, 132, 0.18);
}

/* =========================
   CHAT – ANDRE SINE BOBLER
   LYS ORANSJE / SKARP
   ========================= */

.fgz-chat-message-other .fgz-chat-bubble {
    /* Lys oransje bakgrunn */
    background: linear-gradient(135deg, rgba(255, 170, 90, 0.28), rgba(255, 140, 60, 0.22));
    /* Tydelig oransje kant */
    border: 1px solid rgba(255, 155, 70, 0.55);
    /* Kvitt tekst for kontrast */
    color: #ffffff;
    /* Skarpare, men kontrollert djupne */
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 155, 70, 0.22);
    backdrop-filter: blur(6px);
}

/* Litt ekstra “crisp” kant på hover (valfritt, men lekkert) */
.fgz-chat-message-other .fgz-chat-bubble:hover {
    border-color: rgba(255, 175, 95, 0.75);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48), 0 0 28px rgba(255, 165, 85, 0.30);
}

.fgz-chat-message-other .fgz-chat-bubble {
    border-width: 1.5px;
}

.fgz-chat-time {
    font-size: 0.7rem;
    opacity: 0.55;
    margin-top: 4px;
}

/* =========================
   CHATLISTE – DINE SAMTALER
   MEIR KONTRAST / ZEBRA
   ========================= */

/* Grunnrad */
.fgz-chat-thread {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    transition: all .15s ease;
}

/* Zebra – annankvar rad mørkare */
.fgz-chat-thread:nth-child(even) {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
}

/* Hover – lysare, men kontrollert */
.fgz-chat-thread:hover {
    background: linear-gradient(180deg, rgba(0, 208, 132, 0.14), rgba(0, 208, 132, 0.08));
    border-color: rgba(0, 208, 132, 0.35);
}

/* AKTIV SAMTALE – mykje tydelegare */
.fgz-chat-thread-active {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.28), rgba(0, 140, 90, 0.22));
    border: 1px solid rgba(0, 208, 132, 0.65);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Ulest – ekstra punch */
.fgz-chat-thread-unread {
    background: linear-gradient(135deg, rgba(0, 208, 255, 0.18), rgba(0, 160, 255, 0.12));
    border-color: rgba(0, 180, 255, 0.45);
}

/* =========================
   PASSORD – VIS/SKJUL ØYE
   ========================= */
.fgz-pass-wrap {
    position: relative;
}

.fgz-pass-input {
    padding-right: 46px;
    /* plass til øye */
}

.fgz-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.fgz-pass-toggle:hover {
    background: rgba(0, 208, 132, 0.15);
}

/* ===========================
   CHAT – ULEST (TEST / DEBUG)
   =========================== */
.fgz-chat-thread-unread {
    border: 2px solid rgba(255, 200, 80, 0.85) !important;
    background: rgba(255, 200, 80, 0.14) !important;
    position: relative;
}

.fgz-chat-thread-unread-dot {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 200, 80, 0.95);
    box-shadow: 0 0 14px rgba(255, 200, 80, 0.65);
}

/* =========================
   RANKING – CHAT IKON (ULEST)
   EKSTRA TYDELIG GLOD
   ========================= */

.fgz-chat-icon-btn.is-unread {
    color: #ffd166;
    /* lys varm gul */
    text-shadow: 0 0 6px rgba(255, 209, 102, 0.9), 0 0 12px rgba(255, 180, 60, 0.85), 0 0 22px rgba(255, 160, 40, 0.75);
}

.fgz-chat-icon-btn.is-unread:hover {
    text-shadow: 0 0 10px rgba(255, 209, 102, 1), 0 0 20px rgba(255, 180, 60, 0.95), 0 0 34px rgba(255, 150, 30, 0.9);
}

@keyframes fgz-pulse {
    0% {
        box-shadow: 0 0 0 rgba(255, 200, 80, 0.0);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 200, 80, 0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 200, 80, 0.0);
    }
}

.fgz-chat-thread-unread {
    animation: fgz-pulse 2.4s ease-in-out infinite;
}

.fgz-app-nav-btn {
    position: relative;
}

.fgz-nav-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 6px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 6px rgba(250, 204, 21, 1), 0 0 14px rgba(250, 204, 21, 0.9), 0 0 24px rgba(250, 204, 21, 0.7);
}

.fgz-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.9);
}

/* Header badge: uleste samtaler */
.fgz-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    margin-left: 8px;
    border-radius: 999px;
    background: #facc15;
    color: #111827;
    /* mørk tekst */
    font-weight: 800;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 0 8px rgba(250, 204, 21, 1), 0 0 18px rgba(250, 204, 21, 0.9), 0 0 28px rgba(250, 204, 21, 0.7);
}

/* =========================
   NAV – LÅS STØRRELSE
   ========================= */

/* Nav-knapp: fast høgde/line-height */
.fgz-app-nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    /* lås høgde */
    line-height: 1;
    /* hindrer at ekstra element øker linja */
    padding: 0 16px;
    /* lås padding */
    white-space: nowrap;
}

/* Badge/Prikk: legg oppå, ikkje inni flyt */
.fgz-nav-badge,
.fgz-nav-dot {
    position: absolute;
    left: 50%;
    bottom: -6px;
    /* legg under teksten (som på bildet ditt) */
    transform: translateX(-50%);
    margin: 0 !important;
    /* viktig: ikkje påverke layout */
}

/* Badge (tal) – behald storleik */
.fgz-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   FINAL FIX – APP NAV: SAME HØGDE ALLTID (NORMAL/HOVER/ACTIVE)
   Legg denne heilt nederst i fingamezone.css
   ========================================================= */

/* 1) Nav-container */
.fgz-app-nav {
    display: flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
}

/* 2) Alle knappar: LÅS HØGDE + LINE-HEIGHT + PADDING */
.fgz-app-nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    /* <- juster 38–44 om du vil */
    padding: 0 16px;
    line-height: 40px;
    /* <- viktig: same som height */
    font-size: 13px;
    border-radius: 999px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    /* viktig: ingen scaling / ingen y-translate her */
    transform: none !important;
}

/* 3) Hover skal ikkje endre høgde – berre farge */
.fgz-app-nav-btn:hover {
    color: #e5fdf5;
    transform: none !important;
}

/* 4) Active: same høgde, same padding, ingen transform */
.fgz-app-nav-btn-active {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #0b1120;
    font-weight: 600;
    /* ikkje la shadow “late som han er større” */
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
    transform: none !important;
}

/* 5) Badge/prikk: ABSOLUTT slik at dei aldri påverkar breidde/høgde */
.fgz-nav-badge,
.fgz-nav-dot {
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    margin: 0 !important;
    line-height: 1 !important;
}

/* 6) Badge utforming */
.fgz-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #facc15;
    color: #111827;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 0 8px rgba(250, 204, 21, 1), 0 0 18px rgba(250, 204, 21, 0.9), 0 0 28px rgba(250, 204, 21, 0.7);
}

/* 7) Prikk utforming */
.fgz-nav-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 6px rgba(250, 204, 21, 1), 0 0 14px rgba(250, 204, 21, 0.9), 0 0 24px rgba(250, 204, 21, 0.7);
}

/* Hover-open med liten delay (smooth) */
.fgz-more-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

/* Open ved hover eller låst via klikk */
.fgz-nav-more:hover .fgz-more-menu,
.fgz-nav-more.is-open .fgz-more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.fgz-table th {
    line-height: 1.4;
    vertical-align: middle;
}

.fgz-table th {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

/* ==========================================================
   FIX: SCROLLBAR & ALIASER
   ========================================================== */

/* Tving frem scrollbar for å hindre "hopping" */
html {
    overflow-y: scroll;
}

/* Mapper norske navn (fra View) til engelske definisjoner */
/* (Bredder håndteres under i felles-seksjonen) */

/* Nye hjelpeklasser for Portefølje */
.fgz-col-antall,
.fgz-col-pris,
.fgz-col-verdi,
.fgz-col-pnl {
    text-align: right;
}

/* Portfolio Table Overflow Fix */
.fgz-card-muted {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Ensure columns have enough width and don't break layout */
.fgz-col-aksje {
    width: 15%;
    min-width: 110px;
}

.fgz-col-ticker {
    width: 6%;
}

.fgz-col-antall {
    width: 8%;
    text-align: right;
}

.fgz-col-pris {
    width: 8%;
    text-align: right;
}

.fgz-col-idag {
    width: 8%;
    text-align: right;
}

.fgz-col-pnl {
    width: 9%;
    text-align: right;
}

.fgz-col-verdi {
    width: 11%;
    text-align: center;
}

.fgz-col-ureal {
    width: 11%;
    text-align: right;
}

.fgz-col-handel {
    width: 125px;
    min-width: 125px;
    text-align: right;
    white-space: nowrap;
}

/* Subtle scrollbar */
.fgz-card-muted::-webkit-scrollbar {
    height: 6px;
}

.fgz-card-muted::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.fgz-card-muted::-webkit-scrollbar-thumb {
    background: rgba(0, 211, 143, 0.2);
    border-radius: 10px;
}

.fgz-card-muted::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 211, 143, 0.4);
}

@media (max-width: 1024px) {
    .fgz-table {
        min-width: 900px;
        /* Enable scroll on tablets/mobile for readability */
    }
}

/* Stepper Controls in Modal */
.fgz-stepper {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin-top: 4px;
}

.fgz-stepper-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.2s ease;
    user-select: none;
}

.fgz-stepper-btn:hover {
    background-color: var(--fgz-color-accent, #007bff);
    color: white;
    border-color: var(--fgz-color-accent, #007bff);
}

.fgz-stepper-btn:active {
    transform: scale(0.95);
}

.fgz-stepper-input {
    flex: 1;
    text-align: center !important;
    margin: 0 !important;
}

/* Hide number input arrows (spinners) */
.fgz-stepper-input::-webkit-outer-spin-button,
.fgz-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    margin: 0;
}

/* Portfolio Table Overflow Fix */
.fgz-card-muted {
    width: 100%;
    overflow-x: auto;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .fgz-table {
        min-width: 600px;
        /* Force scroll on small screens */
    }
}

/* ==========================================================
   NAV – Gul prikk når det finnes uleste chats
   ========================================================== */
.fgz-app-nav-btn.fgz-has-unread {
    position: relative;
}

    .fgz-app-nav-btn.fgz-has-unread::after {
        content: "";
        position: absolute;
        top: 10px;
        right: 10px;
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #ffd54a; /* gul */
        box-shadow: 0 0 10px rgba(255, 213, 74, .55);
    }

/* ==========================================================
   NAV – Gul prikk Fane Mer og Oppdateringer
   ========================================================== */

.fgz-updates-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
    vertical-align: middle;
}

.fgz-updates-inline-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
    vertical-align: middle;
}