:root {
    --app-panel: rgba(24, 29, 36, 0.92);
    --pantone-7547: #131e29;
    --pantone-7540: #4b5358;
    --pantone-158: #e87722;
    --pantone-3015: #00629b;
    --pantone-7547-45: rgba(19, 30, 41, 0.45);
    --pantone-7547-90: rgba(19, 30, 41, 0.9);
    --brand-orange: #f49716;
    --brand-orange-deep: #ee7326;
    --brand-blue-soft: #63aecb;
    --brand-blue-light: #94d4f0;
    --brand-blue-pale: #bde3f7;
    --app-muted: #ffffff;
    --app-topbar-height: 4.5rem;
    --app-sidebar-width: 17rem;
}

body {
    min-height: 100vh;
    color: #f4f7fb;
    background:
        radial-gradient(circle at top left, rgba(249, 177, 20, 0.08), transparent 24%),
        radial-gradient(circle at 85% 20%, rgba(99, 174, 203, 0.12), transparent 26%),
        linear-gradient(145deg, rgba(232, 119, 34, 0.08), transparent 34%),
        linear-gradient(220deg, rgba(0, 98, 155, 0.12), transparent 42%),
        var(--pantone-7547);
}

.app-shell {
    min-height: 100vh;
    padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.app-shell-login {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at top left, rgba(249, 177, 20, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(99, 174, 203, 0.24), transparent 32%),
        linear-gradient(
            180deg,
            var(--pantone-7547) 0%,
            rgba(19, 30, 41, 0.65) 100%
        ),
        linear-gradient(
            135deg,
            var(--pantone-7547-45) 0%,
            var(--pantone-7547-90) 100%
        ),
        var(--pantone-7547);
}

.app-shell-login::before {
    content: none;
    position: fixed;
    inset: 0;
    opacity: 0.5;
    background: url("../img/login-background.png") center center / cover no-repeat;
    z-index: 0;
}

.app-shell-authenticated {
    min-height: 100vh;
    padding-top: var(--app-topbar-height);
}

.auth-layout {
    min-height: calc(100vh - clamp(3rem, 8vw, 7rem));
}

.app-card {
    background:
        linear-gradient(155deg, rgba(99, 174, 203, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(19, 30, 41, 0.16), rgba(19, 30, 41, 0.04)),
        var(--app-panel);
    border: 1px solid rgba(189, 227, 247, 0.16);
    box-shadow:
        0 1.5rem 4rem rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    backdrop-filter: blur(14px);
}

.app-card .form-control {
    color: #ffffff;
    background: rgba(19, 30, 41, 0.34);
    border: 1px solid rgba(189, 227, 247, 0.24);
}

.app-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.app-card .form-control:focus {
    color: #ffffff;
    background: rgba(19, 30, 41, 0.5);
    border-color: var(--brand-blue-light);
    box-shadow: 0 0 0 0.2rem rgba(99, 174, 203, 0.2);
}

.app-card .invalid-feedback {
    color: #ffffff;
}

.auth-card {
    background:
        linear-gradient(160deg, rgba(99, 174, 203, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(19, 30, 41, 0.18), rgba(19, 30, 41, 0.08)),
        var(--pantone-7540);
    border: 1px solid rgba(189, 227, 247, 0.18);
    box-shadow:
        0 1.75rem 3.5rem rgba(8, 15, 24, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.auth-card .card-body {
    position: relative;
}

.auth-card .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pantone-158), var(--pantone-3015));
    opacity: 0.95;
}

.auth-card,
.auth-card .card-body,
.auth-card .form-label,
.auth-card .form-control,
.auth-card .form-control::placeholder,
.auth-card .invalid-feedback,
.auth-card h1,
.auth-card p,
.auth-card label {
    color: #ffffff;
}

.auth-card .text-app-muted {
    color: var(--brand-blue-pale);
    letter-spacing: 0.12em;
}

.auth-card .form-label {
    margin-bottom: 0.5rem;
}

.auth-card .form-control {
    background: rgba(19, 30, 41, 0.34);
    border: 1px solid rgba(189, 227, 247, 0.24);
    box-shadow: none;
}

.auth-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.64);
}

.auth-card .form-control:focus {
    color: #ffffff;
    background: rgba(19, 30, 41, 0.5);
    border-color: var(--brand-blue-light);
    box-shadow: 0 0 0 0.2rem rgba(99, 174, 203, 0.2);
}

.auth-card .alert-danger {
    color: #ffffff;
    background: rgba(238, 115, 38, 0.18);
    border-color: rgba(244, 151, 22, 0.4);
}

.text-app-muted {
    color: var(--app-muted);
}

.app-topbar {
    min-height: var(--app-topbar-height);
    background:
        linear-gradient(90deg, rgba(232, 119, 34, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(0, 98, 155, 0.16), rgba(19, 30, 41, 0.94)),
        rgba(16, 19, 24, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(189, 227, 247, 0.14);
}

.app-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.app-topbar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.app-topbar-row-primary {
    flex: 1 1 auto;
}

.app-topbar-brand-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.app-topbar-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.app-brand {
    min-width: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 1rem rgba(0, 98, 155, 0.24);
    white-space: nowrap;
}

.app-brand-logo {
    display: block;
    flex-shrink: 0;
    width: auto;
    max-width: 100%;
    height: clamp(2.25rem, 5vw, 3rem);
    object-fit: contain;
}

.app-brand-logo-wrap {
    display: inline-grid;
    align-items: center;
    flex-shrink: 0;
}

.app-brand-logo-wrap > .app-brand-logo {
    grid-area: 1 / 1;
}

.app-brand-logo-dark {
    opacity: 0;
}

.sidebar-desktop {
    position: fixed;
    top: var(--app-topbar-height);
    left: 0;
    bottom: 0;
    width: var(--app-sidebar-width);
    padding: 1.5rem 1rem;
    background:
        linear-gradient(180deg, rgba(0, 98, 155, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(19, 30, 41, 0.98), rgba(19, 30, 41, 0.92)),
        rgba(18, 22, 28, 0.96);
    border-right: 1px solid rgba(189, 227, 247, 0.14);
}

.sidebar-mobile {
    width: min(85vw, 18rem);
    background:
        linear-gradient(180deg, rgba(0, 98, 155, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(19, 30, 41, 0.98), rgba(19, 30, 41, 0.94)),
        rgba(18, 22, 28, 0.98);
}

.app-main {
    padding: 1.5rem 1rem 2rem;
}

.dashboard-header {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    background: linear-gradient(120deg, #003e66 0%, var(--pantone-3015) 48%, var(--brand-blue-soft) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-clip: padding-box;
    border: 1px solid rgba(148, 212, 240, 0.35);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    isolation: isolate;
}

.dashboard-header::before {
    content: "";
    position: absolute;
    inset: auto -18% -72% 45%;
    height: 170%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    pointer-events: none;
    transform: rotate(-12deg);
}

.dashboard-header > * {
    position: relative;
}

.dashboard-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.dashboard-header-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.dashboard-header h1 {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 800;
}

.dashboard-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    opacity: 0.9;
}

.dashboard-header-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: flex-end;
}

.dashboard-header-body {
    margin-top: 1.5rem;
}

.dashboard-header .form-label {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.dashboard-header .document-search-form .form-control {
    color: #ffffff;
    background: rgba(19, 30, 41, 0.34);
    border: 1px solid rgba(189, 227, 247, 0.24);
}

.dashboard-header .document-search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.dashboard-header .document-search-form .form-control:focus {
    color: #ffffff;
    background: rgba(19, 30, 41, 0.5);
    border-color: var(--brand-blue-light);
    box-shadow: 0 0 0 0.2rem rgba(99, 174, 203, 0.2);
}

.dashboard-header input[type="file"].form-control {
    color: #ffffff;
}

.dashboard-header-upload {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.dashboard-header-upload .form-control {
    width: min(18rem, 100%);
}

.dashboard-header-tools {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-left: auto;
    width: fit-content;
    max-width: 100%;
    align-items: flex-end;
}

.dashboard-header-tools .btn {
    width: auto;
}

@media (min-width: 576px) {
    .dashboard-header-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-end;
    }
}

@media (min-width: 768px) {
    .dashboard-header {
        padding: 3rem;
    }
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    padding-inline: 0.9rem;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(99, 174, 203, 0.12);
    box-shadow: inset 0 0 0 1px rgba(189, 227, 247, 0.08);
    transform: translateX(2px);
}

.sidebar-section-label {
    color: #ffffff;
}

.nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-submenu-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    justify-content: space-between;
    text-align: left;
}

.sidebar-nav .nav-link.btn-positif,
.nav-submenu-toggle.btn-positif {
    color: #ffffff;
    border: 1px solid transparent;
    background: linear-gradient(90deg, var(--pantone-3015), var(--brand-blue-soft));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 0.8rem 1.6rem rgba(0, 98, 155, 0.2);
}

.sidebar-nav .nav-link.btn-negatif {
    color: #000000;
    border: 1px solid transparent;
    background: linear-gradient(90deg, var(--pantone-158), var(--brand-orange));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 0.8rem 1.6rem rgba(232, 119, 34, 0.24);
}

.sidebar-nav .nav-link.btn-positif:hover,
.sidebar-nav .nav-link.btn-positif:focus,
.sidebar-nav .nav-submenu-toggle.btn-positif:hover,
.sidebar-nav .nav-submenu-toggle.btn-positif:focus {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, #0b73af, var(--brand-blue-light));
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.sidebar-nav .nav-link.btn-negatif:hover,
.sidebar-nav .nav-link.btn-negatif:focus {
    color: #000000;
    border-color: transparent;
    background: linear-gradient(90deg, var(--pantone-158), var(--brand-orange));
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.nav-submenu-items {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-left: 0.75rem;
}

.nav-sublink {
    min-height: 2.5rem;
    padding-left: 1.1rem;
}

.nav-link-main {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.nav-link-icon {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-submenu-caret {
    font-size: 0.85rem;
    transition: transform 0.18s ease;
}

.nav-submenu-toggle[aria-expanded="true"] .nav-submenu-caret {
    transform: rotate(180deg);
}

.btn.btn-positif,
.btn.btn-positif-doc {
    color: #14202b;
    border: 1px solid rgba(243, 246, 248, 0.22);
    background: #f3f6f8;
    box-shadow: 0 0.85rem 1.7rem rgba(15, 23, 31, 0.18);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.btn.btn-negatif,
.btn.btn-negatif-doc {
    color: #f3f6f8;
    border: 1px solid rgba(120, 136, 149, 0.42);
    background: #22323e;
    box-shadow: 0 0.85rem 1.7rem rgba(15, 23, 31, 0.24);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.btn.btn-positif:hover,
.btn.btn-positif:focus,
.btn.btn-positif-doc:hover,
.btn.btn-positif-doc:focus {
    color: #14202b;
    border-color: rgba(255, 255, 255, 0.34);
    background: #ffffff;
    box-shadow: 0 1rem 2rem rgba(15, 23, 31, 0.22);
    transform: translateY(-1px);
}

.btn.btn-negatif:hover,
.btn.btn-negatif:focus {
    color: #ffffff;
    border-color: rgba(140, 156, 169, 0.5);
    background: #2b3d4b;
    box-shadow: 0 1rem 2rem rgba(15, 23, 31, 0.3);
    transform: translateY(-1px);
}

.btn.btn-negatif-doc:hover,
.btn.btn-negatif-doc:focus {
    color: #ffffff;
    border-color: rgba(140, 156, 169, 0.5);
    background: #2b3d4b;
    box-shadow: 0 1rem 2rem rgba(15, 23, 31, 0.3);
    transform: translateY(-1px);
}

.btn-form-submit {
    color: #000000;
    border: 1px solid transparent;
    background: linear-gradient(90deg, var(--pantone-158), var(--brand-orange));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 0.8rem 1.6rem rgba(232, 119, 34, 0.24);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.btn-form-submit:hover,
.btn-form-submit:focus {
    color: #000000;
    border-color: transparent;
    background: linear-gradient(90deg, #f08d30, #f8b14c);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 1rem 2rem rgba(232, 119, 34, 0.28);
    transform: translateY(-1px);
}

.btn-form-submit:active {
    transform: translateY(0);
}

.btn-dashboard-outline {
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #00629b;
    --bs-btn-hover-border-color: #00629b;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #00527f;
    --bs-btn-active-border-color: #00527f;
    --bs-btn-focus-shadow-rgb: 148, 212, 240;
    color: #ffffff;
    font-weight: 700;
    background-color: transparent;
}

html[data-bs-theme="dark"] .btn.btn-positif,
html[data-bs-theme="dark"] .btn.btn-positif-doc {
    color: #14202b;
    border-color: rgba(243, 246, 248, 0.22);
    background: #f3f6f8;
    box-shadow: 0 0.85rem 1.7rem rgba(15, 23, 31, 0.18);
}

html[data-bs-theme="dark"] .btn.btn-negatif,
html[data-bs-theme="dark"] .btn.btn-negatif-doc {
    color: #f3f6f8;
    border-color: rgba(120, 136, 149, 0.42);
    background: #22323e;
    box-shadow: 0 0.85rem 1.7rem rgba(15, 23, 31, 0.24);
}

html[data-bs-theme="dark"] .btn.btn-positif:hover,
html[data-bs-theme="dark"] .btn.btn-positif:focus,
html[data-bs-theme="dark"] .btn.btn-positif-doc:hover,
html[data-bs-theme="dark"] .btn.btn-positif-doc:focus {
    color: #14202b;
    border-color: rgba(255, 255, 255, 0.34);
    background: #ffffff;
    box-shadow: 0 1rem 2rem rgba(15, 23, 31, 0.22);
}

html[data-bs-theme="dark"] .btn.btn-negatif:hover,
html[data-bs-theme="dark"] .btn.btn-negatif:focus,
html[data-bs-theme="dark"] .btn.btn-negatif-doc:hover,
html[data-bs-theme="dark"] .btn.btn-negatif-doc:focus {
    color: #ffffff;
    border-color: rgba(140, 156, 169, 0.5);
    background: #2b3d4b;
    box-shadow: 0 1rem 2rem rgba(15, 23, 31, 0.3);
}

html[data-bs-theme="dark"] .btn-form-submit {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--pantone-3015), var(--brand-blue-soft));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 0.8rem 1.6rem rgba(0, 98, 155, 0.2);
}

html[data-bs-theme="dark"] .btn-form-submit:hover,
html[data-bs-theme="dark"] .btn-form-submit:focus {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, #0b73af, var(--brand-blue-light));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 1rem 2rem rgba(0, 98, 155, 0.26);
}

html[data-bs-theme="dark"] .btn-dashboard-outline {
    --bs-btn-color: #000000;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #00629b;
    --bs-btn-hover-border-color: #00629b;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #00527f;
    --bs-btn-active-border-color: #00527f;
}

.publication-card {
    overflow: hidden;
}

.publication-card,
.document-card {
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.publication-card:hover,
.document-card:hover {
    border-color: rgba(189, 227, 247, 0.28);
    transform: translateY(-2px);
}

.publication-card:hover {
    box-shadow:
        0 1.8rem 4.2rem rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.document-card:hover {
    box-shadow:
        0 1.35rem 3rem rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.publication-card-image {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.publication-link {
    color: #ffffff;
    text-decoration: none;
}

.publication-link:hover,
.publication-link:focus {
    color: var(--brand-blue-pale);
}

.publication-excerpt {
    color: rgba(255, 255, 255, 0.86);
}

.resource-company-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.resource-company-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1 1 11rem;
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.resource-company-option input[type="checkbox"] {
    margin: 0;
    position: static;
    flex: 0 0 auto;
}

.resource-company-option span {
    line-height: 1.2;
}

.publication-excerpt code,
.publication-detail-content code,
.publication-comment-content code {
    --bs-code-color: var(--brand-blue-soft);
    color: var(--brand-blue-soft) !important;
}

code {
    --bs-code-color: var(--brand-blue-soft);
    color: var(--brand-blue-soft) !important;
}

pre code {
    color: var(--brand-blue-soft) !important;
}

.moderation-card {
    overflow: hidden;
}

.moderation-image {
    width: min(100%, 18rem);
    aspect-ratio: 16 / 10;
    border-radius: 0.75rem;
    object-fit: cover;
}

.publication-detail-title {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.2;
}

.publication-detail-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.publication-detail-media-column {
    width: 100%;
}

.publication-detail-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: min(42vh, 22rem);
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(19, 30, 41, 0.08);
    cursor: zoom-in;
}

.publication-detail-image-count {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    background: rgba(19, 30, 41, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.publication-detail-media-hint {
    margin-top: 0.45rem;
    color: var(--app-muted);
    font-size: 0.78rem;
    text-align: center;
    opacity: 0.68;
}

html[data-bs-theme="light"] .publication-detail-media-hint {
    color: #4b5358;
}

.publication-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.publication-modal-image {
    max-height: 78vh;
    object-fit: contain;
}

.publication-image-carousel .carousel-control-prev,
.publication-image-carousel .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 3.25rem;
    height: 3.25rem;
    margin-inline: 0.75rem;
    color: #ffffff;
    background: rgba(19, 30, 41, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.38);
    opacity: 1;
    transform: translateY(-50%);
    transition: background-color 0.16s ease-in-out, transform 0.16s ease-in-out;
}

.publication-image-carousel .carousel-control-prev:hover,
.publication-image-carousel .carousel-control-prev:focus-visible,
.publication-image-carousel .carousel-control-next:hover,
.publication-image-carousel .carousel-control-next:focus-visible {
    background: var(--brand-orange-deep);
    transform: translateY(-50%) scale(1.06);
}

.publication-image-carousel .carousel-control-prev:focus-visible,
.publication-image-carousel .carousel-control-next:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 0.2rem;
}

.publication-image-carousel .carousel-control-prev-icon,
.publication-image-carousel .carousel-control-next-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-image: none !important;
    filter: none !important;
}

.publication-image-carousel .carousel-control-prev-icon::before,
.publication-image-carousel .carousel-control-next-icon::before {
    content: "";
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    border-top: 0.18rem solid #ffffff;
    border-right: 0.18rem solid #ffffff;
}

.publication-image-carousel .carousel-control-prev-icon::before {
    transform: translateX(0.12rem) rotate(-135deg);
}

.publication-image-carousel .carousel-control-next-icon::before {
    transform: translateX(-0.12rem) rotate(45deg);
}

@media (max-width: 991.98px) {
    .publication-detail-layout {
        grid-template-columns: 1fr;
    }

    .publication-detail-media {
        width: min(100%, 22rem);
        height: min(42vh, 20rem);
        margin-inline: auto;
    }

    .publication-detail-media-column {
        width: min(100%, 22rem);
        margin-inline: auto;
    }
}

@media (max-width: 575.98px) {
    .publication-detail-media {
        width: min(100%, 18rem);
        height: min(70vw, 18rem);
    }

    .publication-detail-media-column {
        width: min(100%, 18rem);
    }

    .publication-image-carousel .carousel-control-prev,
    .publication-image-carousel .carousel-control-next {
        width: 2.75rem;
        height: 2.75rem;
        margin-inline: 0.4rem;
    }

}

.delete-confirmation {
    max-width: 48rem;
}

.delete-confirmation-text {
    color: rgba(255, 255, 255, 0.9);
}

.publication-detail-content {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.8;
}

.publication-detail-content p:last-child {
    margin-bottom: 0;
}

.publication-comments {
    border-top: 1px solid rgba(189, 227, 247, 0.14);
    padding-top: 1.5rem;
}

.publication-comment {
    border: 1px solid rgba(189, 227, 247, 0.14);
    border-radius: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.publication-comment-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

.publication-meta {
    border-top: 1px solid rgba(189, 227, 247, 0.14);
    padding-top: 1.25rem;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.14);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 174, 203, 0.18);
}

@media (min-width: 992px) {
    .app-shell-login::before {
        content: "";
    }

    .app-main {
        margin-left: var(--app-sidebar-width);
        padding: 2rem;
    }
}

.selectionne {
    color: #000000;
    background-color: #ffffff;
}

.icon {
    font-size: 1.5em;
    width: 1.5em;
    height: 1.5em;
}

.like-icon {
    font-size: 1.1em;
    width: 1.1em;
    height: 1.1em;
    transform: translateY(-3px);
}

.idee-meta-row {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2rem;
}

.idee-meta-main,
.idee-meta-likes {
    flex: 1 1 50%;
    min-width: 0;
}

.idee-meta-main {
    padding-right: 2rem;
}

.idee-meta-likes {
    display: flex;
    justify-content: flex-end;
    padding-left: 2rem;
}

.idee-approved {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 1.8em;
    height: 1.8em;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.approved-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    font-size: 2.8em;
    width: 2.8em;
    height: 2.8em;
}

.user-profil-picture {
    width: 2rem;
    height: 2rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.user-list-picture {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.user-detail-picture {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.contact-copy-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    padding-right: 1.35rem;
    border: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.contact-copy-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1rem;
    height: 1rem;
    background: center / contain no-repeat;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.16s ease-in-out;
    pointer-events: none;
}

.contact-copy-trigger:hover,
.contact-copy-trigger:focus-visible {
    color: var(--brand-blue-soft);
}

.contact-copy-trigger:hover::after,
.contact-copy-trigger:focus-visible::after {
    opacity: 1;
}

.contact-copy-trigger:focus-visible {
    outline: 2px solid rgba(99, 174, 203, 0.45);
    outline-offset: 0.2rem;
    border-radius: 0.35rem;
}

html[data-bs-theme="dark"] .contact-copy-trigger::after {
    background-image: url("../img/copy_dark.png");
}

html[data-bs-theme="light"] .contact-copy-trigger::after {
    background-image: url("../img/copy_light.png");
}

.user-profile-form {
    display: inline;
    margin: 0;
}

.user-profile-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.user-profile-name {
    white-space: nowrap;
}

.user-profile-button {
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1;
    cursor: pointer;
}

.user-profile-button-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
}

.user-profile-name-mobile {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    line-height: 1;
    font-size: 1.1rem;
}

.app-topbar-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    line-height: 1;
}

.app-topbar-action-icon {
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
}

.label-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    :root {
        --app-topbar-height: 8.5rem;
    }

    .app-topbar {
        padding-block: 0.75rem;
    }

    .app-topbar-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .app-topbar-row-primary,
    .app-topbar-mobile-account {
        width: 100%;
    }

    .app-topbar-row-primary {
        align-items: center;
        justify-content: space-between;
    }

    .app-topbar-brand-group {
        flex: 1 1 auto;
    }

    .app-topbar-mobile-tools {
        flex: 0 0 auto;
    }

    .app-topbar-mobile-account {
        justify-content: space-between;
        gap: 0.75rem;
    }

    .app-topbar-mobile-account .user-profile-form {
        flex: 1 1 auto;
        min-width: 0;
    }

    .app-topbar-mobile-account form:last-child {
        flex: 0 0 auto;
    }

    .label-desktop {
        display: none;
    }

    .label-mobile {
        display: inline;
    }

    .app-brand {
        font-size: 0.95rem;
    }

    .app-brand-logo-wrap {
        max-width: none;
    }

    .app-brand-logo {
        height: 2.5rem;
        max-width: none;
    }

    .user-profile-button-mobile {
        width: 100%;
        justify-content: flex-start;
    }

    .user-profile-name-mobile {
        max-width: min(16rem, 52vw);
    }

    .dashboard-header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-header-actions {
        justify-content: flex-start;
    }

    .dashboard-header::before {
        top: auto;
        right: -11rem;
        bottom: -9.5rem;
        left: auto;
        width: 34rem;
        height: 18rem;
        border-radius: 50%;
    }
}

@media (max-width: 479.98px) {
    .app-brand {
        display: none;
    }
}

.valide {
    color: limegreen;
}

.email_vignette {
    color: #63aecb;
}

html[data-bs-theme="light"] body {
    color: #18212b;
    background:
        radial-gradient(circle at top left, rgba(255, 244, 221, 0.5), transparent 22%),
        radial-gradient(circle at 88% 18%, rgba(159, 205, 232, 0.3), transparent 24%),
        linear-gradient(180deg, rgba(244, 248, 252, 0.7), rgba(234, 243, 250, 0.92)),
        #eaf3f8;
}

html[data-bs-theme="light"] .app-shell-login {
    background:
        radial-gradient(circle at top left, rgba(249, 177, 20, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(99, 174, 203, 0.24), transparent 32%),
        linear-gradient(
            180deg,
            var(--pantone-7547) 0%,
            rgba(19, 30, 41, 0.65) 100%
        ),
        linear-gradient(
            135deg,
            var(--pantone-7547-45) 0%,
            var(--pantone-7547-90) 100%
        ),
        var(--pantone-7547);
}

html[data-bs-theme="light"] .app-shell-login::before {
    opacity: 0.5;
}

html[data-bs-theme="light"] .app-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), transparent 42%),
        linear-gradient(180deg, rgba(245, 239, 228, 0.96), rgba(243, 236, 224, 0.98));
    border-color: rgba(207, 186, 152, 0.72);
    box-shadow:
        0 1.2rem 2.5rem rgba(82, 102, 118, 0.12),
        0 0 0 1px rgba(255, 250, 240, 0.65) inset;
}

html[data-bs-theme="light"] .btn.btn-positif,
html[data-bs-theme="light"] .btn.btn-positif-doc {
    color: #14202b;
    border-color: rgba(226, 232, 238, 0.9);
    background: #f3f6f8;
    box-shadow: 0 0.85rem 1.7rem rgba(82, 102, 118, 0.14);
}

html[data-bs-theme="light"] .btn.btn-negatif,
html[data-bs-theme="light"] .btn.btn-negatif-doc {
    color: #f3f6f8;
    border-color: rgba(97, 114, 127, 0.4);
    background: #22323e;
    box-shadow: 0 0.85rem 1.7rem rgba(82, 102, 118, 0.18);
}

html[data-bs-theme="light"] .dashboard-header .btn.btn-negatif,
html[data-bs-theme="light"] .dashboard-header .btn.btn-negatif-doc {
    color: #18212b;
    border-color: rgba(207, 186, 152, 0.72);
    background: linear-gradient(180deg, rgba(245, 239, 228, 0.96), rgba(243, 236, 224, 0.98));
    box-shadow:
        0 1.2rem 2.5rem rgba(82, 102, 118, 0.12),
        0 0 0 1px rgba(255, 250, 240, 0.65) inset;
}

html[data-bs-theme="light"] .btn.btn-positif:hover,
html[data-bs-theme="light"] .btn.btn-positif:focus,
html[data-bs-theme="light"] .btn.btn-positif-doc:hover,
html[data-bs-theme="light"] .btn.btn-positif-doc:focus {
    color: #14202b;
    border-color: rgba(208, 217, 225, 0.95);
    background: #ffffff;
    box-shadow: 0 1rem 2rem rgba(82, 102, 118, 0.18);
}

html[data-bs-theme="light"] .btn.btn-negatif:hover,
html[data-bs-theme="light"] .btn.btn-negatif:focus,
html[data-bs-theme="light"] .btn.btn-negatif-doc:hover,
html[data-bs-theme="light"] .btn.btn-negatif-doc:focus {
    color: #ffffff;
    border-color: rgba(110, 126, 139, 0.46);
    background: #2b3d4b;
    box-shadow: 0 1rem 2rem rgba(82, 102, 118, 0.22);
}

html[data-bs-theme="light"] .dashboard-header .btn.btn-negatif:hover,
html[data-bs-theme="light"] .dashboard-header .btn.btn-negatif:focus,
html[data-bs-theme="light"] .dashboard-header .btn.btn-negatif-doc:hover,
html[data-bs-theme="light"] .dashboard-header .btn.btn-negatif-doc:focus {
    color: #18212b;
    border-color: rgba(193, 167, 127, 0.84);
    background: linear-gradient(180deg, rgba(250, 244, 233, 0.98), rgba(246, 239, 226, 1));
    box-shadow:
        0 1.3rem 2.6rem rgba(82, 102, 118, 0.14),
        0 0 0 1px rgba(255, 250, 240, 0.72) inset;
}

html[data-bs-theme="light"] .btn-dashboard-outline {
    --bs-btn-color: #000000;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #00629b;
    --bs-btn-hover-border-color: #00629b;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #00527f;
    --bs-btn-active-border-color: #00527f;
    color: #000000;
}

.dashboard-header .btn-dashboard-outline,
html[data-bs-theme="light"] .dashboard-header .btn-dashboard-outline,
html[data-bs-theme="dark"] .dashboard-header .btn-dashboard-outline {
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    color: #ffffff;
}

.btn-dashboard-outline:hover,
.btn-dashboard-outline:focus {
    color: #ffffff;
}

html[data-bs-theme="light"] .app-card .form-control {
    color: #18212b;
    background: rgba(255, 251, 244, 0.92);
    border-color: rgba(178, 158, 126, 0.42);
}

html[data-bs-theme="light"] .dashboard-header input[type="file"].form-control {
    color: #18212b;
    background: rgba(255, 251, 244, 0.92);
    border-color: rgba(178, 158, 126, 0.42);
}

html[data-bs-theme="light"] .app-card .form-control::placeholder {
    color: rgba(24, 33, 43, 0.48);
}

html[data-bs-theme="light"] .app-card .form-control:focus {
    color: #18212b;
    background: #fffdfa;
}

html[data-bs-theme="light"] .app-card .invalid-feedback,
html[data-bs-theme="light"] .auth-card .invalid-feedback,
html[data-bs-theme="light"] .auth-card h1,
html[data-bs-theme="light"] .auth-card p,
html[data-bs-theme="light"] .auth-card label,
html[data-bs-theme="light"] .publication-detail-content {
    color: #18212b;
}

html[data-bs-theme="light"] .auth-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(245, 239, 228, 0.96), rgba(243, 236, 224, 0.98));
    border-color: rgba(207, 186, 152, 0.72);
    box-shadow:
        0 1.4rem 3rem rgba(24, 33, 43, 0.08),
        0 0 0 1px rgba(255, 250, 240, 0.58) inset;
}

html[data-bs-theme="light"] .auth-card,
html[data-bs-theme="light"] .auth-card .card-body,
html[data-bs-theme="light"] .auth-card .form-label,
html[data-bs-theme="light"] .auth-card .form-control,
html[data-bs-theme="light"] .auth-card .form-control::placeholder {
    color: #18212b;
}

html[data-bs-theme="light"] .auth-card .text-app-muted {
    color: #6f5a39;
}

html[data-bs-theme="light"] .auth-card .form-control {
    background: rgba(255, 251, 244, 0.92);
    border-color: rgba(178, 158, 126, 0.42);
}

html[data-bs-theme="light"] .auth-card .form-control::placeholder {
    color: rgba(24, 33, 43, 0.48);
}

html[data-bs-theme="light"] .auth-card .form-control:focus {
    color: #18212b;
    background: #fffdfa;
    border-color: rgba(193, 167, 127, 0.72);
    box-shadow: 0 0 0 0.2rem rgba(232, 119, 34, 0.12);
}

html[data-bs-theme="light"] .auth-card .alert-danger {
    color: #7a2e12;
    background: rgba(238, 115, 38, 0.14);
    border-color: rgba(244, 151, 22, 0.28);
}

html[data-bs-theme="light"] .text-app-muted,
html[data-bs-theme="light"] .publication-excerpt,
html[data-bs-theme="light"] .delete-confirmation-text {
    color: #4b5358;
}

html[data-bs-theme="light"] .app-topbar {
    background:
        linear-gradient(90deg, rgba(232, 119, 34, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(19, 30, 41, 0.96), rgba(19, 30, 41, 0.9)),
        var(--pantone-7547);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="light"] .app-topbar .text-app-muted,
html[data-bs-theme="light"] .app-topbar .user-profile-name {
    color: rgba(244, 246, 248, 0.82);
}

html[data-bs-theme="light"] .app-brand {
    color: #f4f6f8;
    text-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.2);
}

html[data-bs-theme="light"] .app-brand-logo-light {
    opacity: 0;
}

html[data-bs-theme="light"] .app-brand-logo-dark {
    opacity: 1;
}

html[data-bs-theme="dark"] .app-brand-logo-light {
    opacity: 0;
}

html[data-bs-theme="dark"] .app-brand-logo-dark {
    opacity: 1;
}

html[data-bs-theme="light"] .sidebar-desktop,
html[data-bs-theme="light"] .sidebar-mobile {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 14%),
        linear-gradient(180deg, rgba(19, 30, 41, 0.96), rgba(19, 30, 41, 0.94)),
        var(--pantone-7547);
    border-right-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="light"] .sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

html[data-bs-theme="light"] .sidebar-nav .nav-link:hover,
html[data-bs-theme="light"] .sidebar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(99, 174, 203, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="light"] .publication-link {
    color: #18212b;
}

html[data-bs-theme="light"] .publication-link:hover,
html[data-bs-theme="light"] .publication-link:focus {
    color: #00629b;
}

html[data-bs-theme="light"] .publication-card:hover,
html[data-bs-theme="light"] .document-card:hover {
    border-color: rgba(193, 167, 127, 0.84);
}

html[data-bs-theme="light"] .publication-card:hover {
    box-shadow:
        0 1.45rem 3rem rgba(82, 102, 118, 0.14),
        0 0 0 1px rgba(255, 250, 240, 0.58) inset;
}

html[data-bs-theme="light"] .document-card:hover {
    box-shadow:
        0 1.1rem 2.35rem rgba(82, 102, 118, 0.13),
        0 0 0 1px rgba(255, 250, 240, 0.58) inset;
}

html[data-bs-theme="light"] .publication-meta {
    border-top-color: rgba(196, 177, 145, 0.58);
}

html[data-bs-theme="light"] .publication-comments {
    border-top-color: rgba(196, 177, 145, 0.58);
}

html[data-bs-theme="light"] .publication-comment {
    background: rgba(251, 245, 236, 0.88);
    border-color: rgba(196, 177, 145, 0.42);
}

html[data-bs-theme="light"] .publication-comment-content {
    color: #18212b;
}

.btn-outline-light {
    color: #f3f6f8;
    border-color: rgba(255, 255, 255, 0.22);
    background-color: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    background-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="light"] .btn-outline-light {
    color: #22323e;
    border-color: rgba(120, 136, 149, 0.34);
    background-color: rgba(250, 247, 240, 0.92);
}

html[data-bs-theme="light"] .btn-outline-light:hover,
html[data-bs-theme="light"] .btn-outline-light:focus {
    color: #18212b;
    border-color: rgba(193, 167, 127, 0.62);
    background-color: rgba(244, 236, 222, 0.96);
}

html[data-bs-theme="light"] .selectionne {
    color: #ffffff;
    background-color: #00629b;
}

html[data-bs-theme="light"] .pagination .btn-outline-light {
    color: #18212b;
    border-color: rgba(120, 136, 149, 0.3);
    background-color: rgba(250, 247, 240, 0.94);
}

html[data-bs-theme="light"] .pagination .btn-outline-light:hover,
html[data-bs-theme="light"] .pagination .btn-outline-light:focus {
    color: #18212b;
    border-color: rgba(193, 167, 127, 0.6);
    background-color: rgba(244, 236, 222, 0.96);
}

html[data-bs-theme="light"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.16);
}

html[data-bs-theme="light"] .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

.app-topbar .btn-outline-light {
    color: #f5f7f8;
    border-color: rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.04);
}

.app-topbar .btn-outline-light:hover,
.app-topbar .btn-outline-light:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="light"] .app-topbar .theme-toggle-button,
html[data-bs-theme="light"] .app-topbar .app-topbar-icon-button {
    color: #f5f7f8;
    border-color: rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.04);
}

html[data-bs-theme="light"] .app-topbar .theme-toggle-button:hover,
html[data-bs-theme="light"] .app-topbar .theme-toggle-button:focus,
html[data-bs-theme="light"] .app-topbar .app-topbar-icon-button:hover,
html[data-bs-theme="light"] .app-topbar .app-topbar-icon-button:focus {
    color: #f5f7f8;
    border-color: rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.04);
}

html[data-bs-theme="light"] .app-topbar .btn:not(.btn-outline-light) {
    color: #f5f7f8;
    border-color: transparent;
    background-color: transparent;
    box-shadow: none;
}

html[data-bs-theme="light"] .app-topbar .btn:not(.btn-outline-light):hover,
html[data-bs-theme="light"] .app-topbar .btn:not(.btn-outline-light):focus {
    color: #ffffff;
    border-color: transparent;
    background-color: transparent;
    box-shadow: none;
}

html[data-bs-theme="light"] .sidebar-mobile .btn-close {
    filter: invert(1) grayscale(1) brightness(200%);
}

html[data-bs-theme="light"] .user-profil-picture,
html[data-bs-theme="light"] .user-detail-picture {
    border-color: rgba(193, 167, 127, 0.38);
    background-color: rgba(250, 247, 240, 0.82);
}

.notif {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.notif.show {
    opacity: 1;
}

.floating-back-button {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-deep));
    box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.28);
    transition:
        transform 0.16s ease-in-out,
        box-shadow 0.16s ease-in-out;
}

.floating-back-button:hover,
.floating-back-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.34);
}

.floating-back-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.82);
    outline-offset: 0.2rem;
}

.floating-back-button-icon {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .floating-back-button {
        left: 1rem;
        bottom: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .floating-back-button-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}
