/**
 * Inochi Pages - Surcharges CSS SIGMA-VISION
 * Godlike gère tout le layout global
 * @author  Gabriel RIBOT et Claude AI
 * @version 1.0.0
 */

/* ── Sidebar droite ── */
.nk-dashboard-sidebar-right {
    padding-top: 30px;
}

/* ── Titres de modules ── */
.nk-module-title {
    font-family: 'Marcellus SC', serif;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.nk-module-sidebar .nk-module-title {
    font-size: 1rem;
    letter-spacing: 1.5px;
}

/* ── Breadcrumb ── */
.nk-breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.nk-breadcrumbs ul li {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    letter-spacing: 0.5px;
}

.nk-breadcrumbs ul li a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
}

.nk-breadcrumbs ul li a:hover {
    color: #fff;
}

.nk-breadcrumbs ul li::after {
    content: '/';
    margin-left: 5px;
    color: rgba(255,255,255,.3);
}

.nk-breadcrumbs ul li:last-child::after {
    display: none;
}

/* ══════════════════════════════════════════════════
   MODULE LOGIN — Style Godlike
   ══════════════════════════════════════════════════ */

/* Conteneur global du panneau login */
.nk-sign-form-inner {
    width: 100%;
}

/* Titre du module */
.nk-sign-form-inner .nk-title {
    font-family: 'Marcellus SC', serif;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 0;
}

/* Champs de saisie */
.nk-module-login input[type="text"],
.nk-module-login input[type="email"],
.nk-module-login input[type="password"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    height: 48px;
    padding: 0 16px;
    width: 100%;
    transition: border-color 0.2s ease;
    margin-bottom: 12px;
}

.nk-module-login input[type="text"]:focus,
.nk-module-login input[type="email"]:focus,
.nk-module-login input[type="password"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Placeholder */
.nk-module-login input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
}

/* Labels (visually hidden — placeholders suffisent) */
.nk-module-login label {
    display: none;
}

/* Checkbox "Remember me" */
.nk-module-login .checkbox,
.nk-module-login .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.nk-module-login .checkbox label,
.nk-module-login .form-check-label {
    display: inline;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.nk-module-login .checkbox input[type="checkbox"],
.nk-module-login .form-check-input {
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
}

/* Bouton de connexion */
.nk-module-login button[type="submit"],
.nk-module-login input[type="submit"],
.nk-module-login .btn-primary {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-family: 'Marcellus SC', serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    height: 48px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-bottom: 20px;
}

.nk-module-login button[type="submit"]:hover,
.nk-module-login input[type="submit"]:hover,
.nk-module-login .btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Liens (mot de passe / identifiant perdu) */
.nk-module-login a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.nk-module-login a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Image / icône intégrée par Joomla — on la masque */
.nk-module-login .login-links img,
.nk-module-login .thumbnail,
.nk-module-login img {
    display: none;
}

/* ── Breadcrumb ── */
/* (déjà stylé, amélioration du séparateur) */
.nk-breadcrumbs {
    padding: 8px 0;
}

/* ── Corrections module login ───────────────────────────────── */

/* Bug 1 : bouton WebAuthn/Passkey — masqué, inutile dans ce contexte */
.nk-module-login .plg_system_webauthn_login_button {
    display: none !important;
}

/* Bug 2 : checkbox + label alignés correctement */
.nk-module-login .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 20px;
}

.nk-module-login .form-check-input {
    position: static;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin: 0;
    float: none;
}

.nk-module-login .form-check-label {
    display: inline;
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
}

/* Input group (icône à droite du champ username) — harmonisation */
.nk-module-login .input-group {
    margin-bottom: 12px;
}

.nk-module-login .input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    color: rgba(255, 255, 255, 0.35);
}

/* Bouton "Afficher le mot de passe" — discret */
.nk-module-login .input-password-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    transition: color 0.2s ease;
}

.nk-module-login .input-password-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Bouton vide entre les champs (show/hide password hors input-group) */
.nk-module-login .mod-login__username ~ .mod-login__password > .btn,
.nk-module-login .form-group > .btn:not([type="submit"]):not(.plg_system_webauthn_login_button),
.nk-module-login button.btn-secondary:not(.input-password-toggle):not(.plg_system_webauthn_login_button) {
    display: none !important;
}

/* ── Menu principal — comportement Godlike (occupe l'espace central) ── */

/* Le ul.mod-menu est enfant direct de nk-nav-table → occupe tout l'espace */
.nk-navbar .nk-nav-table > ul.mod-menu {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    text-align: right;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Les li deviennent inline pour s'aligner à droite */
.nk-navbar .nk-nav-table > ul.mod-menu > li {
    display: inline-block;
    vertical-align: middle;
}

/* Liens du menu — style Godlike */
.nk-navbar .nk-nav-table > ul.mod-menu > li > a {
    display: block;
    padding: 0 15px;
    color: rgba(255,255,255,0.7);
    font-family: 'Marcellus SC', serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nk-navbar .nk-nav-table > ul.mod-menu > li > a:hover,
.nk-navbar .nk-nav-table > ul.mod-menu > li.active > a,
.nk-navbar .nk-nav-table > ul.mod-menu > li.current > a {
    color: #fff;
}

/* ── Breadcrumb — override html/mod_breadcrumbs/default.php ─── */

.nk-breadcrumbs-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.nk-breadcrumbs-item {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.nk-breadcrumbs-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nk-breadcrumbs-item a:hover {
    color: #fff;
}

.nk-breadcrumbs-item.active span {
    color: rgba(255, 255, 255, 0.85);
}

.nk-breadcrumbs-sep {
    color: rgba(255, 255, 255, 0.3);
    padding: 0 8px;
}

/* ══════════════════════════════════════════════════
   ARTICLE INFO — Verre futuriste / terminal
   Classes natives Joomla (dl.article-info)
   ══════════════════════════════════════════════════ */

/* Conteneur principal — effet verre */
dl.article-info {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin: 20px 0 30px !important;
    padding: 18px 20px 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Déco terminal // */
dl.article-info::before {
    content: '// INFO';
    position: absolute;
    top: 0;
    left: 16px;
    font-family: 'Roboto Condensed', monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 3px;
    text-transform: uppercase;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.8);
    padding: 0 8px;
}

/* Titre "Détails" — masqué */
dl.article-info dt.article-info-term {
    display: none;
}

/* Chaque dd occupe une cellule */
dl.article-info dd {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 4px 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Icônes natives Joomla dans les dd */
dl.article-info dd span[class*="icon-"] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* Labels texte */
dl.article-info dd {
    color: rgba(255, 255, 255, 0.55);
}

/* Liens (catégorie) */
dl.article-info dd a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

dl.article-info dd a:hover {
    color: #fff;
}

/* Responsive — 1 colonne sur mobile */
@media (max-width: 576px) {
    dl.article-info {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
/* =========================================================
   Smart Search (com_finder) — Override GodLike
   Styles pour mod_finder, default_form et default (cards terminal)
   ========================================================= */

/* ── Formulaire inline (mod_finder + page résultats) ───── */
/* Remplace le pattern label/input de GodLike qui positionne
   le label en absolute sur 124px — inadapté hors overlay.   */

.nk-finder-inline-field {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s ease;
}

.nk-finder-inline-field:focus-within {
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.nk-finder-inline-icon {
    flex-shrink: 0;
    font-size: 5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    padding-right: 12px;
    transition: color 0.2s ease;
}

.nk-finder-inline-field:focus-within .nk-finder-inline-icon {
    color: rgba(255, 255, 255, 0.9);
}

.nk-finder-inline-input {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 5rem;
    letter-spacing: 1px;
    outline: none;

    width: calc(150% - 70px);
	height: auto;
	padding: 1rem 1rem;
	margin-left: 10px;
	font-size: 5rem;
	-webkit-transition: .3s border,.3s box-shadow;
	-o-transition: .3s border,.3s box-shadow;
	transition: .3s border,.3s box-shadow;
	will-change: border,box-shadow;
}

.nk-finder-inline-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Page résultats — formulaire un peu plus petit */
.nk-finder-form-page .nk-finder-inline-field {
    max-width: 600px;
}

.nk-finder-form-page .nk-finder-inline-input {
    font-size: 1.2rem;
}

/* ── Compteur de résultats ─────────────────────────────── */
.nk-finder-count {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.nk-finder-count-prompt {
    color: rgba(100, 220, 180, 0.7);
    font-weight: 700;
}

.nk-finder-count-sep {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
}

/* ── Liste des cards ───────────────────────────────────── */
.nk-finder-terminal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Card terminal ─────────────────────────────────────── */
.nk-finder-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.nk-finder-card:hover {
    border-color: rgba(100, 220, 180, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

/* Barre titre façon fenêtre terminal */
.nk-finder-card-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Les trois petits ronds macOS-like */
.nk-finder-card-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.nk-finder-card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.nk-finder-card:hover .nk-finder-card-dots span:nth-child(1) { background: rgba(255, 90,  90,  0.7); }
.nk-finder-card:hover .nk-finder-card-dots span:nth-child(2) { background: rgba(255, 190, 50,  0.7); }
.nk-finder-card:hover .nk-finder-card-dots span:nth-child(3) { background: rgba(50,  200, 120, 0.7); }

.nk-finder-card-bar-label {
    color: rgba(100, 220, 180, 0.6);
    flex: 1;
}

.nk-finder-card-bar-date {
    color: rgba(255, 255, 255, 0.25);
    margin-left: auto;
}

/* Corps de la card */
.nk-finder-card-body {
    padding: 18px 20px 16px;
}

.nk-finder-card-title {
    font-family: 'Marcellus SC', serif;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.nk-finder-card-prompt {
    color: rgba(100, 220, 180, 0.6);
    font-family: 'Roboto Condensed', monospace;
    font-size: 0.95rem;
    font-style: normal;
}

.nk-finder-card-title a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nk-finder-card-title a:hover {
    color: #fff;
}

/* Extrait — termes surlignés par le finder */
.nk-finder-card-excerpt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 14px;
}

.nk-finder-card-excerpt b,
.nk-finder-card-excerpt mark {
    color: rgba(100, 220, 180, 0.9);
    font-weight: 700;
    background: transparent;
}

/* Pied de card : URL + bouton */
.nk-finder-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nk-finder-card-url {
    font-family: 'Roboto Condensed', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.nk-finder-card-cta {
    flex-shrink: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(100, 220, 180, 0.6);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nk-finder-card-cta:hover {
    color: rgba(100, 220, 180, 1);
}

.nk-finder-card-cta .ion-ios-arrow-forward {
    font-size: 0.8rem;
    vertical-align: middle;
}

/* ── Card vide (aucun résultat) ────────────────────────── */
.nk-finder-card-empty {
    max-width: 500px;
    margin: 0 auto;
}

.nk-finder-no-results-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ── Pagination finder ─────────────────────────────────── */
.nk-pagination ul.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nk-pagination ul.pagination li a,
.nk-pagination ul.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nk-pagination ul.pagination li.active span,
.nk-pagination ul.pagination li a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.nk-pagination ul.pagination li.disabled span {
    opacity: 0.25;
    pointer-events: none;
}

/* =========================================================
   Chromes de modules — inochi_terminal / inochi_box / inochi_alert
   ========================================================= */

/* ── TERMINAL ──────────────────────────────────────────── */
.nk-chrome-terminal {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    font-family: 'Roboto Condensed', monospace;
}

/* Barre de titre */
.nk-chrome-terminal-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Pastilles */
.nk-chrome-terminal-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.nk-chrome-terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease;
}

.nk-chrome-terminal:hover .nk-chrome-terminal-dots span:nth-child(1) { background: rgba(255, 90,  90,  0.75); }
.nk-chrome-terminal:hover .nk-chrome-terminal-dots span:nth-child(2) { background: rgba(255, 190, 50,  0.75); }
.nk-chrome-terminal:hover .nk-chrome-terminal-dots span:nth-child(3) { background: rgba(50,  200, 120, 0.75); }

.nk-chrome-terminal-title {
    flex: 1;
    color: rgba(100, 220, 180, 0.7);
}

.nk-chrome-terminal-bar-right {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.2);
}

/* Curseur clignotant */
.nk-chrome-terminal-blink {
    animation: nk-terminal-blink 1.1s step-end infinite;
}

@keyframes nk-terminal-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Corps */
.nk-chrome-terminal-body {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px;
}

.nk-chrome-terminal-prompt {
    flex-shrink: 0;
    color: rgba(100, 220, 180, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 2px;
}

.nk-chrome-terminal-content {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* Titres et liens dans le contenu */
.nk-chrome-terminal-content h1,
.nk-chrome-terminal-content h2,
.nk-chrome-terminal-content h3,
.nk-chrome-terminal-content h4 {
    font-family: 'Marcellus SC', serif;
    color: rgba(100, 220, 180, 0.85);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.nk-chrome-terminal-content a {
    color: rgba(100, 220, 180, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(100, 220, 180, 0.2);
    transition: color 0.2s, border-color 0.2s;
}

.nk-chrome-terminal-content a:hover {
    color: rgba(100, 220, 180, 1);
    border-bottom-color: rgba(100, 220, 180, 0.6);
}

/* ── BOX ───────────────────────────────────────────────── */
.nk-chrome-box {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.nk-chrome-box-header {
    padding: 14px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nk-chrome-box-title {
    font-family: 'Marcellus SC', serif;
    font-size: 1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.nk-chrome-box-body {
    padding: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.nk-chrome-box-body h1,
.nk-chrome-box-body h2,
.nk-chrome-box-body h3,
.nk-chrome-box-body h4 {
    color: #fff;
    letter-spacing: 1px;
}

.nk-chrome-box-body a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.nk-chrome-box-body a:hover {
    color: #fff;
}

/* ── ALERT ─────────────────────────────────────────────── */
.nk-chrome-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(180, 20, 20, 0.85);
    border: 1px solid rgba(255, 80, 80, 0.4);
    border-left: 4px solid rgba(255, 80, 80, 0.9);
    color: #fff;
}

.nk-chrome-alert-icon {
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(255, 200, 200, 0.9);
    margin-top: 2px;
}

.nk-chrome-alert-inner {
    flex: 1;
    min-width: 0;
}

.nk-chrome-alert-title {
    font-family: 'Marcellus SC', serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 8px;
}

.nk-chrome-alert-content {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.nk-chrome-alert-content a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nk-chrome-alert-content p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ARTICLE EDIT BAR — "Modifier" / "Article publié"
   Structure Joomla 6.1 :
   .icons > .float-end > div > a > span.icon-edit + texte + div[role=tooltip]
   ========================================================= */

.icons {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.icons .float-end {
    float: none !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    padding: 5px 14px !important;
}

.icons .float-end > div {
    display: flex !important;
    align-items: center !important;
}

/* Le lien global — flex pour aligner tout sur une ligne */
.icons .float-end a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
}

.icons .float-end a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Icône crayon */
.icons .float-end .icon-edit {
    font-size: 11px !important;
    opacity: 0.6 !important;
    flex-shrink: 0 !important;
}

/* "Article publié" — le div[role=tooltip] sorti du comportement natif
   et affiché inline avec un | devant via ::before                      */
.icons [role="tooltip"] {
    position: static !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: rgba(100, 220, 180, 0.65) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* Le | séparateur — avant "Article publié", pas après "Modifier" */
.icons [role="tooltip"]::before {
    content: '|' !important;
    margin: 0 8px !important;
    color: rgba(255, 255, 255, 0.15) !important;
}

.icons a:hover [role="tooltip"] {
    color: rgba(100, 220, 180, 1) !important;
}
.pagenavigation {
    margin-top: 2rem;
}
.pagenavigation .btn [aria-hidden="true"]:not([class*="icon-"]) {
    display: none;
}

