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

:root {
    --bg-deep:     #0d0d14;
    --bg-surface:  #12121e;
    --bg-raised:   #0f0f1c;
    --bg-nav:      #0a0a12;
    --border-dim:  #1e1e38;
    --border-mid:  #2a2a4a;
    --border-lit:  #3a3a6a;
    --text-body:   #c8c8e0;
    --text-muted:  #8888aa;
    --text-faint:  #5a5a78;
    --text-head:   #eeeef8;
    --gold:        #e8b84b;
    --gold-dark:   #d4a43c;
    --gold-text:   #1a1208;
    --green:       #4dff88;
    --green-bg:    #0d2a14;
    --green-bdr:   #226b33;
    --red:         #ff5555;
    --red-light:   #ff8888;
    --red-bg:      #2a0d0d;
    --red-bdr:     #6b2222;
    --hero-bg:     linear-gradient(135deg, #1a0a2e 0%, #0d0d14 60%, #0a1a1a 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg-deep);
    color: var(--text-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-lit); }

/* ── Nav ── */
.navbar {
    background: var(--bg-nav);
    color: var(--text-body);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    height: 56px;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-mid);
    letter-spacing: 0.04em;
}
.navbar .brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gold);
    text-decoration: none;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.navbar .brand .brand-icon { font-size: 1.4rem; }
.navbar .brand .brand-text { }
.navbar ul { list-style: none; display: flex; gap: .25rem; }
.navbar ul a {
    color: var(--text-muted);
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 4px;
    font-size: .9rem;
    transition: color .15s;
    position: relative;
}
.navbar ul a:hover {
    color: var(--gold);
}
.navbar ul a.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* ── Online badge (navbar) ── */
.online-badge {
    font-size: .78rem;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Hero Banner ── */
.hero {
    background: var(--hero-bg);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}
.hero-content { max-width: 700px; }
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(232, 184, 75, .3), 0 0 60px rgba(232, 184, 75, .1);
    margin-bottom: .75rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #9090b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-btn {
    padding: .8rem 2.2rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: background .15s, color .15s, box-shadow .15s;
    cursor: pointer;
}
.hero-btn--primary {
    background: var(--gold);
    color: var(--gold-text);
}
.hero-btn--primary:hover {
    background: var(--gold-dark);
    box-shadow: 0 0 20px rgba(232, 184, 75, .3);
}
.hero-btn--outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}
.hero-btn--outline:hover {
    background: rgba(232, 184, 75, .1);
}

/* ── Layout ── */
.container {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ── Home content wrapper ── */
.home-content { }

/* ── Section heading ── */
.section-heading {
    font-size: 1.4rem;
    color: var(--text-head);
    margin-bottom: 1.2rem;
}

/* ── Cards / Forms ── */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
    max-width: 400px;
    margin: 0 auto;
}
.card h1, .card h3 { margin-bottom: 1.4rem; font-size: 1.4rem; color: var(--text-head); }

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    margin-bottom: .35rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--bg-deep);
    color: var(--text-body);
    transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 184, 75, .15);
}

.btn {
    display: inline-block;
    padding: .6rem 1.4rem;
    background: var(--gold);
    color: var(--gold-text);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .15s;
    width: 100%;
    margin-top: .5rem;
    text-decoration: none;
    text-align: center;
}
.btn:hover { background: var(--gold-dark); }

.alert {
    padding: .75rem 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: .9rem;
}
.alert-error   { background: var(--red-bg);   color: var(--red-light); border: 1px solid var(--red-bdr); }
.alert-success { background: var(--green-bg); color: var(--green);     border: 1px solid var(--green-bdr); }

.form-link { margin-top: 1rem; text-align: center; font-size: .875rem; }
.form-link a { color: var(--gold); }

/* ── Leaderboard Tables ── */
.ranks-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.ranks-table thead { background: var(--bg-nav); color: var(--gold); }
.ranks-table th,
.ranks-table td { padding: .7rem 1rem; text-align: left; }
.ranks-table tbody tr:nth-child(even) { background: var(--bg-raised); }
.ranks-table tbody tr:hover { background: #1a1a2e; }
.ranks-table .rank-num { font-weight: 700; color: var(--gold); width: 3rem; }

/* ── Podium rows ── */
.ranks-table tr.rank-gold   { background: rgba(232, 184, 75, .08); }
.ranks-table tr.rank-silver { background: rgba(192, 192, 192, .06); }
.ranks-table tr.rank-bronze { background: rgba(205, 127, 50, .06); }
.ranks-table tr.rank-gold:hover   { background: rgba(232, 184, 75, .14); }
.ranks-table tr.rank-silver:hover { background: rgba(192, 192, 192, .1); }
.ranks-table tr.rank-bronze:hover { background: rgba(205, 127, 50, .1); }

.rank-medal { font-size: 1.3rem; line-height: 1; vertical-align: middle; }

h1.page-title { margin-bottom: 1.2rem; font-size: 1.6rem; color: var(--text-head); }

/* ── Footer ── */
.site-footer {
    text-align: center;
    padding: 1.5rem;
    font-size: .8rem;
    color: #3a3a5a;
    background: var(--bg-nav);
    border-top: 1px solid var(--border-dim);
}

/* ── News Feed (home.php) ── */
.news-feed { display: flex; flex-direction: column; gap: 1.5rem; }

.news-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.news-empty-icon {
    font-size: 2.5rem;
    opacity: .5;
}

.news-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    transition: border-color .15s, box-shadow .15s;
}
.news-card:hover {
    border-color: var(--border-lit);
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.news-header { margin-bottom: .75rem; }
.news-title  { font-size: 1.2rem; margin-bottom: .3rem; color: var(--text-head); }
.news-meta   { font-size: .8rem; color: var(--text-faint); }

.news-body {
    font-size: .95rem;
    line-height: 1.65;
    color: #a0a0c0;
    white-space: pre-wrap;
}

.news-actions {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border-dim);
    font-size: .85rem;
}
.news-actions a { color: var(--gold); text-decoration: none; }
.news-actions a:hover { text-decoration: underline; }

/* ── Server status widget (home.php) ── */
.server-widget {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
}
.server-online  { color: var(--green); }
.server-offline { color: var(--red); }

.server-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.server-online  .server-dot { background: var(--green); }
.server-offline .server-dot { background: var(--red); }

.server-ping { font-weight: 400; margin-left: .35rem; color: var(--text-muted); font-size: .8rem; }

/* ── Admin layout (admin_news.php) ── */
.admin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 640px) {
    .admin-layout { grid-template-columns: 1fr; }
}

.admin-form { max-width: none; }
.admin-form h1 { font-size: 1.3rem; margin-bottom: .25rem; }
.edit-hint { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.edit-hint a { color: var(--gold); }

.form-group textarea {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    font-size: .95rem;
    font-family: inherit;
    resize: vertical;
    background: var(--bg-deep);
    color: var(--text-body);
    transition: border-color .15s, box-shadow .15s;
}
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 184, 75, .15);
}

.form-group select {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--bg-deep);
    color: var(--text-body);
    transition: border-color .15s, box-shadow .15s;
}
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 184, 75, .15);
}

.field-hint { font-size: .78rem; color: var(--text-faint); margin-top: .3rem; }

.admin-posts-title { font-size: 1.1rem; margin-bottom: .85rem; color: var(--text-head); }

.post-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }

.post-list-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: .7rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
}
.post-list-item.is-editing { border: 2px solid var(--gold); }

.post-list-info { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.post-list-title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-head); }
.post-list-meta  { font-size: .75rem; color: var(--text-faint); }

.post-list-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; font-size: .85rem; }
.post-list-actions a { color: var(--gold); text-decoration: none; }
.post-list-actions a:hover { text-decoration: underline; }

.link-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}
.delete-btn { color: var(--red); }
.delete-btn:hover { text-decoration: underline; }

.btn-sm {
    width: auto;
    padding: .4rem 1rem;
    font-size: .875rem;
    margin-top: 0;
}

.btn-warn    { background: #e07800; }
.btn-warn:hover { background: #c06600; }
.btn-neutral { background: #555; }
.btn-neutral:hover { background: #444; }

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 700;
    vertical-align: middle;
}
.badge-online  { background: rgba(77, 255, 136, .15); color: var(--green); }
.badge-offline { background: rgba(255, 255, 255, .05); color: var(--text-muted); }
.badge-gm      { background: rgba(232, 184, 75, .2); color: var(--gold); }

/* ── Character list (account.php) ── */
.char-list { display: flex; flex-direction: column; gap: 1rem; }

.char-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.char-name { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: .4rem; margin-bottom: .25rem; color: var(--text-head); }
.char-meta { font-size: .85rem; color: var(--text-muted); }
.char-actions { flex-shrink: 0; }

/* ── Search form ── */
.search-form {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
}
.search-form input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: .5rem .75rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--bg-deep);
    color: var(--text-body);
}
.search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 184, 75, .15);
}

/* ── Character editor (admin_characters.php) ── */
.char-editor-header {
    margin: 1.25rem 0 .75rem;
    font-size: 1rem;
    color: var(--text-head);
}
.char-editor-form { max-width: none; margin-top: .5rem; }
.editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem 1.25rem;
    margin-bottom: 1rem;
}
.char-editor-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }

/* ── Admin Panel sections ── */
.panel-section { margin-bottom: 2.5rem; }
.panel-heading  { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border-dim); color: var(--text-head); }

/* ── Admin Panel top-level tabs ── */
.panel-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-dim);
    margin-bottom: 1.5rem;
}
.panel-tab {
    padding: .65rem 1.4rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s, border-color .15s;
}
.panel-tab:hover { color: var(--text-head); }
.panel-tab--active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-faint); }

/* ── Stat summary pills ── */
.stat-pills {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--text-body);
}

/* ── Sub-tabs (character detail) ── */
.sub-tabs {
    display: flex;
    gap: .5rem;
    margin: 1rem 0;
}

.settings-form { max-width: none; }
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.settings-group {
    border: 1px solid var(--border-mid);
    border-radius: 8px;
    padding: 1rem 1.25rem 1.25rem;
}
.settings-group legend {
    font-weight: 700;
    font-size: .9rem;
    padding: 0 .4rem;
    color: var(--gold);
}

/* ── Download page ── */
.download-card { max-width: 560px; margin: 0 auto; text-align: center; }
.download-version { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.download-btn {
    font-size: 1.1rem;
    padding: .8rem 2rem;
    letter-spacing: .02em;
    display: inline-block;
    width: auto;
}
.download-unavailable { color: var(--text-muted); margin: 1rem 0; }
.patch-notes { text-align: left; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-dim); }
.patch-notes h2 { font-size: 1rem; margin-bottom: .75rem; color: var(--text-head); }
.patch-body { font-size: .9rem; line-height: 1.7; color: #a0a0c0; white-space: pre-wrap; }

/* ── 404 page ── */
.error-page {
    text-align: center;
    padding: 4rem 1rem;
}
.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--border-mid);
    line-height: 1;
    margin-bottom: .25rem;
}
.error-title { font-size: 1.5rem; margin-bottom: .75rem; color: var(--text-head); }
.error-body  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── input[type=number] ── */
.form-group input[type="number"] {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--bg-deep);
    color: var(--text-body);
    transition: border-color .15s, box-shadow .15s;
}
.form-group input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 184, 75, .15);
}

/* ── Rankings tab toggle ── */
.rank-tabs {
    display: inline-flex;
    gap: 0;
    border: 2px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.rank-tab {
    padding: .5rem 1.6rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--bg-surface);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.rank-tab:hover { background: rgba(232, 184, 75, .1); }
.rank-tab--active {
    background: var(--gold);
    color: var(--gold-text);
}

/* ── Responsive nav overflow ── */
@media (max-width: 900px) {
    .navbar { flex-wrap: wrap; height: auto; padding: .5rem 1rem; gap: .5rem; }
    .navbar ul { flex-wrap: wrap; }
    .online-badge { order: -1; }
    .hero-title { font-size: 2rem; }
    .hero { min-height: 320px; }
}

/* ── Data table (admin_items.php) ── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.data-table th,
.data-table td {
    text-align: left;
    padding: .55rem .85rem;
    border-bottom: 1px solid var(--border-dim);
    vertical-align: middle;
}
.data-table th {
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gold);
    background: var(--bg-nav);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255, 255, 255, .03); }

/* ── Inline form (amount set button in table) ── */
.inline-form {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
}
.inline-form input[type="number"] {
    width: 70px;
    padding: .3rem .5rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    font-size: .88rem;
    background: var(--bg-deep);
    color: var(--text-body);
}

/* ── Pagination (admin_items.php) ── */
.pagination {
    display: flex;
    align-items: center;
    gap: .3rem;
    flex-wrap: wrap;
}
.pagination-current {
    background: var(--gold);
    color: var(--gold-text);
    pointer-events: none;
}
.pagination-ellipsis {
    padding: 0 .3rem;
    color: var(--text-faint);
    font-size: .9rem;
}

/* ── Character list helpers ── */
.char-list-id      { color: var(--text-faint); font-size: .82rem; font-variant-numeric: tabular-nums; }
.char-list-offline { color: var(--text-faint); font-size: .8rem; }
.item-manager-selected-row td { background: rgba(232, 184, 75, .08) !important; }

/* ══════════════════════════════════════════════════════
   Online Players tab
   ══════════════════════════════════════════════════════ */
.online-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.25rem;
}
.online-count-block {
    display: flex;
    align-items: baseline;
    gap: .5rem;
}
.online-count-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.online-count-label {
    font-size: .9rem;
    color: var(--text-muted);
}
.refresh-indicator {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .8rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    white-space: nowrap;
}
.refresh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: refresh-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes refresh-pulse {
    0%, 100% { opacity: .3; }
    50%       { opacity: 1; }
}

/* ══════════════════════════════════════════════════════
   Admin Action Log tab
   ══════════════════════════════════════════════════════ */
.log-filter-form {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.25rem;
}
.log-filter-form select,
.log-filter-form input[type="text"] {
    padding: .5rem .75rem;
    border: 1px solid var(--border-mid);
    border-radius: 5px;
    background: var(--bg-deep);
    color: var(--text-body);
    font-size: .9rem;
}

/* Action-type badge */
.action-badge {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.action-badge--constructive {
    background: rgba(77, 255, 136, .12);
    color: #4dff88;
    border: 1px solid rgba(77, 255, 136, .25);
}
.action-badge--destructive {
    background: rgba(255, 85, 85, .12);
    color: #ff8888;
    border: 1px solid rgba(255, 85, 85, .25);
}
.action-badge--neutral {
    background: rgba(232, 184, 75, .1);
    color: var(--gold);
    border: 1px solid rgba(232, 184, 75, .2);
}

/* Log table IP cell */
.log-ip {
    font-size: .78rem;
    font-family: 'Courier New', monospace;
    color: var(--text-faint);
}
