/* Neptune-Cloud · thème panel (maquette 2 : bleu nuit + accents orange / cyan) — 2026-12-06 */
:root {
    --primary: 249 115 22;
    --gray50: 241 245 249;
    --gray100: 226 232 240;
    --gray200: 184 197 220;
    --gray300: 139 155 184;
    --gray400: 94 112 145;
    --gray500: 40 56 88;
    --gray600: 28 42 70;
    --gray700: rgb(11 20 38 / .86);
    --gray700-default: 11 20 38;
    --gray800: 6 11 24;
    --gray900: 3 7 16;
    --nc-orange: #fb923c;
    --nc-orange-strong: #f97316;
    --nc-cyan: #22d3ee;
    --nc-blue: #3b82f6;
    --nc-line: rgba(56, 89, 140, .28);
    --nc-card: linear-gradient(180deg, rgba(14, 26, 50, .92), rgba(9, 17, 34, .92));
    --radiusBox: 14px;
}

body {
    background:
        radial-gradient(900px 420px at 78% -6%, rgba(249, 115, 22, .16), transparent 60%),
        radial-gradient(700px 500px at 100% 10%, rgba(59, 130, 246, .14), transparent 65%),
        radial-gradient(800px 600px at 0% 100%, rgba(249, 115, 22, .10), transparent 60%),
        rgb(var(--gray800)) !important;
    background-attachment: fixed !important;
}
body > #app .bg-gray-800 { background-color: transparent !important; }

/* ---------- barre latérale ---------- */
.nc-side {
    background: linear-gradient(180deg, rgba(10, 18, 36, .96), rgba(6, 12, 26, .98)) !important;
    border-color: var(--nc-line) !important;
    position: sticky;
}
.nc-side::after {
    content: ""; position: absolute; left: -40px; right: -40px; bottom: -60px; height: 220px; pointer-events: none; z-index: 0;
    background: radial-gradient(60% 60% at 30% 100%, rgba(249, 115, 22, .28), transparent 70%);
}
.nc-side > * { position: relative; z-index: 1; }
.nc-brand { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: 19px; color: #fff; }
.nc-brand small { margin-top: 3px; font-size: 9.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--nc-orange); }
.nc-side .routers_category { font-size: 11px !important; letter-spacing: .12em; color: rgb(var(--gray400)) !important; font-weight: 700 !important; }
.nc-side .routers_link {
    margin: 0 12px; padding: 9px 12px !important; border-radius: 10px; border: 1px solid transparent !important; color: rgb(var(--gray200));
    font-size: 14px; font-weight: 500;
}
.nc-side .routers_link::after { border-radius: 10px; background: linear-gradient(90deg, rgba(249, 115, 22, .22), rgba(249, 115, 22, .04)) !important; }
.nc-side .routers_link:hover { color: #fff; }
.nc-side .routers_link.active {
    color: #fff !important; border-color: rgba(249, 115, 22, .65) !important;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, .15), 0 8px 24px -12px rgba(249, 115, 22, .7);
}
.nc-side .routers_link.active .routers_link_icon, .nc-side .routers_link:hover .routers_link_icon { color: var(--nc-orange) !important; }
.nc-side .nc-ext { margin-left: auto; width: 13px; height: 13px; opacity: .45; }
.nc-side hr, .nc-side .border-b { border-color: var(--nc-line) !important; }

/* ---------- en-tête du tableau de bord ---------- */
.nc-hero { margin: 4px 0 22px; }
.nc-kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--nc-orange); }
.nc-hero h1 { margin: 6px 0 4px; font-size: 34px; line-height: 1.15; font-weight: 800; color: #fff; }
.nc-hero p { color: rgb(var(--gray200)); font-size: 15px; }

.nc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.nc-tile {
    position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px; overflow: hidden;
    border-radius: 14px; border: 1px solid var(--nc-line); background: var(--nc-card);
}
.nc-tile-ico { flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; }
.nc-tile.is-orange .nc-tile-ico { color: var(--nc-orange); background: rgba(249, 115, 22, .12); }
.nc-tile.is-blue .nc-tile-ico { color: var(--nc-cyan); background: rgba(34, 211, 238, .1); }
.nc-tile.is-strong { border-color: rgba(249, 115, 22, .55); background: linear-gradient(120deg, rgba(249, 115, 22, .22), rgba(14, 26, 50, .92) 55%); }
.nc-tile.is-strong .nc-tile-ico { color: #fff; background: linear-gradient(135deg, #f97316, #c2410c); box-shadow: 0 10px 24px -10px rgba(249, 115, 22, .9); }
.nc-tile-txt { min-width: 0; }
.nc-tile-txt small { display: block; font-size: 13px; color: rgb(var(--gray200)); }
.nc-tile-txt b { display: block; margin-top: 2px; font-size: 24px; font-weight: 800; color: #fff; white-space: nowrap; }
.nc-tile-txt b em { font-style: normal; font-size: 14px; font-weight: 500; color: rgb(var(--gray300)); }
.nc-tile-spark { position: absolute; right: 14px; bottom: 18px; width: 34%; max-width: 120px; height: 34px; }
.nc-tile.is-orange .nc-tile-spark { color: var(--nc-orange); }
.nc-tile.is-blue .nc-tile-spark { color: var(--nc-cyan); }
.nc-tile .nc-pill { margin-left: auto; }

.nc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 700; white-space: nowrap; border: 1px solid; }
.nc-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nc-pill.is-ok { color: #4ade80; background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .45); }
.nc-pill.is-ok i { box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.nc-pill.is-warn { color: #fbbf24; background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .4); }
.nc-pill.is-off { color: rgb(var(--gray300)); background: rgba(100, 116, 139, .14); border-color: rgba(100, 116, 139, .35); }
.nc-pill.is-bad { color: #f87171; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .4); }

.nc-panels { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.05fr) minmax(0, 1.1fr); gap: 16px; margin-bottom: 26px; }
.nc-panel { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--nc-line); background: var(--nc-card); min-width: 0; }
.nc-panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.nc-panel h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; font-weight: 700; color: #fff; }
.nc-panel h3 svg { color: rgb(var(--gray200)); }
.nc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: 12px; color: rgb(var(--gray100)); border: 1px solid var(--nc-line); background: rgba(6, 12, 26, .6); }
.nc-legend { display: flex; justify-content: center; gap: 22px; margin-bottom: 4px; font-size: 13px; color: rgb(var(--gray100)); }
.nc-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; vertical-align: -1px; }
.nc-legend .is-cpu::before { background: var(--nc-orange); }
.nc-legend .is-ram::before { background: var(--nc-cyan); }
.nc-legend .is-disk::before { background: var(--nc-blue); }
.nc-chart-box { height: 190px; }
.nc-empty { padding: 26px 8px; text-align: center; font-size: 13px; color: rgb(var(--gray300)); }

.nc-state-body { display: flex; align-items: center; gap: 18px; }
.nc-ring { position: relative; flex-shrink: 0; width: 118px; height: 118px; }
.nc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.nc-ring circle { fill: none; stroke-width: 10; }
.nc-ring .bg { stroke: rgba(56, 89, 140, .3); }
.nc-ring .fg { stroke: #22c55e; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(34, 197, 94, .7)); transition: stroke-dasharray .6s; }
.nc-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.nc-ring b { font-size: 22px; font-weight: 800; color: #fff; }
.nc-ring small { font-size: 11.5px; color: #4ade80; }
.nc-state ul { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nc-state li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgb(var(--gray100)); }
.nc-state li i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid; flex-shrink: 0; }
.nc-state li b { margin-left: auto; color: #fff; }
.nc-state li.is-ok i { border-color: #22c55e; background: #22c55e; }
.nc-state li.is-off i { border-color: #64748b; }
.nc-state li.is-warn i { border-color: var(--nc-orange); }
.nc-state li.is-bad i { border-color: #ef4444; }

.nc-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--nc-orange); }
.nc-activity ol { position: relative; display: flex; flex-direction: column; gap: 12px; }
.nc-activity ol::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: var(--nc-line); }
.nc-activity li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.nc-activity li p { font-size: 13px; color: rgb(var(--gray100)); line-height: 1.35; }
.nc-activity li p b { color: #fff; font-weight: 600; }
.nc-activity li small { font-size: 11.5px; color: rgb(var(--gray300)); }
.nc-act-ico { position: relative; z-index: 1; flex-shrink: 0; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: #0a1428; border: 1px solid var(--nc-line); }
.nc-act-ico.is-green { color: #4ade80; }
.nc-act-ico.is-blue { color: var(--nc-cyan); }
.nc-act-ico.is-red { color: #f87171; }

/* ---------- section « Mes serveurs » ---------- */
.nc-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 14px; }
.nc-sec-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 21px; font-weight: 800; color: #fff; }
.nc-sec-head h2 svg { color: rgb(var(--gray200)); }
.nc-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; font-size: 12px; font-weight: 800; color: #fff; background: #ea580c; box-shadow: 0 0 0 3px rgba(249, 115, 22, .25); }
.nc-sec-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nc-admin-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--gray300)); }
.nc-viewsw { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; border: 1px solid var(--nc-line); background: rgba(6, 12, 26, .6); }
.nc-viewsw button { width: 36px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: rgb(var(--gray300)); }
.nc-viewsw button.is-on { color: #fff; background: linear-gradient(135deg, #f97316, #c2410c); }
.nc-btn-create { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #fff !important;
    border: 1px solid rgba(249, 115, 22, .8); background: rgba(249, 115, 22, .1); transition: .2s; }
.nc-btn-create:hover { background: linear-gradient(135deg, #f97316, #c2410c); }

/* ---------- cartes serveur ---------- */
.nc-card {
    position: relative; overflow: hidden; padding: 20px 22px 18px; min-height: 178px; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--nc-line);
    background: rgba(9, 17, 34, .92); animation: ncCardIn .35s ease both;
}
@keyframes ncCardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.nc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #64748b; z-index: 2; }
.nc-card.is-ok::before { background: linear-gradient(180deg, var(--nc-orange), #c2410c); }
.nc-card:nth-child(even).is-ok::before { background: linear-gradient(180deg, var(--nc-cyan), var(--nc-blue)); }
.nc-card.is-bad::before { background: #ef4444; }
.nc-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .62; z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 70%, transparent 100%); }
.nc-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(9, 17, 34, .25), rgba(9, 17, 34, .92) 62%); }
.nc-card > *:not(.nc-card-bg) { position: relative; z-index: 1; }
.nc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nc-card-top h4 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 22px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.nc-card-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 16px 0 18px; font-size: 14.5px; color: rgb(var(--gray100)); }
.nc-card-stats span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nc-card-stats svg { color: rgb(var(--gray300)); }
.nc-card-spark { margin-left: auto; width: 120px; height: 34px; }
.nc-card-btn {
    display: flex; align-items: center; justify-content: center; gap: 9px; height: 42px; margin-top: auto; border-radius: 11px; font-size: 15px; font-weight: 700; color: #fff !important;
    border: 1px solid rgba(100, 130, 180, .35); background: rgba(10, 20, 40, .75); transition: .2s;
}
.nc-card-btn:hover { border-color: rgba(249, 115, 22, .75); background: rgba(249, 115, 22, .14); }
.nc-card-chev { margin-left: auto; margin-right: -2px; position: absolute; right: 12px; }
.nc-card-btn { position: relative; }
.nc-list .nc-card { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr) 200px; align-items: center; gap: 16px; }
.nc-list .nc-card-stats { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
    .nc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nc-panels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .nc-chart { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .nc-tiles, .nc-panels { grid-template-columns: 1fr; }
    .nc-hero h1 { font-size: 27px; }
    .nc-tile-spark { display: none; }
    .nc-list .nc-card { display: block; }
    .nc-state-body { flex-direction: column; align-items: stretch; }
    .nc-ring { margin: 0 auto; }
}

/* =====================================================================
   Page de connexion
   ===================================================================== */
.nc-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr); }
.nc-auth-side {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 36px 56px;
    border-right: 1px solid var(--nc-line);
    background:
        radial-gradient(520px 520px at 88% 18%, rgba(59, 130, 246, .35), transparent 62%),
        radial-gradient(700px 420px at 10% 105%, rgba(249, 115, 22, .32), transparent 62%),
        radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 40% 80%, #cbd5e1 50%, transparent 51%), radial-gradient(1px 1px at 85% 40%, #cbd5e1 50%, transparent 51%),
        linear-gradient(160deg, #0a1530, #050a17 70%);
}
.nc-auth-side::after {
    content: ""; position: absolute; right: -180px; top: 60px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle at 35% 35%, #3b82f6, #1e3a8a 45%, #0b1a3f 70%);
    box-shadow: 0 0 120px 30px rgba(59, 130, 246, .35), inset -40px -30px 80px rgba(0, 0, 0, .6); opacity: .85;
}
.nc-auth-side > * { position: relative; z-index: 1; }
.nc-auth-brand { display: flex; align-items: center; gap: 12px; }
.nc-auth-brand img { height: 52px; }
.nc-auth-brand span { display: flex; flex-direction: column; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.1; }
.nc-auth-brand small { margin-top: 4px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--nc-orange); font-weight: 700; }
.nc-auth-pitch { max-width: 540px; }
.nc-auth-pitch h1 { margin: 10px 0 14px; font-size: 52px; line-height: 1.05; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.nc-auth-pitch h1 em { font-style: normal; background: linear-gradient(90deg, #fb923c, #f97316 40%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nc-auth-pitch > p { font-size: 16px; color: rgb(var(--gray200)); margin-bottom: 26px; }
.nc-auth-pitch ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nc-auth-pitch li { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--nc-line); background: rgba(8, 16, 32, .55); backdrop-filter: blur(8px); }
.nc-auth-pitch li > span { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--nc-orange); background: rgba(249, 115, 22, .12); }
.nc-auth-pitch li b { display: block; font-size: 14px; color: #fff; }
.nc-auth-pitch li small { display: block; margin-top: 2px; font-size: 12.5px; color: rgb(var(--gray300)); line-height: 1.35; }
.nc-auth-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgb(var(--gray300)); }
.nc-auth-foot a { display: inline-flex; align-items: center; gap: 8px; color: rgb(var(--gray100)); }
.nc-auth-foot a i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.nc-auth-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 28px 28px; }
.nc-auth-top { position: absolute; top: 22px; right: 28px; display: flex; gap: 10px; }
.nc-auth-top a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: rgb(var(--gray100)); border: 1px solid var(--nc-line); background: rgba(8, 16, 32, .6); }
.nc-auth-top a:hover { color: #fff; border-color: rgba(249, 115, 22, .6); }
.nc-auth-wrap { width: 100%; max-width: 440px; }
.nc-auth-card { padding: 32px 30px; border-radius: 20px; border: 1px solid var(--nc-line); background: linear-gradient(180deg, rgba(14, 26, 50, .9), rgba(8, 15, 31, .95)); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(249, 115, 22, .05); }
.nc-auth-card-logo { height: 46px; margin-bottom: 14px; }
.nc-auth-card h2 { margin: 0; font-size: 26px; font-weight: 800; color: #fff; }
.nc-auth-sub { margin: 4px 0 22px; font-size: 14px; color: rgb(var(--gray300)); }
.nc-auth-card input { height: 46px; border-radius: 11px !important; }
.nc-auth-card button[type=submit] { height: 48px; border-radius: 12px !important; font-size: 15px; font-weight: 800; background: linear-gradient(135deg, #f97316, #c2410c) !important; box-shadow: 0 12px 30px -12px rgba(249, 115, 22, .8); }
.nc-auth-sep { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; font-size: 12px; color: rgb(var(--gray400)); text-transform: uppercase; letter-spacing: .1em; }
.nc-auth-sep::before, .nc-auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--nc-line); }
.nc-auth-alt { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #fff !important; border: 1px solid var(--nc-line); background: rgba(8, 16, 32, .6); }
.nc-auth-alt:hover { border-color: rgba(34, 211, 238, .55); }
.nc-auth-hint { margin-top: 14px; text-align: center; font-size: 12.5px; color: rgb(var(--gray300)); }
.nc-auth-hint a { color: var(--nc-orange); font-weight: 600; }
.nc-auth-legal { margin-top: 26px; font-size: 12px; color: rgb(var(--gray400)); text-align: center; }
@media (max-width: 1024px) {
    .nc-auth { grid-template-columns: 1fr; }
    .nc-auth-side { display: none; }
}

/* =====================================================================
   Pages serveur : en-tête, titres, console
   ===================================================================== */
.nc-srv-wrap { padding: 18px 16px 0; }
.nc-srv { position: relative; overflow: hidden; max-width: 1400px; margin: 0 auto; padding: 22px 24px 20px; border-radius: 18px; border: 1px solid var(--nc-line); background: rgba(9, 17, 34, .94); }
.nc-srv-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: .45;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); }
.nc-srv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 17, 34, .97) 25%, rgba(9, 17, 34, .55) 70%, rgba(9, 17, 34, .75)); }
.nc-srv::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 2; background: linear-gradient(180deg, #fb923c, #c2410c); }
.nc-srv > *:not(.nc-srv-bg) { position: relative; z-index: 1; }
.nc-srv-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.nc-srv-id { min-width: 0; }
.nc-srv-id h1 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 900; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-srv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; font-size: 13.5px; color: rgb(var(--gray100)); }
.nc-srv-meta > span, .nc-srv-meta a, .nc-srv-addr { display: inline-flex; align-items: center; gap: 6px; }
.nc-srv-addr { padding: 4px 10px; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; color: #fff; background: rgba(5, 10, 23, .65); border: 1px solid var(--nc-line); cursor: pointer; }
.nc-srv-egg { color: rgb(var(--gray300)); }
.nc-srv-up { color: #86efac; }
.nc-srv-admin { color: var(--nc-orange) !important; font-weight: 600; }
.nc-srv-power button { min-width: 116px; height: 42px; border-radius: 11px !important; font-weight: 800 !important; }
.nc-srv-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.nc-meter { padding: 12px 14px; border-radius: 12px; background: rgba(5, 10, 23, .6); border: 1px solid var(--nc-line); }
.nc-meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.nc-meter-top span { display: inline-flex; align-items: center; gap: 6px; color: rgb(var(--gray200)); }
.nc-meter-top b { color: #fff; font-size: 15px; }
.nc-meter-top em { font-style: normal; font-weight: 500; font-size: 12.5px; color: rgb(var(--gray300)); }
.nc-meter-bar { height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(56, 89, 140, .25); overflow: hidden; }
.nc-meter-bar i { display: block; height: 100%; border-radius: 6px; transition: width .6s; }
.nc-meter.is-orange i { background: linear-gradient(90deg, #f97316, #fdba74); }
.nc-meter.is-cyan i { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.nc-meter.is-blue i { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.nc-meter-bar i[data-level="high"] { background: linear-gradient(90deg, #dc2626, #f87171) !important; }
@media (max-width: 760px) { .nc-srv-meters { grid-template-columns: 1fr; } .nc-srv-id h1 { font-size: 22px; } .nc-srv-power { width: 100%; } }

.nc-page-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 20px; }
.nc-page-ico { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; color: var(--nc-orange); background: rgba(249, 115, 22, .12); border: 1px solid rgba(249, 115, 22, .3); }
.nc-page-head .nc-kicker { font-size: 11px; }
.nc-page-head h2 { margin: 2px 0 0; font-size: 26px; font-weight: 800; color: #fff; }

.nc-console-head { padding-bottom: 10px; }
.nc-console-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: #fff; }
.nc-console-title i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* =====================================================================
   Blocs communs (fichiers, bases de données, sauvegardes, réseau…)
   ===================================================================== */
.rounded-box.bg-gray-700, .rounded-box.bg-neutral-700, .bg-gray-700.boxBorder {
    background: linear-gradient(180deg, rgba(14, 26, 50, .9), rgba(9, 17, 34, .92)) !important;
    border-color: var(--nc-line) !important;
}
.boxBorder { border-color: var(--nc-line) !important; }
a.rounded-box:hover { border-color: rgba(249, 115, 22, .5) !important; }
table thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--gray300)); }

/* =====================================================================
   Neptune-Thèmes · v3 — vue d'ensemble serveur, listes, fichiers, crédit
   ===================================================================== */
.nc-credit { margin: 28px 0 6px; text-align: center; font-size: 13px; color: rgb(var(--gray300)); }
.nc-credit b { color: #fff; font-weight: 700; }
.nc-auth-legal.nc-credit { margin-top: 26px; }

.nc-back { display: flex; align-items: center; gap: 10px; margin: 6px 10px 12px; padding: 11px 14px; border-radius: 12px; font-weight: 700; font-size: 14px;
    color: #fff !important; border: 1px solid var(--nc-line); background: rgba(249, 115, 22, .08); transition: border-color .15s, background .15s; }
.nc-back:hover { border-color: rgba(249, 115, 22, .6); background: rgba(249, 115, 22, .16); }
.nc-back svg { color: var(--nc-orange); }

/* --- boîtes de la vue d'ensemble --- */
.nc-ov-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.nc-ov-grid.two { grid-template-columns: 1fr 1fr; margin-top: 16px; }
@media (max-width: 1200px) { .nc-ov-grid { grid-template-columns: 1fr 1fr; } .nc-ov-grid > .nc-connect { grid-column: 1 / -1; } }
@media (max-width: 760px) { .nc-ov-grid, .nc-ov-grid.two { grid-template-columns: 1fr; } }

.nc-box { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; border: 1px solid var(--nc-line);
    background: linear-gradient(180deg, rgba(14, 26, 50, .92), rgba(9, 17, 34, .95)); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .9); }
.nc-box-head { display: flex; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid var(--nc-line); }
.nc-box-head h3 { flex: 1; margin: 0; font-size: 15.5px; font-weight: 800; color: #fff; }
.nc-box-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--nc-orange); background: rgba(249, 115, 22, .12); border: 1px solid rgba(249, 115, 22, .28); }
.nc-box-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.nc-connect { background:
    radial-gradient(420px 200px at 100% 0%, rgba(249, 115, 22, .16), transparent 70%),
    linear-gradient(180deg, rgba(14, 26, 50, .92), rgba(9, 17, 34, .95)); }

.nc-label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--gray300)); }
.nc-big-addr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; cursor: pointer;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 800; color: #fff;
    background: rgba(5, 10, 23, .7); border: 1px dashed rgba(249, 115, 22, .45); transition: border-color .15s; word-break: break-all; }
.nc-big-addr:hover { border-color: #f97316; }
.nc-big-addr svg { flex-shrink: 0; color: var(--nc-orange); }
.nc-muted { margin: 0; font-size: 13.5px; color: rgb(var(--gray300)); line-height: 1.5; }
.nc-muted kbd, .nc-muted code { padding: 1px 6px; border-radius: 5px; font-size: 12.5px; color: #fdba74; background: rgba(249, 115, 22, .1); border: 1px solid rgba(249, 115, 22, .25); }
.nc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

.nc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
    color: #fff !important; border: 1px solid var(--nc-line); background: rgba(8, 16, 32, .6); transition: border-color .15s, filter .15s; white-space: nowrap; }
.nc-btn.primary { border-color: #ea580c; background: linear-gradient(135deg, #f97316, #c2410c); box-shadow: 0 10px 24px -14px rgba(249, 115, 22, .9); }
.nc-btn.primary:hover { filter: brightness(1.1); }
.nc-btn.ghost:hover { border-color: rgba(249, 115, 22, .6); }
.nc-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }

.nc-sub-product { font-size: 19px; font-weight: 800; color: #fff; }
.nc-sub-price { font-size: 26px; font-weight: 900; color: var(--nc-orange); line-height: 1; }
.nc-sub-price small { font-size: 14px; font-weight: 600; color: rgb(var(--gray300)); }
.nc-sub-exp { padding: 11px 13px; border-radius: 12px; background: rgba(5, 10, 23, .55); border: 1px solid var(--nc-line); }
.nc-sub-exp-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: rgb(var(--gray200)); }
.nc-sub-exp-top b { color: #86efac; }
.nc-sub-exp .nc-meter-bar i { background: linear-gradient(90deg, #16a34a, #4ade80); }
.nc-sub-exp.is-urgent { border-color: rgba(239, 68, 68, .45); }
.nc-sub-exp.is-urgent b { color: #f87171; }
.nc-sub-exp.is-urgent .nc-meter-bar i { background: linear-gradient(90deg, #dc2626, #f87171); }

.nc-skel { height: 16px; border-radius: 6px; background: linear-gradient(90deg, rgba(56, 89, 140, .15), rgba(56, 89, 140, .32), rgba(56, 89, 140, .15)); background-size: 200% 100%; animation: nc-skel 1.2s infinite; }
.nc-skel.short { width: 55%; }
@keyframes nc-skel { to { background-position: -200% 0; } }

.nc-alloc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nc-alloc > div { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 12px; background: rgba(5, 10, 23, .55); border: 1px solid var(--nc-line); }
.nc-alloc svg { color: var(--nc-cyan, #22d3ee); margin-bottom: 4px; }
.nc-alloc b { font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap; }
.nc-alloc span { font-size: 12px; color: rgb(var(--gray300)); }

.nc-sec-title { margin: 26px 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--gray300)); }
.nc-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.nc-quick-tile { display: flex; align-items: center; gap: 13px; padding: 14px 15px; border-radius: 14px; border: 1px solid var(--nc-line);
    background: linear-gradient(180deg, rgba(14, 26, 50, .85), rgba(9, 17, 34, .9)); transition: transform .15s, border-color .15s, box-shadow .15s; }
.nc-quick-tile:hover { transform: translateY(-2px); border-color: rgba(249, 115, 22, .6); box-shadow: 0 14px 30px -18px rgba(249, 115, 22, .8); }
.nc-quick-ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; color: var(--nc-orange); background: rgba(249, 115, 22, .12); }
.nc-quick-tile:nth-child(3n+2) .nc-quick-ico { color: #22d3ee; background: rgba(34, 211, 238, .12); }
.nc-quick-tile:nth-child(3n) .nc-quick-ico { color: #60a5fa; background: rgba(59, 130, 246, .14); }
.nc-quick-tile b { display: block; font-size: 14.5px; color: #fff; }
.nc-quick-tile small { display: block; margin-top: 1px; font-size: 12.5px; color: rgb(var(--gray300)); }

.nc-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(56, 89, 140, .18); font-size: 14px; }
.nc-row:last-of-type { border-bottom: 0; }
.nc-row > span { color: rgb(var(--gray300)); font-size: 13px; }
.nc-row > div { min-width: 0; color: #fff; overflow-wrap: anywhere; }
.nc-copy { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 9px; border-radius: 8px; cursor: pointer;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: #fff; background: rgba(5, 10, 23, .6); border: 1px solid var(--nc-line); overflow-wrap: anywhere; }
.nc-copy:hover { border-color: rgba(249, 115, 22, .55); }
.nc-copy svg { flex-shrink: 0; color: rgb(var(--gray300)); }

/* --- listes (bases de données, sauvegardes, réseau, tâches, utilisateurs) --- */
.nc-list { border-radius: 16px !important; border: 1px solid var(--nc-line) !important; overflow: hidden;
    background: linear-gradient(180deg, rgba(14, 26, 50, .92), rgba(9, 17, 34, .95)) !important; }
.nc-list-head { border-bottom: 1px solid var(--nc-line); background: rgba(5, 10, 23, .35); }
.nc-list-head p:first-child { font-size: 16px; font-weight: 800; color: #fff !important; }
.nc-table thead th { padding-top: 12px !important; padding-bottom: 12px !important; font-size: 11.5px !important; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--gray300)) !important; background: rgba(5, 10, 23, .3); }
.nc-table tbody td { border-top: 1px solid rgba(56, 89, 140, .18) !important; padding-top: 14px !important; padding-bottom: 14px !important; color: rgb(var(--gray100)); }
.nc-table tbody tr { transition: background .15s; }
.nc-table tbody tr:hover { background: rgba(249, 115, 22, .05); }
.nc-item-card { border: 1px solid var(--nc-line) !important; background: linear-gradient(180deg, rgba(14, 26, 50, .9), rgba(9, 17, 34, .93)) !important; transition: border-color .15s; }
.nc-item-card:hover { border-color: rgba(249, 115, 22, .5) !important; }

/* --- boîtes titrées (paramètres, démarrage, SFTP…) --- */
.nc-tbox { border-radius: 16px !important; border: 1px solid var(--nc-line) !important; background: linear-gradient(180deg, rgba(14, 26, 50, .92), rgba(9, 17, 34, .95)) !important; }
.nc-tbox-head { background: rgba(5, 10, 23, .35) !important; border-bottom: 1px solid var(--nc-line) !important; padding: 14px 20px !important; margin: 0 !important; border-radius: 0 !important; }
.nc-tbox-head, .nc-tbox-head p { font-size: 15px; font-weight: 800 !important; color: #fff !important; }
.nc-tbox-body { padding: 18px 20px !important; }
.nc-tbox-foot { background: rgba(5, 10, 23, .4) !important; border-top: 1px solid var(--nc-line) !important; }
.nc-grow { border: 1px solid var(--nc-line) !important; background: linear-gradient(180deg, rgba(14, 26, 50, .9), rgba(9, 17, 34, .93)) !important; border-radius: 14px !important; }
.nc-grow:hover { border-color: rgba(249, 115, 22, .5) !important; }
.nc-grow .icon { background: rgba(249, 115, 22, .12) !important; color: var(--nc-orange); border-radius: 12px !important; }

/* --- gestionnaire de fichiers --- */
.nc-fm { border-radius: 16px !important; border: 1px solid var(--nc-line) !important; background: linear-gradient(180deg, rgba(14, 26, 50, .94), rgba(9, 17, 34, .96)) !important; }
.nc-fm-toolbar { z-index: 5; background: rgba(11, 20, 38, .92) !important; border-bottom: 1px solid var(--nc-line); padding-top: 16px !important; }
.nc-fm-cols { background: rgba(5, 10, 23, .45) !important; border-bottom: 1px solid var(--nc-line); }
.nc-fm-cols button { font-size: 11.5px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nc-fm input[type=text] { height: 42px; border-radius: 11px !important; }

/* champs et boutons génériques côté panel */
input.bg-neutral-600, textarea.bg-neutral-600, select.bg-neutral-600 { border-radius: 10px !important; }

/* =====================================================================
   Neptune-Thèmes · éditeur du thème (/admin/arix)
   ===================================================================== */
.nc-te-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 65px; padding: 0 20px;
    border-bottom: 1px solid var(--nc-line); background: rgba(7, 13, 28, .92); backdrop-filter: blur(12px); }
.nc-te-brand { display: flex; align-items: center; gap: 11px; color: #fff !important; }
.nc-te-brand span { display: flex; flex-direction: column; font-size: 18px; font-weight: 900; line-height: 1.1; }
.nc-te-brand small { margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--nc-orange); }
.nc-te-actions { display: flex; align-items: center; gap: 8px; }
.nc-te-act { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
    color: rgb(var(--gray100)) !important; border: 1px solid var(--nc-line); background: rgba(8, 16, 32, .6); }
.nc-te-act:hover, .nc-te-act.active { color: #fff !important; border-color: rgba(249, 115, 22, .6); }
.nc-te-side { width: 230px; flex-shrink: 0; overflow-y: auto; border-right: 1px solid var(--nc-line); background: linear-gradient(180deg, #08101f, #050a17); }
.nc-te-side > a { color: rgb(var(--gray200)) !important; }
.nc-te-side > a.active { color: #fff !important; background: linear-gradient(90deg, rgba(249, 115, 22, .22), rgba(249, 115, 22, .04)) !important; border-color: rgba(249, 115, 22, .55) !important; }
.nc-te-side > a.active svg { color: var(--nc-orange); }
.nc-te-main { overflow-y: auto; }
@media (max-width: 760px) { .nc-te-side { width: 64px; } .nc-te-side > a > span { display: none; } .nc-te-act { display: none; } }
