:root {
    --orange-800: #527623;
    --orange-700: #628D2A;
    --orange-600: #78AD34;
    --orange-500: #8CC640;
    --orange-400: #A0D062;
    --orange-100: #E7F3D8;
    --orange-50:  #F3F9EB;
    --amber-500: #E2FF29;
    --amber-400: #E9FF5A;
    --amber-100: #F8FFCC;
    --amber-50:  #FDFFF0;
    --magenta-800: #013946;
    --magenta-700: #01495A;
    --magenta-600: #02596F;
    --magenta-500: #026E89;
    --magenta-100: #CDF4FE;
    --teal-600: #009E5C;
    --teal-100: #CCEFE1;
    --teal-50:  #E8F7F1;
    --text-dark: #1A1F2E;
    --text-body: #374151;
    --text-muted: #6B7280;
    --white: #ffffff;
    --pr-bg: #ffffff;
    --pr-accent: #1f6f5c;
    --pr-accent-dark: #165445;
    --pr-text: #22282c;
    --pr-muted: #6b7280;
    --pr-track: #d8d8d8;
}

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

body {
    background-color: var(--amber-50);
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

.mt-20{
    margin-top: 20px;
}

a{
    cursor: pointer;
    text-decoration: none;
    color: var(--orange-600);
}
a:active, button:active {
    left: 1px;
    position: relative;
    top:1px;
}
p {
    padding: 10px;
}

/* Layout */
.layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.notyf svg{
    vertical-align : middle;
    font-size: 1.4em;
}

/* Sidebar */
.sidebar {
    background: linear-gradient(180deg, var(--amber-500) 0%, var(--orange-500) 45%, var(--orange-700) 100%);
    display: flex;
    height: 100vh;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 100vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
    width: 240px;
}

.sidebar-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 20px 24px;
}

.sidebar-brand h2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
}

.sidebar-brand h2 img {
    max-width: 100%;
    object-fit: cover;
}

.sidebar-brand p {
   /* color: rgba(255, 255, 255, 0.55); */
    font-size: 0.75rem;
    margin-top: 3px;
    text-align: center;
}

.sidebar-nav-main {
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
    min-height: 240px;
}


.sidebar-nav {
    padding: 12px 0;
}

.nav-item, .contacts {
    align-items: center;
    display: flex;
    gap: 11px;
    padding: 11px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--amber-400);
}

.nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Sidebar mobile controls */
.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 12px;
    transition: background-color 0.15s;
}

.sidebar-toggle:hover {
    background-color: #f1f5f9;
}

.sidebar-toggle svg {
    width: 22px;
    height: 22px;
}

.sidebar-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    transition: background-color 0.15s;
}

.sidebar-close:active {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.sidebar-close svg {
    width: 16px;
    height: 16px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(26, 31, 46, 0.5);
    z-index: 45;
}

.sidebar-overlay.is-open {
    display: block;
}

.pr-player {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 6px 14px 6px 6px;
    max-width: 100%;
}
:root[data-theme="dark"] .pr-player { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pr-player { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
}

.pr-play {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--pr-accent);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.1s ease;
}
.pr-play:hover { background: var(--pr-accent-dark); }
.pr-play:active { transform: scale(0.94); }
.pr-play svg { width: 16px; height: 16px; fill: white; }

.pr-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.pr-station {
    font-size: 13px;
    font-weight: 600;
    color: var(--pr-text);
    white-space: nowrap;
}
.pr-status {
    font-size: 11px;
    color: var(--pr-muted);
    white-space: nowrap;
}

.pr-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(0,0,0,0.1);
    margin: 2px 2px;
}
@media (prefers-color-scheme: dark) { .pr-divider { background: rgba(255,255,255,0.12); } }

.pr-volume {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pr-volume svg {
    width: 16px;
    height: 16px;
    fill: var(--pr-muted);
    flex-shrink: 0;
}
.pr-volume input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 70px;
    height: 3px;
    border-radius: 2px;
    background: var(--pr-track);
    outline: none;
}
.pr-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pr-accent);
    cursor: pointer;
}
.pr-volume input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pr-accent);
    border: none;
    cursor: pointer;
}

/* En dessous de ~380px de large, on masque le volume pour rester compact */
@media (max-width: 380px) {
    .pr-volume { display: none; }
    .pr-divider { display: none; }
}

/* Main wrapper */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    min-width: 0;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar h1 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Topbar search form */
.search {
    flex: 1;
    max-width: 290px;
    margin: 0 24px;
}

.searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 9px 16px;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.searchbar:focus-within {
    background-color: #fff;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(140, 198, 64, 0.14);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #94a3b8;
}

.searchbar:focus-within .search-icon-wrapper {
    color: var(--orange-600);
}

.search-icon {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -3px;
    width: 2px;
    height: 7px;
    background-color: currentColor;
    border-radius: 1px;
    transform: rotate(-45deg);
}

.search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: #94a3b8;
}

.password-wrap {
    position: relative;
    width: 100%;
}

.password-wrap input {
    padding-right: 44px;
}

.unmask {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    text-indent: -9999px;
    width: 25px;
    height: 25px;
    background: #026e89;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
}

.unmask:active {
    position: absolute;
    top: 50%;
    right: 8px;
    left: auto;
    transform: translateY(-50%);
}

.unmask:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 17px;
    height: 17px;
    background: #eeeeee;
    z-index: 1;
    border-radius: 50%;
}

.unmask:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 13px;
    height: 13px;
    background: #026e89;
    z-index: 2;
    border-radius: 50%;
}

.content {
    padding: 32px;
    flex: 1;
}
video, object{
    width: 100%;
}

div.intro-video {
    justify-content: center;
    margin-bottom: 140px;
}
div.intro-video video.news {
    border: 1px solid #efefee;
    box-shadow: 0 0 7px 4px #efefee;
    border-radius: 5px;
    width: 42%;
    margin: auto 10px auto 10px;
}

.text-c, .txt-center{
    text-align: center;
}

.content-slider {
    width: 60%;
    margin: 0 auto 60px auto;
    border-radius: 12px;
    height: 320px;
}


.content-slider .swiper, .banner {
    margin-bottom: 40px;
    border-radius: 20px;
}

.content-slider .swiper, .bannerHome{
    text-align: center;
}

.content-slider .swiper img, .banner img, .bannerHome img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    padding: 10px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.15s, transform 0.15s;
}

.news-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.news-feed-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.news-feed-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange-600);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.news-feed-all-link:hover {
    text-decoration: underline;
}

.news-feed-all-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Category filters */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

hr{
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.filter-btn {
    padding: 6px 18px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.83rem;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.filter-btn:hover {
    border-color: var(--magenta-600);
    color: var(--magenta-600);
}

.filter-btn.active {
    background-color: var(--magenta-600);
    border-color: var(--magenta-600);
    color: #fff;
}

/* Quick access to laboratories / months */
#access-laboratory,
#access-month {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #475569;
}

#access-laboratory a,
#access-month a {
    padding: 6px 18px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.83rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

#access-laboratory a:hover,
#access-month a:hover {
    border-color: var(--magenta-600);
    color: var(--magenta-600);
}

/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
/*
.news-grid.home{
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
} */

.news-labo-title,
.news-month-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange-100);
}

.news-labo-title:first-of-type,
.news-month-title:first-of-type {
    margin-top: 0;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.news-card-img span.avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid var(--magenta-500);
    color: var(--magenta-500);
    line-height: 90px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.news-card-img {
    width: 100%;
    height: 150px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;
    font-size: 0.8rem;
    flex-shrink: 0;
    overflow: hidden;
}

.news-card-img img {
    width: 50%;
}

.news-card-img.partner{
    background-color: var(--orange-100);
}
.news-card-img.partner img{
    object-fit: contain;
    max-width: 180px;
    max-height: 80%;
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    width: fit-content;
    vertical-align: middle;
}

.tag-communication {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag-partenaires {
    background: #d1fae5;
    color: #065f46;
}

.tag-services {
    background: #ede9fe;
    color: #6d28d9;
}

.news-card-title {
    font-size: 0.93rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-excerpt, .news-card-excerpt div {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.55;
   /* flex: 1; */
    margin-bottom: 14px;
    min-height: 40px;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.77rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.news-card-link {
    color: var(--orange-600);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.82rem;
}

.news-card-link:hover {
    text-decoration: underline;
}

/* News pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.pagination-link:hover {
    border-color: var(--magenta-600);
    background-color: var(--magenta-600);
    color: #fff;
}

/* News back link */
.news-back-link {
    color: var(--orange-600);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-back-link:hover {
    text-decoration: underline;
}

/* News article detail */
.news-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    padding: 32px;
    max-width: 860px;
    margin: 0 auto;
}

.news-article img{
    max-width: 100%;
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.news-article-date {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.news-article-meta .news-card-tag {
    margin-bottom: 0;
}

.actuality-logo {
    margin: 24px 0;
    text-align: center;
}

.actuality-logo img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-article-body {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 20px;
}

.news-article-body:last-of-type {
    margin-bottom: 0;
}

/* Documents section */
.news-article-docs {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.intro{
    padding: 20px;
}

.news-article-docs-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.news-article-docs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-doc-btn, .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background-color: var(--magenta-600);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
    transition: background-color 0.15s;
}
article .btn{
    display: block;
    margin: auto;
}

.news-doc-btn:hover, .btn:hover {
    background-color: var(--magenta-800);
}

.txt-c{
    text-align: center;
}

.news-doc-btn svg, .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Profile / account page */
.account-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    padding: 40px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    background-color: var(--orange-600);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.profile-role {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 9999px;
    background-color: var(--orange-100);
    color: var(--orange-700);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.profile-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.profile-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.profile-detail-row:last-child {
    border-bottom: none;
}

.profile-detail-row dt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    min-width: 155px;
}

.profile-detail-row dt svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.profile-detail-row dd {
    font-size: 0.875rem;
    color: #1e293b;
    text-align: right;
}

.profile-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.profile-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.profile-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.profile-btn--primary {
    background-color: var(--magenta-600);
    color: #fff;
}

.profile-btn--primary:hover {
    background-color: var(--magenta-800);
}

.profile-btn--secondary {
    background-color: #fff;
    color: var(--magenta-600);
    border: 1px solid var(--magenta-600);
}

.profile-btn--secondary:hover {
    background-color: var(--magenta-100);
}

/* Right column */
.account-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Documents block */
.docs-card {
    flex: 1;
    max-width: 100%;
    align-items: stretch;
}

.docs-item-empty {
    padding: 16px 12px;
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
}

.docs-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.docs-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.docs-card-title svg {
    width: 18px;
    height: 18px;
    color: var(--orange-600);
}

.docs-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 9999px;
}

.docs-list {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.docs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background-color 0.15s;
}

.docs-item:hover {
    background-color: #f8fafc;
}

.docs-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.docs-item-icon svg {
    width: 18px;
    height: 18px;
}

.docs-item-icon--pdf {
    background-color: #fee2e2;
    color: #dc2626;
}

.docs-item-icon--doc {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.docs-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.docs-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-item-meta {
    font-size: 0.75rem;
    color: #94a3b8;
}

.docs-item-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

.docs-item-dl:hover {
    background-color: var(--orange-100);
    color: var(--orange-600);
}

.docs-item-dl svg {
    width: 16px;
    height: 16px;
}

.docs-upload-btn {
    width: 100%;
    flex: unset;
    margin-top: auto;
}

/* Navigation card */
.account-nav-card {
    padding: 20px 24px;
}

.account-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.account-nav-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-nav-text svg {
    width: 28px;
    height: 28px;
    color: var(--orange-600);
    flex-shrink: 0;
}

.account-nav-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.account-nav-text span {
    font-size: 0.8rem;
    color: #64748b;
}

.account-nav-btn {
    flex: unset;
    white-space: nowrap;
    gap: 6px;
}

.account-nav-btn svg {
    width: 14px;
    height: 14px;
}

/* Page article — interested CTA */
.news-article-interested {
    margin-top: 32px;
    padding-top: 24px;
    display: flex;
    justify-content: center;
}

.news-article-cta {
    display: inline-flex;
    align-items: center;
    border:0;
    gap: 8px;
    cursor: pointer;
    padding: 10px 28px;
    background-color: var(--magenta-600);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.15s;
}

.news-article-cta.register {
    background-color: var(--orange-400);
}
.news-article-cta.register:hover {
    background-color: var(--orange-600);
}

.news-article-cta:hover {
    background-color: var(--magenta-800);
}

.user, .contacts{
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}


/* Partner quick-access filter */
.filter-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-partner label {
    font-size: 0.83rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.filter-partner select, select {
    padding: 7px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1e293b;
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    min-width: 220px;
    height: 40px;
}

.filter-partner select:hover {
    border-color: var(--orange-500);
}

.filter-partner select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(140, 198, 64, 0.14);
}

/* Partner card actions */
.partner-actions {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 8px;
   /* margin-top: auto; */
    padding: 12px 8px 10px 8px;
    border-top: 1px solid #f1f5f9;
    min-height:100px
}

.news-card .partner-actions + .news-card-footer {
    border-top: none;
    padding-top: 8px;
}



/* Account update form */
.account-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    padding: 32px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.form-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.account-form-card label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 5px;
}

.account-form-card input,
.account-form-card select,
.account-form-card textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    margin-bottom: 16px;
    font-family: inherit;
}

.account-form-card input:focus,
.account-form-card select:focus,
.account-form-card textarea:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(140, 198, 64, 0.14);
}

.account-form-card ul.errors,
.account-form-card .form-error {
    list-style: none;
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: -12px;
    margin-bottom: 10px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.form-actions button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Progress sheet form (Fiche progrès) */
.sheet {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    padding: 32px 40px;
    max-width: 780px;
    margin: 0 auto;
    display: block;
}

.sheet .form-section {
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sheet .form-section:first-child {
    padding-top: 0;
}

.sheet .form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.sheet .form-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.sheet .form-group {
    margin-bottom: 16px;
}

.sheet .form-group:last-child {
    margin-bottom: 0;
}

.sheet .form-group > label,
.sheet .form-group > p {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    padding: 0;
}

.sheet .form-group .row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sheet .form-group .row label {
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.sheet .form-group.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.sheet .form-group.flex > div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    background: #f8fafc;
    transition: border-color 0.15s, background-color 0.15s;
}

.sheet .form-group.flex > div:has(input:checked) {
    border-color: var(--orange-500);
    background: var(--orange-50);
}

.sheet .form-group.flex label {
    margin-bottom: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
}

.sheet input[type="checkbox"],
.sheet input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--magenta-600);
    cursor: pointer;
    flex-shrink: 0;
}

.sheet input[type="text"],
.sheet input[type="date"],
.sheet textarea,
.sheet select {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sheet textarea {
    min-height: 100px;
    resize: vertical;
    display: block;
}

.sheet input:focus,
.sheet textarea:focus,
.sheet select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(66, 138, 186, 0.14);
}

.risk-scale {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.risk-scale input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.risk-scale label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.risk-scale input[type="radio"]:checked + label {
    border-color: var(--magenta-600);
    background: var(--magenta-600);
    color: #fff;
}

.risk-scale input[type="radio"]:focus-visible + label {
    box-shadow: 0 0 0 3px rgba(66, 138, 186, 0.25);
}

/* Change password info banner */
.password-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--orange-50);
    border: 1px solid var(--orange-100);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--orange-800);
    line-height: 1.5;
}

.password-info svg {
    width: 20px;
    height: 20px;
    color: var(--orange-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.password-info p {
    margin: 0;
}

/* Search results page */
.search-results-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.search-result-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    padding: 24px;
}

.search-result-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 8px;
    border-radius: 8px;
    transition: background-color 0.15s;
}

.search-result-item:hover {
    background-color: #f8fafc;
}

.search-result-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.search-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.search-result-category {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 9999px;
    background-color: var(--orange-100);
    color: var(--orange-700);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
}

.search-result-category:hover {
    background-color: var(--orange-500);
    color: #fff;
}

.search-result-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange-600);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-result-link:hover {
    text-decoration: underline;
}

.search-result-link i {
    font-size: 0.75rem;
}

.search-result-empty {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    padding: 32px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Version footer */
.version {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #fff;
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.version p {
    padding: 0;
}

.login-wrapper {

    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background-color: var(--amber-50);
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    width: 100%;
    max-width: 520px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.login-logo img {
    width: 120px;
}

.login-logo span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange-600);
}

.login-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.login-error {
    width: 100%;
    padding: 12px 16px;
    background-color: #fee2e2;
    color: #b91c1c;
    border-radius: 8px;
    font-size: 0.875rem;
}

.login-info {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--amber-100);
    color: var(--orange-700);
    border-radius: 8px;
    font-size: 0.875rem;
}

.login-info a {
    color: var(--orange-700);
    font-weight: 600;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.login-field input {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #f8fafc;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    width: 100%;
}

.login-field input::placeholder {
    color: #94a3b8;
}

.login-field input:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(140, 198, 64, 0.15);
    background: #fff;
}

.login-btn {
    margin-top: 4px;
    padding: 12px;
    background-color: var(--magenta-600);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
    width: 100%;
}

.login-btn:hover {
    background-color: var(--magenta-800);
}

/* Registration popover */
#registration {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    border: none;
    padding: 0;
    width: 100%;
    max-width: 520px;
    margin: auto;
    overflow: hidden;
}


#registration::backdrop {
    background-color: rgba(26, 31, 46, 0.5);
    backdrop-filter: blur(2px);
}

.popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, var(--magenta-600) 0%, var(--magenta-800) 100%);
}

.popover-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.popover-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.15s;
    flex-shrink: 0;
}

.popover-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.popover-close svg {
    width: 18px;
    height: 18px;
}

.popover-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popover-event-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
    border-radius: 8px;
    padding: 10px 16px;
}

.popover-user-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
}

.popover-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
}

.popover-user-row svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--orange-500);
}

.popover-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popover-form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popover-form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.popover-form-field input,
.popover-form-field textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    resize: vertical;
}

.popover-form-field input:focus,
.popover-form-field textarea:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(140, 198, 64, 0.14);
}

.popover-form-field ul {
    list-style: none;
    font-size: 0.78rem;
    color: #dc2626;
}

.popover-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 4px;
}

.popover-btn-cancel {
    padding: 9px 20px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s, border-color 0.15s;
}

.popover-btn-cancel:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.popover-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 8px;
    border: none;
    background-color: var(--magenta-600);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s;
}

.popover-btn-submit:hover {
    background-color: var(--magenta-800);
}

.popover-btn-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Collection membres */
.popover-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popover-members-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popover-members-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.member-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px dashed var(--orange-400);
    background: var(--orange-50);
    color: var(--orange-700);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s, border-color 0.15s;
}

.member-add-btn:hover {
    background: var(--orange-100);
    border-color: var(--orange-600);
}

.member-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: end;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.member-item label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
    display: block;
}

.member-item input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}

.member-item input:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 2px rgba(140, 198, 64, 0.12);
}

.member-remove-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #fca5a5;
    background: #fef2f2;
    color: #dc2626;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s;
    margin-bottom: 1px;
}

.member-remove-btn:hover {
    background: #fee2e2;
}

/* SweetAlert2 */
:root {
    --swal2-backdrop: rgba(26, 31, 46, 0.5);
}

.swal2-popup {
    --swal2-width: 420px;
    --swal2-border-radius: 16px;
    --swal2-padding: 0 0 28px;
    --swal2-title-padding: 24px 28px 0;
    --swal2-html-container-padding: 12px 28px 0;
    --swal2-color: var(--text-dark);
    --swal2-confirm-button-background-color: var(--magenta-600);
    --swal2-confirm-button-border-radius: 8px;
    --swal2-cancel-button-background-color: #fff;
    --swal2-cancel-button-color: #475569;
    --swal2-cancel-button-border-radius: 8px;
    --swal2-actions-margin: 20px 28px 0;
    --swal2-input-border: 1px solid #cbd5e1;
    --swal2-input-border-radius: 8px;
    --swal2-input-box-shadow: none;
    --swal2-input-focus-border: 1px solid var(--orange-500);
    --swal2-input-focus-box-shadow: 0 0 0 3px rgba(140, 198, 64, 0.15);
    --swal2-validation-message-background: #fef2f2;
    --swal2-validation-message-color: #dc2626;
    font-family: inherit;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.swal2-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.swal2-html-container {
    font-size: 0.9rem;
    color: #475569;
}

.swal2-cancel {
    border: 1px solid #cbd5e1 !important;
    font-weight: 500 !important;
}

.swal2-confirm {
    font-weight: 600 !important;
}

.swal2-icon.swal2-warning {
    border-color: var(--orange-400) !important;
    color: var(--orange-500) !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--magenta-600) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: var(--magenta-100) !important;
}

.swal2-timer-progress-bar {
    background: var(--orange-500) !important;
}

/* ==========================================================================
   Mobile / tablet layout (espace pro)
   ========================================================================== */
@media (max-width: 900px) {
    .sidebar-toggle,
    .sidebar-close {
        display: inline-flex;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        width: 100%;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
        transition: transform 0.25s ease;
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    body.sidebar-locked {
        overflow: hidden;
    }

    .topbar {
        padding: 14px 16px;
    }

    .topbar h1 {
        font-size: 1rem;
    }

    .search {
        margin: 0 12px;
    }

    .searchbar {
        padding: 7px 12px;
    }

    .content {
        padding: 16px;
    }

    .content-slider {
        width: 100%;
    }

    .nav-item, .contacts {
        padding: 16px 24px;
        font-size: 1.05rem;
        gap: 16px;
    }

    .nav-item svg {
        width: 24px;
        height: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-link {
        justify-content: center;
    }

    .account-layout {
        flex-direction: column;
    }

    .profile-card {
        max-width: 100%;
        padding: 28px 20px;
    }

    .account-form-card {
        padding: 24px 20px;
    }

    .sheet {
        padding: 24px 20px;
    }

    .sheet .form-group .row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .member-item {
        grid-template-columns: 1fr;
    }

    .news-article {
        padding: 20px;
    }

    .search-result-section {
        padding: 16px;
    }

    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .search-result-link {
        align-self: flex-end;
    }

    .filter-partner {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-partner select {
        min-width: 0;
        width: 100%;
    }

    .profile-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .profile-detail-row dd {
        text-align: left;
    }

    .account-nav-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .popover-body {
        padding: 20px;
    }

    .popover-form-actions {
        flex-direction: column-reverse;
    }

    .popover-form-actions button {
        width: 100%;
        justify-content: center;
    }

    .swal2-popup {
        --swal2-width: 92vw;
    }

    .version {
        flex-direction: column;
        gap: 4px;
        padding: 10px;
        text-align: center;
    }
}
