:root {
    --width-content: 1300px;
    --main-color-2:#1E2939;
    --main-color-2-dark:#182231;
    --main-color:#7c3aed;
    --main-color-light:#9968ec;
    --main-color-dark:#5b21b6;
    --main-color-background:#101828;
    --secondary-color:#364153;
    --text-color:#E5E7EB;
    --border-color-separator:#D1D5DC;
    --border-input-color:#4A5565;
    --placeholder-color:#99A1AF;
    --placeholder-light-color:#acb5c4;
    --scrollbar-track: var(--main-color-2-dark);
    --scrollbar-thumb: var(--main-color);
    --scrollbar-thumb-hover: var(--main-color);
    --scrollbar-size: 10px;
}

* {
    margin:0;
    padding:0;
    text-decoration:none;
    list-style:none;
}

html {
    scroll-behavior: smooth;
    width:100vw;
    scrollbar-gutter: stable;
}

/* Global scrollbar theme */
body * {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body *::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

body *::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

body *::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb), var(--main-color-light));
    border-radius: 999px;
    border: 2px solid var(--scrollbar-track);
}

body *::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

body *::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

body {
    font-family:"Inter";
    overflow-x:hidden;
    background:var(--main-color-background);
}

a {
    text-decoration:none;
    color:var(--main-color-light);
    transition:0.5s;
}

a:hover {
    color:var(--text-color);
}

p {
    font-size:13px;
    line-height:23px;
    color:var(--text-color);
} 

h5.grey {
    color:var(--placeholder-color);
}

h1 {
    color:var(--text-color);
    font-size: 44px;
    line-height: 48px;
    font-weight:400;
    margin-top:5px;
    margin-bottom:5px;
}

h3 {
    color:var(--text-color);
    font-size:28px;
    line-height:36px;
    font-weight:400;
    margin-top:5px;
    margin-bottom:5px;
}

h2 {
    color:var(--text-color);
    font-size: 34px;
    line-height: 40px;
    font-weight:400;
    margin-top:5px;
    margin-bottom:5px;
}

h4 {
    margin-top:5px;
    margin-bottom:5px;
    color:var(--main-color-light);
    font-weight:400;
    font-size:14px;
    line-height:20px;
    text-transform:uppercase;
}

h5:first-child, h4:first-child, h3:first-child, h2:first-child, h1:first-child {
    margin-top:0;
}

h5:last-child, h4:last-child, h3:last-child, h2:last-child, h1:last-child {
    margin-bottom:0;
}

h5 {
    font-size:17px;
    line-height:28px;
    color:var(--text-color);
    font-weight:400;
    margin-top:5px;
    margin-bottom:5px;
}

ul {
    padding-left:40px;
    margin-top:10px;
    margin-bottom:10px;
}

strong {
    font-weight:600;
}

.green-link {
    color:var(--main-color);
}

.green-link:hover {
    color:var(--text-color);
}

header {
    background:var(--main-color-2);
    margin-top:0;
    display:flex;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:100;
    border-bottom:1px solid var(--secondary-color);
}

.header {
    margin-left:auto;
    margin-right:auto;
    width:var(--width-content);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    margin-top:12px;
    margin-bottom:12px;
}

.header .logo {
    width:200px;
    background-size:contain;
    background-repeat:no-repeat;
    position:relative;
    margin-left:0;
    margin-right:auto;
}

.header .logo a {
    display:block;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}

.header .logo img {
    display:block;
    width:100%;
}

.header .menu {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    width:max-content;
    margin-left:auto;
    margin-right:auto;
}

.header .menu a {
    margin-left:32px;
    font-size:15px;
    line-height:24px;
    font-weight: 400;
    color:var(--text-color);
}

.header .menu a:hover {
    color:var(--main-color);
}

.header .menu a:first-child {
    margin-left:0;
}

.header .menu a.mobile-link, .header .menu hr {
    display:none;
}

.header .user-menu {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    width:max-content;
    margin-left:auto;
    margin-right:18px;
}

.header .user-menu a {
    margin-left:18px;
}

.header .user-menu a:first-child {
    margin-left:0;
}

.header .user-menu a i.fa-regular {
    font-size:18px;
    line-height:18px;
    color:var(--text-color);
    transition:all  0.5s;
}

.header .user-menu a:hover i.fa-regular {
    color:var(--main-color);
}

.header .add-article {
    margin-left:0;
    margin-right:0;
}

.header .add-article a {
    display:block;
    padding:12px 24px;
    background:var(--main-color);
    color:var(--text-color);
    font-size:15px;
    line-height:24px;
    font-weight:400;
    border-radius:10px;
    text-decoration: none;
}

.header .add-article a:hover {
    background:var(--text-color);
    color:var(--main-color);
}

.header .burger {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding:0;
}

.header .burger span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    display: block;
    transition: 0.3s;
}

footer {
    width:100%;
    background:var(--main-color-background);
    display:flex;
    margin-bottom:0;
}

footer a {
    color:var(--text-color);
}

footer a:hover {
    color:var(--main-color);
}

footer .footer {
    width:var(--width-content);
    margin-left:auto;
    margin-right:auto;
    margin-top:48px;
    margin-bottom:48px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
}

footer .footer .top-footer {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    width:100%;
    padding-bottom:32px;
    padding-top:0;
    border-bottom:1px solid var(--border-color-separator);
}

footer .footer .top-footer > div {
    width:calc((100% - 96px) / 4);
    margin-left:auto;
    margin-right:auto;
    display:block;
}

footer .footer .top-footer > div:first-child {
    margin-left:0;
}

footer .footer .top-footer > div:last-child {
    margin-right:0;
}

footer .footer .top-footer .logo-and-description {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

footer .footer .top-footer .logo-and-desc .logo {
    width:150px;
}

footer .footer .top-footer .logo-and-desc .logo img {
    display:block;
    width:100%;
}

footer .footer .top-footer .logo-and-desc p {
    margin-top:16px;
    display:block;
}

footer .footer .top-footer h5 {
    margin-bottom:16px;
    font-weight:500;
}

footer .footer .top-footer .links-container a {
    margin-top:8px;
    display:block;
    line-height:24px;
    font-weight:300;
    width:max-content;
}

footer .footer .top-footer .contacts > a {
    font-size:15px;
    line-height:24px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    font-weight:300;
    width:max-content;
}

footer .footer .top-footer .contacts > a i {
    font-size:15px;
    line-height:15px;
    color:var(--text-color);
    transition:all  0.5s;
    margin-right:8px;
}

footer .footer .top-footer .contacts > a:hover i {
    color:var(--main-color);
}

footer .footer .top-footer .contacts .socials {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    margin-top:16px;
}

footer .footer .top-footer .contacts .socials a {
    display:block;
    width:max-content;
    height:24px;
    margin-left:18px;
    font-size:24px;
    line-height:24px;
    color:var(--text-color);
}

footer .footer .top-footer .contacts .socials a:first-child  {
    margin-left:0;
}

footer .footer .top-footer .contacts .socials a:hover {
    color:var(--main-color);
}

/* Footer two-row layout */
footer .footer .footer-row {
    width:100%;
}

footer .footer .footer-row-top {
    display:grid;
    justify-content:center;
    gap:32px;
    padding-bottom:32px;
    border-bottom:1px solid var(--border-color-separator);
    grid-template-columns: repeat(3, 1fr);
}

footer .footer .footer-row-top .logo-and-desc .logo {
    width:150px;
    margin-bottom:16px;
}

footer .footer .footer-row-top .logo-and-desc .logo img {
    display:block;
    width:100%;
}

footer .footer .footer-row-top h5 {
    margin-bottom:16px;
    font-weight:500;
}

footer .footer .footer-row-top .links-container a {
    margin-top:8px;
    display:block;
    line-height:24px;
    font-weight:300;
}

footer .footer .footer-row-top .contacts > a {
    font-size:15px;
    line-height:24px;
    display:flex;
    align-items:center;
    font-weight:300;
}

footer .footer .footer-row-top .contacts > a i {
    font-size:15px;
    color:var(--text-color);
    transition:color 0.3s;
    margin-right:8px;
}

footer .footer .footer-row-top .contacts > a:hover i {
    color:var(--main-color);
}

footer .footer .footer-row-top .contacts .socials {
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:16px;
}

footer .footer .footer-row-top .contacts .socials a {
    font-size:24px;
    line-height:1;
    color:var(--text-color);
    transition:color 0.3s;
}

footer .footer .footer-row-top .contacts .socials a:hover {
    color:var(--main-color);
}

footer .footer .footer-row-categories {
    padding-top:32px;
    padding-bottom:32px;
    border-bottom:1px solid var(--border-color-separator);
}

footer .footer .footer-row-categories h5 {
    margin-bottom:16px;
    font-weight:500;
}

footer .footer .footer-row-categories h5 a {
    color:inherit;
    text-decoration:none;
}

footer .footer .footer-row-categories h5 a:hover {
    text-decoration:underline;
}

footer .footer .footer-categories-grid {
    column-count:3;
    column-gap:32px;
    color:var(--text-color);
}

footer .footer .footer-cat-group {
    display:flex;
    flex-direction:column;
    gap:4px;
    break-inside:avoid;
    margin-bottom:20px;
}

footer .footer .footer-cat-parent {
    font-weight:600;
    font-size:.85rem;
    text-decoration:none;
    color:inherit;
    margin-bottom:2px;
}

footer .footer .footer-cat-parent:hover {
    text-decoration:underline;
}

footer .footer .footer-cat-child {
    font-size:.8rem;
    text-decoration:none;
    color:inherit;
    opacity:.75;
    line-height:1.5;
    width:max-content;
}

footer .footer .footer-cat-child.footer-cat-depth-2 {
    padding-left:10px;
    font-size:.75rem;
    opacity:.6;
}

footer .footer .footer-cat-child.footer-cat-depth-3 {
    padding-left:20px;
    font-size:.72rem;
    opacity:.55;
}

footer .footer .footer-cat-child:hover {
    opacity:1;
    text-decoration:underline;
}

footer .footer .bottom-footer {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding-top:32px;
    padding-bottom:0;
}

footer .footer .bottom-footer:first-child {
    padding-top:0;
}

footer .footer .bottom-footer p {
    text-align:center;
    width:100%;
}

.padding-top {
    padding-top:48px;
}

.padding-bottom {
    padding-bottom:48px;
}

.background-blue {
    background:var(--main-color-2);
}

form {
    margin-top:40px;
    margin-bottom:40px;
}

form:first-child {
    margin-top:0;
}

form:last-child {
    margin-bottom:0;
}

form > div, form .replica-fields > div, form .search-advanced-section > div, form .replica-fields-section > div {
    margin-top:25px;
    margin-bottom:0px;
    position:relative;
}

form > div:first-child, form .replica-fields > div:first-child, form .search-advanced-section > div:first-child, form .replica-fields-section > div:first-child {
    margin-top:0;
}

input[type="text"], input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="date"], select, textarea {
    background:var(--secondary-color);
    border:1px solid var(--border-input-color);
    color:var(--text-color);
    padding:13px 20px;
    font-size:15px;
    line-height:17px;
    border-radius:10px;
    max-width:calc(300px - 40px);
    width:calc(100% - 40px);
}

input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="number"]::placeholder, input[type="password"]::placeholder, input[type="tel"]::placeholder, textarea::placeholder {
  color: var(--placeholder-color);
}

select {
    width:100%;
    max-width:300px;
}

label {
    display:block;
    margin-bottom:8px;
    color:var(--text-color);
    font-size:14px;
    line-height:20px;
    max-width:300px;
}

/* Simple alerts for Symfony forms */
form .alert {
    margin-top:10px;
    margin-bottom:0;
    padding:10px 12px;
    border-radius:10px;
    font-size:14px;
    line-height:20px;
    text-align:left;
    border:1px solid transparent;
    max-width:calc(300px - 24px);
}

.form-box form .alert {
    max-width:calc(100% - 24px);
}

form .alert-danger {
    color:#FECACA;
    background:#3F1D1D;
    border-color:#7F1D1D;
}

form .alert-success {
    color:#BBF7D0;
    background:#14532D;
    border-color:#166534;
}

form .form-errors ul {
    margin-top:10px;
    margin-bottom:0;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #7F1D1D;
    background:#3F1D1D;
    color:#FECACA;
    max-width:calc(300px - 24px);
}

.form-box form .form-errors ul {
    max-width:calc(100% - 24px);
}

form .form-error-message {
    display:block;
    color:inherit;
    font-size:14px;
    line-height:20px;
    margin-top:0;
}

form .form-errors li {
    color:inherit;
    font-size:14px;
    line-height:20px;
    text-align:left;
    margin-top:5px;
}

form .form-errors li:first-child {
    margin-top:0;
}

button, input[type="submit"] {
    display:block;
    padding:12px 32px;
    background:var(--main-color);
    color:var(--text-color);
    font-size:15px;
    line-height:24px;
    font-weight:400;
    border-radius:10px;
    text-decoration: none;
    border:none;
    cursor:pointer;
    transition:0.5s;
    margin-top:30px;
}

button:hover, input[type="submit"]:hover {
    background:var(--text-color);
    color:var(--main-color);
}

.checkbox-container > div {
    margin-top:0;
    display:flex;
    align-items:center;
    gap:8px;
}

.checkbox-container input[type="checkbox"] {
    order:1;
    width:16px;
    height:16px;
    margin:0;
    accent-color:var(--main-color);
    cursor:pointer;
}

.checkbox-container label {
    order:2;
    margin-bottom:0;
    cursor:pointer;
    font-size:14px;
    line-height:20px;
    color:var(--text-color);
}

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

.not-all-width {
    width:var(--width-content);
    margin-left:auto;
    margin-right:auto;
    position:relative;
}

.title-and-link {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.title-and-link h3 {
    margin-left:0;
    margin-right:auto;
    display: block;
    width:max-content;
    margin-top:0;
    margin-bottom:0;
}

.title-and-link a {
    margin-left:auto;
    margin-right:0;
    display: block;
    width:max-content;
    margin-top:0;
}

.important-link {
    display:block;
    width:max-content;
    padding:12px 24px;
    background:var(--main-color);
    color:var(--text-color);
    font-size:15px;
    line-height:24px;
    font-weight:400;
    border-radius:10px;
    text-decoration: none;
    transition:0.5s;
    margin-top:24px;
    position:relative;
}

.important-link:hover {
    background: var(--main-color-dark);
    color: var(--text-color);
}

.important-link:first-child {
    margin-top:0;
}

.container.body-container {
    width:100%;
    min-height:calc(100vh - 73px);
    margin-top:73px;
}

.container.body-container.error-container {
    min-height:calc(100vh - (73px + 119px));
}

.home-banner {
    width:100%;
    height:calc(100vh - 73px);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
}

.home-banner > video, .home-banner > img {
    width: 100%;
    min-height: calc(100vh - 73px);
    min-width: 100vw;
    height:100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 10;
    object-fit: cover;
    object-position: center;
}

.home-banner .filter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 11;
}

.home-banner > img {
    z-index:9;
}

.home-banner .block-home-banner {
    margin-left:auto;
    margin-right:auto;
    max-width:var(--width-content);
    position:relative;
    z-index:12;
    display:block;
    width:1100px;
    text-align:center;
}

.home-banner .block-home-banner h1 {
    margin-bottom:20px;
    text-shadow: 1px 1px 10px #333;
}

.home-banner .block-home-banner h4 {
    margin-top:0;
    margin-bottom:0;
    font-size:18px;
    line-height:28px;
    text-transform: none;
    color:var(--text-color);
    font-weight:300;
    text-shadow: 1px 1px 10px #333;
}

.home-banner .block-home-banner .search-bar {
    margin-top:32px;
    display:block;
    background:var(--main-color-2);
    border:1px solid var(--secondary-color);
    border-radius:10px;
    padding:16px;
    width:max-content;
    margin-left:auto;
    margin-right:auto;
    max-width:calc(100% - 32px);
}


.search-bar form, .search-bar.search-bar--inline {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    grid-template-columns: repeat(5, 1fr);
}

.search-bar form > div, .search-bar.search-bar--inline > div {
    margin-top:0;
    margin-left:16px;
    position:relative;
}

.search-bar form > div:first-child, .search-bar.search-bar--inline > div:first-child {
    margin-left:0;
}

.search-bar label {
    display:none;
}

.search-bar form > button, .search-bar.search-bar--inline > button {
    margin-top:0;
    margin-left:16px;
}

.search-bar .category-fake-select {
    width:220px;
}

.search-bar.search-bar--inline .category-fake-select {
    width:calc(((var(--width-content) - 68px - 44px) / 4));
}

.search-bar input[type="text"] {
    width:calc(220px - 40px);
}

.search-bar select {
    width:220px;
}

.search-bar input#search, .search-bar input#city {
    width:calc(220px - 55px);
    padding-left:35px;
}

.search-bar.search-bar--inline input#search, .search-bar.search-bar--inline input#city {
    width:calc(((var(--width-content) - 68px - 44px) / 4) - 57px);
    padding-left:35px;
}

.search-bar div:has(> input#search):before, .search-bar div:has(> input#city):before {
    content: "\f002";
    font-family: "Font Awesome 7 Free";
    font-weight: 600;
    width:16px;
    text-align:center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--placeholder-color);
    font-size: 15px;
    line-height: 15px;
    pointer-events: none;
}

.search-bar div:has(> input#city):before {
    content: "\f3c5";
}

.form-box .search-bar--inline input[type="text"], .form-box .search-bar--inline input[type="number"], .form-box .search-bar--inline input[type="email"], .form-box .search-bar--inline input[type="password"], .form-box .search-bar--inline input[type="tel"], .form-box .search-bar--inline select, .form-box .search-bar--inline  textarea {
    min-width: 0;
}

/* Radius range wrapper — caché par défaut, visible quand coords présentes */

.search-city-radius-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-city-radius-row > div:first-child {
    margin-bottom: 0;
}

.search-radius-wrapper {
    flex: 0 0 180px;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
    text-align: center;
}

.search-bar.search-bar--inline .search-radius-wrapper {
    width:calc(((var(--width-content) - 68px - 44px) / 4));
    flex:auto;
}

.search-bar .search-radius-wrapper label {
    display: block;
    margin-bottom: 2px;
    color: var(--text-color);
    font-size: 12px;
    line-height: 14px;
    text-align: center;
}

.radius-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.search-bar input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.3);
    outline: none;
    cursor: pointer;
    margin-bottom:5px;
}
.search-bar input[type="range"].range-filled {
    background: linear-gradient(
        to right,
        var(--main-color) 0%,
        var(--main-color) var(--range-fill, 0%),
        rgba(255,255,255,0.3) var(--range-fill, 0%),
        rgba(255,255,255,0.3) 100%
    );
}
.search-bar input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.search-bar input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.radius-value-label {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    text-align: center;
}

/* ---- Page annonces : form-box pleine largeur ---- */
#articles .form-container {
    width: 100%;
    max-width: 100%;
}

#articles .form-box.form-box--articles {
    width: calc(100% - 68px);
    max-width: 100%;
    text-align: left;
    margin-bottom: 32px;
}

#articles .form-box.form-box--articles button[type="submit"] {
    min-width: auto;
}

/* Boutons Rechercher + Toggle avancée */
.search-actions {
    display: flex;
    flex-wrap:wrap;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

#articles .form-box.form-box--articles button[type="submit"] {
    margin-top: 0;
}

/* Toggle recherche avancée */
.btn-advanced-toggle {
    background: none;
    border: none;
    color: var(--main-color-light);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.btn-advanced-toggle .fa-chevron-up {
    transition: transform 0.2s ease;
    font-size: 12px;
}

.btn-advanced-toggle.active .fa-chevron-up {
    transform: rotate(180deg);
}

.btn-advanced-toggle:hover {
    color: var(--main-color);
    background:none;
}

/* Section avancée */
.search-advanced-section {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--secondary-color);
}

.advanced-section-separator {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--placeholder-color);
    margin-top: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary-color);
}

/* Slider puissance dans la recherche avancée — double range */
.power-range-wrapper,
.dual-range-wrapper {
    margin-bottom: 16px;
}

.power-range-wrapper > label,
.dual-range-wrapper > label {
    display: block;
    margin-bottom: 6px;
}

.dual-range-track {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    /* Espace intérieur = zone de la barre, les inputs débordent pour compenser l'offset du thumb */
    padding: 0;
}

.dual-range-bg {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 4px;
    pointer-events: none;
    width:100%;
}

.dual-range-fill {
    position: absolute !important;
    left: calc(9px + var(--lo-pct, 0) * (100% - 18px));
    width: calc((var(--hi-pct, 1) - var(--lo-pct, 0)) * (100% - 18px));
    height: 4px;
    background: var(--main-color);
    border-radius: 4px;
    pointer-events: none;
}

.dual-range-track input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    /* Les inputs débordent de 9px de chaque côté pour que le thumb soit aligné avec la barre */
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    outline: none;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.dual-range-track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.dual-range-track input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: pointer;
    pointer-events: all;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.dual-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--placeholder-color);
    margin-top: 6px;
}

.partner-home-page {
    display:flex;
    flex-wrap:wrap;
    border:1px solid var(--secondary-color);
    border-radius: 14px;
    overflow:hidden;
    min-height:500px;
}

.partner-home-page .image {
    width:calc(100% / 3);
    display:block;
    height:100%;
}

.partner-home-page .image img {
    display:block;
    width:100%;
    height:500px;
    object-fit:cover;
}

.partner-home-page .text {
    padding:48px;
    display:flex;
    flex-direction:column;
    justify-content: center;
    width:calc(((100% / 3) * 2) - 96px);
    background:var(--secondary-color);
}

.categories-home-page {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    margin-top:40px;
}

.categories-home-page a {
    display:block;
    width:calc((100% - 120px) / 6 - 32px);
    margin-left:24px;
    margin-top:24px;
    padding:16px;
    background:var(--secondary-color);
    color:var(--text-color);
    border-radius:14px;
    text-decoration: none;
    transition:0.5s;
}

.categories-home-page a .image {
    width:100%;
    display:block;
    height:calc((var(--width-content) - 120px) / 6 - 32px);
    margin-bottom:12px;
    overflow:hidden;
    border-radius:10px;
}

.categories-home-page a .image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
    transform:scale(1);
}

.categories-home-page a:hover .image img {
    transform:scale(1.05);
}

.categories-home-page a h3 {
    font-size:15px;
    line-height:24px;
    font-weight:400;
    text-align:center;
}

.categories-home-page a:nth-child(6n + 1) {
    margin-left:0;
}

.categories-home-page a:nth-child(-n + 6) {
    margin-top:0;
}

.articles-list {
    display:flex;
    flex-wrap:wrap;
    margin-top:40px;
}

.articles-list > a {
    width:calc((100% - 48px) / 3);
    margin-left:24px;
    margin-top:24px;
    background:var(--secondary-color);
    border-radius:14px;
    overflow:hidden;
    display: block;
    position:relative;
}

.articles-list > a:nth-child(3n + 1) {
    margin-left:0;
}

.articles-list > a:nth-child(-n + 3) {
    margin-top:0;
}

.articles-list > a .image {
    width:100%;
    display:block;
    height:190px;
    overflow:hidden;
    z-index:4;
}

.articles-list > a .image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
    transform:scale(1);
}

.articles-list > a:hover .image img {
    transform:scale(1.05);
}

.articles-list > a .category {
    position:absolute;
    top: 12px; 
    right: 12px;
    background:var(--main-color);
    color:var(--text-color);
    padding:4px 12px;
    border-radius:15px;
    font-size:14px;
    line-height:20px;
    font-weight:400;
    z-index:5;
}

.articles-list > a .text {
    padding:20px;
    width:calc(100% - 40px);
}

.articles-list > a .text h3 {
    margin-bottom:12px;
    font-size:17px;
    line-height:28px;
    height:28px;
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.articles-list > a .text .price {
    margin-top:8px;
    color:var(--main-color);
    font-size:22px;
    line-height:32px;
    font-weight:500;
}

.articles-list > a .text .city-and-date {
    margin-top:8px;
    color:var(--placeholder-color);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}

.articles-list > a .text .city-and-date .city, .articles-list > a .text .city-and-date .date {
    display:block;
    width:max-content;
    margin-left:0;
    margin-right:auto;
    font-size:14px;
    line-height:20px;
    color:var(--placeholder-color);
    position:relative;
    padding-left:20px;
}

.articles-list > a .text .city-and-date .date {
    margin-left:auto;
    margin-right:0;
}

.articles-list > a .text .city-and-date .city:before, .articles-list > a .text .city-and-date .date:before {
    content: "\f3c5";
    font-family: "Font Awesome 7 Free";
    font-weight: 600;
    width:14px;
    text-align:center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--placeholder-color);
    font-size: 14px;
    line-height: 14px;
}

.articles-list > a .text .city-and-date .date:before {
    content: "\f017";
    font-weight: 400;
}

#results {
    scroll-margin-top: 150px;
}

.articles-list.articles-list-page > a {
    width:calc((100% - 72px) / 4);
}

.articles-list.articles-list-page > a:nth-child(3n + 1) {
    margin-left:24px;
}

.articles-list.articles-list-page > a:nth-child(-n + 3) {
    margin-top:24px;
}

.articles-list.articles-list-page > a:nth-child(4n + 1) {
    margin-left:0;
}

.articles-list.articles-list-page > a:nth-child(-n + 4) {
    margin-top:0;
}

/* Favorite button — card overlay */
.articles-list > a .favorite-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 100%;
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    color: var(--placeholder-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    z-index: 10;
    padding: 0;
    min-width: 36px;
    margin-top: 0;
}

.articles-list > a .favorite-btn:hover {
    background: var(--secondary-color);
    color: #e53e3e;
}

.articles-list > a .favorite-btn.is-active {
    color: #e53e3e;
}

.articles-list > a .favorite-btn.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.articles-list > a .sold-banner, .my-articles-list .my-article-card .sold-banner {
    position:absolute;
    top:50px;
    right:12px;
    background:#b91c1c;
    color:#fff;
    padding:4px 14px;
    border-radius:15px;
    font-size:14px;
    line-height:20px;
    font-weight:600;
    z-index:6;
    pointer-events:none;
}

.my-articles-list .my-article-card .sold-banner {
    top:20px;
    right:auto;
    left:20px;
}

.articles-list > a.is-sold .image img {
    filter:grayscale(40%);
}

/* Favorite button — article detail page */
.favorite-btn--detail {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--placeholder-color);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    width: 100%;
    justify-content: center;
    min-width: initial;
    margin-top:20px;
}

.favorite-btn--detail:hover {
    background: var(--main-color-2);
    color: #e53e3e;
    border-color: #e53e3e;
}

.favorite-btn--detail.is-active {
    color: #e53e3e;
    border-color: #e53e3e;
}

.favorite-btn--detail.is-loading {
    opacity: 0.5;
    pointer-events: none;
    color: var(--placeholder-color);
    font-size: 14px;
    line-height: 20px;
}

.seo-text h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--placeholder-color);
}

.seo-text p {
    font-size: 14px;
    line-height: 20px;
    color: var(--placeholder-color);
    margin-top:10px;
}

.category-fake-select { position: relative; }

.category-fake-select__trigger {
    max-width:calc(300px);
    width:calc(100%);
    background: var(--secondary-color);
    border: 1px solid var(--border-input-color);
    color: var(--text-color);
    text-align: left;
    padding: 13px 20px;
    cursor: default;
    position: relative;
    margin-top:0;
    font-size:15px;
    line-height:17px;
    border-radius: 10px;
}

.category-fake-select__trigger:hover {
    background: var(--secondary-color);
    border: 1px solid var(--border-input-color);
    color: var(--text-color);
}

.category-fake-select__trigger::after {
    content: '\0023F7';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.category-fake-select__menu {
    position: absolute !important;
    z-index: 50;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    max-width:calc(300px);
    width:calc(100%);
}

.category-fake-select__group {
    font-weight: 600;
    color: #1f2937;
    padding: 8px 12px;
    text-align:left;
}

.category-fake-select__group[data-group-toggle] {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.category-fake-select__group[data-group-toggle]:hover {
    background: #f3f4f6;
}

.category-fake-select__arrow {
    font-size: 12px;
    transition: transform 0.2s;
    display: inline-block;
}

.category-fake-select__group.is-open .category-fake-select__arrow {
    transform: rotate(180deg);
}

.category-fake-select__option {
    padding: 8px 12px;
    cursor: pointer;
    color: #111827;
    text-align:left;
}

.category-fake-select__option[data-depth="1"], .category-fake-select__group[data-depth="1"] { padding-left: 24px; }

.category-fake-select__option[data-depth="2"], .category-fake-select__group[data-depth="2"] { padding-left: 36px; }

.category-fake-select__option[data-depth="3"], .category-fake-select__group[data-depth="3"] { padding-left: 48px; }

.category-fake-select__option:hover,
.category-fake-select__option:focus {
    background: #f3f4f6;
    outline: none;
}

.category-fake-select__option.is-selected {
    background: #e6f0ff;
    font-weight: 600;
    color: #0f3a8a;
}

.category-fake-select__option--all {
    font-style: italic;
    color: #555;
}

.category-fake-select__option--all-reset {
    font-style: italic;
    color: var(--placeholder-color);
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 4px;
    padding-bottom: 6px;
}

.image-picker {
    margin: 18px 0 22px;
}

.image-picker__input {
    display: none;
}

.image-picker__camera {
    display: none;
}

.image-picker__actions {
    margin-bottom: 8px;
}

.image-picker__dropzone {
    border: 2px dashed var(--secondary-color, #ccc);
    border-radius: 10px;
    padding: 48px 24px;
    text-align: center;
    cursor: default;
    transition: border-color 0.2s, background 0.2s;
}

.image-picker__dropzone.is-dragover {
    border-color: var(--main-color);
    background: rgba(124, 58, 237, 0.06);
}

.image-picker__dropzone-icon {
    width: 52px;
    height: 52px;
    color: var(--placeholder-color);
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.image-picker__dropzone-text {
    margin: 0 0 8px;
    color: var(--border-color-separator) !important;
    font-size: 1rem;
    text-align:center !important;
}

.image-picker__dropzone-or {
    display: block;
    color: var(--placeholder-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.image-picker__browse-btn {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    min-width: max-content !important;
    width: max-content !important;
    margin-left:auto;
    margin-right:auto;
}

.image-picker__count {
    font-size: 0.875rem;
    color: var(--secondary-color, #aaa);
    margin: 10px 0 16px;
}

.image-picker__preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.image-picker__card {
    border: none;
    border-radius: 10px;
    padding: 0;
    cursor: move;
    position:relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.image-picker__card.is-dragging {
    opacity: 0.6;
}

.image-picker__card.is-drop-target {
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.image-picker__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 0;
    pointer-events: none;
}

.image-picker__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position:initial !important;
}

.image-picker__order {
    font-size: 12px;
    line-height: 20px;
    color: var(--text-color);
    font-weight: 600;
    background:#000;
    border-radius:4px;
    padding:4px;
    width:20px;
    height:20px;
    text-align:center;
    left:6px;
    bottom:6px;
    position:absolute;
}

.image-picker__remove {
    border: none;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    cursor: pointer;
    position:absolute;
    right:6px;
    top:6px;
    font-size: 14px;
    line-height: 16px;
    color: var(--text-color);
    background:#b91c1c;
    opacity: 0;
    transition: opacity 0.1s;
    width: 30px !important;
    min-width: 30px !important;
    height:30px;
    border-radius:100%;
    margin-top:0;
}

.image-picker__remove:hover {
    background:#b91c1c;
    color: var(--text-color);
}

.image-picker__card:hover .image-picker__remove {
    opacity: 1;
}

.image-picker__feedback {
    margin: 0;
    color: #b91c1c;
    font-size: 0.9rem;
    min-height: 1.1rem;
}

.form-container {
    width:max-content;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
}

.discreet-link {
    color:var(--placeholder-color);
    font-weight:400;
    display:block;
    margin-bottom:0;
    width:max-content;
}

.discreet-link:hover {
    color:var(--main-color-light); 
}

.checkbox-container label {
    width:calc(100% - 24px);
    max-width:calc(300px - 24px);
}

.form-box .checkbox-container label {
    max-width:calc(100% - 24px);
}

.form-box {
    margin-top:32px;
    display:block;
    width:380px;
    padding:33px;
    border:1px solid var(--secondary-color);
    border-radius:16px;
    text-align:center;
    background:var(--main-color-2);
}

.form-box h1 {
    font-size:28px;
    line-height:36px;
}

.form-box h4 {
    margin-top:8px;
    color:var(--placeholder-color);
    text-transform:none;
    font-weight:400;
}

.form-box form {
    margin-top:32px;
    margin-bottom:0;
}

.form-box form label {
    text-align:left;
}

.form-box input[type="text"], .form-box input[type="number"], .form-box input[type="email"], .form-box input[type="password"], .form-box input[type="tel"], .form-box select, .form-box textarea {
    min-width: calc(100% - 40px);
}

.form-box label {
    max-width:100%;
}

.form-box select {
    min-width:100%;
}

.form-box button, .form-box input[type="submit"] {
    min-width:100%;
}

.form-box .separator {
    margin-top:24px;
    margin-bottom:24px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.form-box .separator .line {
    flex:1;
    height:1px;
    background:var(--secondary-color);
}

.form-box .separator span {
    margin:0 12px;
    color:var(--placeholder-color);
    font-size:13px;
    line-height:20px;
}

.form-box .register-link {
    font-size:15px;
    line-height:24px;
}

.form-box .remember-me-and-lost-password {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:24px;
}

.form-box .lost-password-link {
    font-size:13px;
    line-height:20px;
    text-decoration:none;
}

.form-box .lost-password-link:hover {
    color:var(--text-color);
}

.form-box form input#login_email, .form-box form input#login_password, .form-box form input#registration_email, .form-box form input#registration_password, .form-box form input#registration_confirm_password, .form-box form input#registration_lastname, .form-box form input#registration_firstname, .form-box form input#registration_phone, .form-box form input#form_new_password, .form-box form input#form_confirm_password {
    min-width: calc(100% - 55px);
    padding-left: 35px;
    width: calc(100% - 55px);
}

.form-box form input#login_password,
.form-box form input#registration_password,
.form-box form input#registration_confirm_password {
    padding-right:35px;
    min-width: calc(100% - 70px);
    width: calc(100% - 70px);
}

.form-box .password-toggle-btn {
    position:absolute;
    right:10px;
    top: 50%;
    transform:translateY(-50%);
    color:var(--placeholder-color);
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    line-height:18px;
    cursor:pointer;
    user-select:none;
    transition:0.5s;
}

.form-box .password-toggle-btn:hover {
    color:var(--placeholder-light-color);
    outline:none;
}

.form-box form div {
    position:relative;
}

.form-box form div:has(> input#login_email):before, .form-box form div:has(> input#login_password):before, .form-box form div:has(> input#registration_email):before, .form-box form div:has(> input#registration_password):before, .form-box form div:has(> input#registration_confirm_password):before, .form-box form div:has(> input#registration_lastname):before, .form-box form div:has(> input#registration_firstname):before, .form-box form div:has(> input#registration_phone):before, .form-box form div:has(> input#form_new_password):before, .form-box form div:has(> input#form_confirm_password):before {
    content: "\f0e0";
    font-family: "Font Awesome 7 Free";
    font-weight: 400;
    width:16px;
    text-align:center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--placeholder-color);
    font-size: 15px;
    line-height: 15px;
    pointer-events: none;
}

.form-box form div:has(> input#login_password):before, .form-box form div:has(> input#registration_password):before, .form-box form div:has(> input#registration_confirm_password):before, .form-box form div:has(> input#form_new_password):before, .form-box form div:has(> input#form_confirm_password):before {
    content: "\f023";
    font-weight: 600;
}

.form-box form div:has(> input#registration_phone):before {
    content: "\f095";
    font-weight: 600;
}

.form-box form div:has(> input#registration_lastname):before, .form-box form div:has(> input#registration_firstname):before {
    content: "\f007";
    font-weight: 400;
}

form .form-two-columns {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    width:100%;
}

form .form-two-columns > div {
    width:calc(50% - 8px);
    margin-top:0;
    position: relative;
}

.form-box form .form-two-columns {
    max-width: 100%;
}

form .form-three-columns {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    width:100%;
}

form .form-three-columns > div {
    width:calc((100% - 32px) / 3);
    margin-top:0;
    position: relative;
}

.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 380px;
    position:relative;
}
.phone-country-wrap {
    position: relative;
    flex-shrink: 0;
}
.phone-country {
    width: auto !important;
    max-width: none !important;
    padding: 13px 8px 13px 25px !important;
    opacity: 0.65;
    cursor: not-allowed !important;
    font-size: 13px !important;
}
.phone-segments {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.phone-segment {
    flex: 1;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    padding: 13px 4px !important;
    text-align: center;
}
/* Masque l'icône FA du champ téléphone (remplacée par l'emoji drapeau) */
.form-box form div:has(> input#registration_phone)::before {
    content: none !important;
}

.phone-country-wrap::before {
    content: "";
    background: url("/images/flags/france.png") no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.form-box .phone-wrapper select {
    min-width:calc((380px - 40px) / 6);
    border-radius:10px 5px 5px 10px;
}

.form-box .phone-wrapper input[type="text"] {
    min-width:calc((100% - 40px - 78px) / 5 - 10px);
    border-radius:5px;
}

.form-box .phone-wrapper input[type="text"]:last-child {
    border-radius:5px 10px 10px 5px;
}

.account-page {
    display:flex;
    flex-wrap:wrap;
    position:relative;
    align-items:flex-start;
    height:max-content;
}

.account-page h3 {
    font-weight:400;
}

.account-page h3 span {
    margin-right:12px;
}

.account-page .left-column {
    width:calc((100% - 32px) / 3);
    margin-left:0;
    margin-right:auto;
    position:sticky;
    top:121px;
    height:max-content;
}

.account-page .right-column {
    width:calc((100% - 32px) / 3 * 2);
    margin-left:auto;
    margin-right:0;
}

.part {
    width:calc(100% - 48px);
    padding:24px;
    background:var(--main-color-2);
    border-radius:14px;
    margin-top:32px;
}

.part:first-child {
    margin-top:0;
}

.account-header {
    width:100%;
}

.account-header > * {
    margin-left:auto;
    margin-right:auto;
    width:max-content;
}

.account-header .avatar {
    padding:24px;
    border-radius:100%;
    background-color:var(--main-color);
}

.account-header .avatar span {
    font-size:48px;
    line-height:48px;
    color:var(--text-color);
    display:block;
    width:48px;
    height:48px;
    text-align:center;
    font-weight:500;
}

.account-header h2 {
    margin-top:16px;
    text-align:center;
    font-size:22px;
    line-height:32px;
}

.account-header p {
    margin-top:4px;
    text-align:center;
    color:var(--placeholder-color);
}

.account-infos {
    margin-top:24px;
}

.account-infos p {
    margin-top:16px;
    color:var(--border-color-separator);
    margin-bottom:0;
    display:flex;
    align-items:center;
}

.account-infos p:first-child {
    margin-top:0;
}

.account-infos p span {
    margin-right:12px;
    font-size:18px;
    line-height:23px;
    width:23px;
    height:23px;
    color:var(--placeholder-color);
    font-weight:600;
}

.account-infos .line-email-phone {
    margin-top:16px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items: center;
}

.account-infos .line-email-phone:first-child {
    margin-top:0;
}

.account-infos .line-email-phone form {
    margin-top:0;
}

.account-infos .line-email-phone form button {
    margin-top:0;
}

.account-infos .line-email-phone .verify-badge {
    margin-left:-3px;
}

.verify-badge {
    margin-left:8px;
    margin-right:0;
    font-size:15px;
    width:auto;
    height:auto;
    color:#2ecc71;
}

.verify-resend-form {
    display:inline-flex;
    margin-left:8px;
}

.verify-resend-btn {
    padding:0px 12px;
    font-size:12px;
    background:var(--main-color);
    color:var(--text-color);
    border-radius:10px;
    border:none;
    cursor:pointer;
    line-height: 24px;
}

.verify-resend-btn:hover {
    background:var(--main-color-dark);
    color:var(--text-color);
}

.verify-resend-btn span {
    margin-right:0;
    width:auto;
    height:auto;
    font-size:10px;
    color:inherit;
}

.account-nav {
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid var(--secondary-color);
    width:100%;
    margin-left:0;
    padding-left:0;
}

.account-nav li {
    margin-top:8px;
}

.account-nav li:first-child {
    margin-top:0;
}

.account-nav li a {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    width:calc(100% - 32px);
    padding:14px 16px;
    background:var(--secondary-color);
    color:var(--text-color);
    border-radius:10px;
    text-decoration: none;
    transition:0.5s;
    font-size:15px;
    line-height:24px;
}

.account-nav li a:hover {
    background:var(--border-input-color);
}

.account-nav li a.account-nav-active {
    background:var(--main-color);
}

.account-nav li a.account-nav-active:hover {
    background:var(--main-color-light);
}

.account-nav li a span {
    margin-right:12px;
    font-size:18px;
    line-height:20px;
    width:20px;
    height:20px;
    color:var(--text-color);
    font-weight:600;
}

/* ── Page paramètres ── */
.settings-flash {
    padding:14px 18px;
    border-radius:10px;
    font-size:14px;
    line-height:20px;
    margin-bottom:24px;
}

.settings-flash--success {
    color:#BBF7D0;
    background:#14532D;
    border:1px solid #166534;
}

.settings-flash--warning {
    color:#fef9c3;
    background:#713f12;
    border:1px solid #854d0e;
}

.settings-flash-error,
.settings-flash--error {
    color:#dc2626;
    background:rgba(220, 38, 38, 0.08);
    border:1px solid #dc2626;
}

.identity-locked-notice {
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:12px 16px;
    border-radius:10px;
    background:rgba(124,58,237,0.15);
    border:1px solid rgba(124,58,237,0.4);
    color:var(--text-color);
    font-size:14px;
    line-height:20px;
    margin-top:16px;
}

.identity-locked-notice .fa-shield-halved {
    color:var(--main-color-light);
    font-size:16px;
    flex-shrink:0;
    margin-top:2px;
}

.my-favorites-list > a {
    width:calc((100% - 24px) / 2);
}

.my-favorites-list > a:nth-child(3n + 1) {
    margin-left:24px;
}

.my-favorites-list > a:nth-child(-n + 3) {
    margin-top:24px;
}

.my-favorites-list > a:nth-child(2n + 1) {
    margin-left:0;
}

.my-favorites-list > a:nth-child(-n + 2) {
    margin-top:0;
}

.my-articles-list {
    margin-top:24px;
}

.my-articles-list .my-article-card {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    padding:16px;
    background:var(--secondary-color);
    border-radius:10px;
    margin-top:16px;
}

.my-articles-list .my-article-card:first-child {
    margin-top:0;
}

.my-articles-list .my-article-card .image {
    width:128px;
    height:128px;
    overflow:hidden;
    border-radius:10px;
    flex-shrink:0;
}

.my-articles-list .my-article-card .image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.my-articles-list .my-article-card .text {
    width:calc(100% - 128px - 100px - 32px);
}

.my-articles-list .my-article-card .text h3 {
    font-size:17px;
    line-height:28px;
    width:100%;
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom:8px;
}

.my-articles-list .my-article-card .text h3 a {
    color:var(--text-color);
}

.my-articles-list .my-article-card .text .price {
    color:var(--main-color);
    font-size:22px;
    line-height:32px;
    font-weight:500;
}

.my-articles-list .my-article-card .text .views {
    margin-top:8px;
    color:var(--placeholder-color);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
}

.my-articles-list .my-article-card .actions {
    width:100px;
}

.my-articles-list .my-article-card .actions .status {
    display:block;
    padding:4px 12px;
    border-radius:15px;
    font-size:11px;
    line-height:16px;
    font-weight:400;
    text-align:center;
    background:#00A63E;
    color:#fff;
    width:max-content;
    margin-left:auto;
    margin-right:0;
    margin-bottom:46px;
}

.my-articles-list .my-article-card .actions a {
    margin-top:6px;
    color:var(--main-color-light);
    font-size:14px;
    line-height:24px;
    display:block;
    width:max-content;
    max-width:100%;
    margin-left:auto;
    margin-right:0;
}

.my-articles-list .my-article-card .actions .btn-delete-article {
    margin-top:6px;
    color:var(--main-color-light);
    font-size:14px;
    line-height:24px;
    display:block;
    width:max-content;
    max-width:100%;
    margin-left:auto;
    margin-right:0;
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
}

.my-articles-list .my-article-card .actions .btn-delete-article:hover {
    color:#c0392b;
}

.my-articles-list .my-article-card .actions .btn-delete-article:hover span {
    color:#c0392b;
}

.my-articles-list .my-article-card .actions a span {
    margin-right:8px;
    font-size:16px;
    line-height:16px;
    width:16px;
    height:16px;
    color:var(--main-color-light);
    font-weight:600;
    transition:0.5s;
}

.my-articles-list .my-article-card .actions .btn-delete-article span {
    margin-right:8px;
    font-size:16px;
    line-height:16px;
    width:16px;
    height:16px;
    color:var(--main-color-light);
    font-weight:600;
    transition:0.5s;
}

.my-articles-list .my-article-card {
    position:relative;
}

.my-articles-list .my-article-card.is-sold {
    opacity:0.8;
}

.my-articles-list .my-article-card .text .sold-date {
    display:block;
    margin-top:6px;
    font-size:13px;
    color:var(--placeholder-color);
}

.my-articles-list .my-article-card .actions .status-sold {
    background:#b91c1c;
    color:#fff;
}

.my-articles-list .my-article-card .actions .btn-mark-sold,
.my-articles-list .my-article-card .actions .btn-cancel-sold {
    display:flex;
    align-items:center;
    gap:6px;
    background:none;
    border:none;
    cursor:pointer;
    font-size:14px;
    line-height:22px;
    padding:8px 0;
    color:var(--text-color);
    text-decoration:none;
    white-space:nowrap;
    margin-left:auto;
    margin-right:0;
    margin-top:0;
}

.my-articles-list .my-article-card .actions .btn-mark-sold span,
.my-articles-list .my-article-card .actions .btn-cancel-sold span {
    margin-right:8px;
    font-size:16px;
    line-height:16px;
    width:16px;
    height:16px;
    color:#00A63E;
    font-weight:600;
    transition:0.5s;
}

.my-articles-list .my-article-card .actions .btn-cancel-sold span {
    color:var(--placeholder-color);
}

.my-articles-list .my-article-card .actions .inline-form {
    display:contents;
}

.my-articles-list .my-article-card .mark-sold-panel {
    width:100%;
    background:var(--background-color);
    border-top:1px solid var(--secondary-color);
    border-radius:0 0 10px 10px;
}

.my-articles-list .my-article-card .mark-sold-panel label {
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:500;
}

.my-articles-list .my-article-card .mark-sold-panel select {
    background:var(--main-color-2);
}

.my-articles-list .my-article-card .mark-sold-panel-actions {
    display:flex;
    gap:10px;
    margin-top:10px;
}

.my-articles-list .my-article-card .mark-sold-panel .btn-confirm-sold,
.my-articles-list .my-article-card .mark-sold-panel .btn-cancel-panel {
    padding:8px 16px;
    border-radius:8px;
    border:none;
    cursor:pointer;
    font-size:14px;
    font-weight:500;
}

.my-articles-list .my-article-card .mark-sold-panel .btn-confirm-sold {
    background:#00A63E;
    color:#fff;
}

.my-articles-list .my-article-card .mark-sold-panel .btn-cancel-panel {
    background:var(--secondary-color);
    color:var(--text-color);
}

/* Article detail — sold/mark-sold UI */
.block-infos .sold-info {
    display:flex;
    align-items:center;
    gap:8px;
    color:#00A63E;
    font-size:14px;
    margin:8px 0;
}

.block-infos .sold-info a {
    color:#00A63E;
}

.important-link.success-link {
    background:#00A63E;
    color:#fff;
}

.important-link.success-link:hover {
    background:#007a2d;
}

.mark-sold-buyer {
    margin-top:12px;
}

.mark-sold-buyer label {
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:500;
    text-align:left;
}

.mark-sold-buyer select {
    width:100%;
    max-width:100%;
    background:var(--main-color-2);
}

.mark-sold-actions {
    display:flex;
    gap:10px;
    margin-top:12px;
    flex-wrap:wrap;
    gap:16px;
}

.mark-sold-actions button {
    width:calc(50% - 8px) !important;
    margin-top:0 !important;
}

.form-container.new-article-container {
    width:70%;
}

.form-container.articles-search-form a.discreet-link {
    margin-top:20px;
}

.form-box.new-article-form {
    width:calc(100% - 68px);
}

.form-box.new-article-form .checkbox-container label {
    max-width:calc(100% - 24px);
}

.form-box.new-article-form input[type="text"], .form-box.new-article-form input[type="number"], .form-box.new-article-form input[type="email"], .form-box.new-article-form input[type="password"], .form-box.new-article-form input[type="tel"], .form-box.new-article-form select, .form-box.new-article-form textarea {
    min-width: calc(100% - 40px);
}

.form-box.new-article-form label {
    max-width:100%;
}

.form-box.new-article-form select {
    min-width:100%;
}

.form-box.new-article-form button, .form-box.new-article-form input[type="submit"] {
    min-width:100%;
}

.form-box.new-article-form .phone-wrapper select {
    min-width:calc((100% - 40px) / 6);
}

.form-box.new-article-form .phone-wrapper input[type="text"] {
    min-width:calc((100% - 40px - 78px) / 5 - 10px);
}

form .replica-fields {
    margin-top:32px;
    padding-top:32px;
    border-top:1px solid var(--secondary-color);
}

.form-box h3 {
    margin-top:0;
    font-size:22px;
    line-height:32px;
}

.form-box p {
    margin-top:8px;
    color:var(--placeholder-color);
    font-size:15px;
    line-height:24px;
}

.new-article-form h1, .new-article-form h3, .new-article-form p {
    margin-left:0;
    text-align:left;
}


/* City autocomplete dropdown */
.city-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--secondary-color, #ccc);
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.city-autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.9rem;
}

.city-autocomplete-item:hover {
    background: var(--primary-light-color, #f5f5f5);
}

.submit-and-cancel {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    width:100%;
}

.submit-and-cancel .btn-primary {
    width:calc(100% - 132px);
    min-width:calc(100% - 132px) !important;
}

.submit-and-cancel .btn-primary.important-link {
    width: calc(100% - 235px);
    min-width: calc(100% - 235px) !important;
}

.submit-and-cancel .cancel-btn {
    width:max-content;
    min-width:max-content !important;
    background:var(--secondary-color);
    margin-top:0 !important;
}

.submit-and-cancel .cancel-btn:hover {
    color:var(--main-color-light);
}

.submit-and-cancel button {
    margin-top:0;
}

.ariane-container {
    border-bottom: 1px solid var(--secondary-color);
    padding-top:15px;
    padding-bottom:15px;
    background:var(--main-color-2);
}

.ariane {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:15px;
    line-height:20px;
    color:var(--placeholder-color);
    font-weight:300;
    flex-wrap:wrap;
}

.ariane > * {
    color:var(--placeholder-color);
    font-weight:300;
}

.ariane > span:last-child {
    color:var(--text-color);
    font-weight:500;
}

.article-container .article-header {
    display:flex;
    flex-wrap:wrap;
    gap:32px;
}

.article-container .article-header .article-pictures {
    width:calc(100% - 650px - 32px);
}

.article-container .article-header .article-content {
    width:650px;
}

.article-container .article-header .article-pictures .main-picture {
    width:100%;
    height:calc((var(--width-content) - 650px - 32px) * 13 / 16);
    border-radius:14px;
    overflow:hidden;
    cursor:pointer;
    position:relative;
    display:inline-block;
}

.article-container .article-header .article-pictures .main-picture img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:filter .2s;
}

.article-container .article-header .article-pictures .main-picture.is-sold img {
    filter:grayscale(100%) brightness(0.72);
}

.article-container .article-header .article-pictures .main-picture .main-picture-sold-ribbon {
    position:absolute;
    top:50px;
    left:-95px;
    width:380px;
    transform:rotate(-35deg);
    background:#b91c1c;
    color:#fff;
    text-align:center;
    text-transform:uppercase;
    font-size:34px;
    line-height:1;
    font-weight:800;
    letter-spacing:0.12em;
    padding:12px 0;
    z-index:8;
    box-shadow:0 10px 24px rgba(0, 0, 0, 0.35);
    pointer-events:none;
}

.article-container .article-header .article-pictures .main-picture #main-picture-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .2s;
    pointer-events:none;
}

.article-container .article-header .article-pictures .main-picture #main-picture-overlay #main-picture-icon {
    color:#fff;
    font-size:2.5rem;
    opacity:0;
    transition:opacity .2s;
    text-shadow:0 2px 8px rgba(0,0,0,.6);
}

.article-container .article-header .article-pictures .thumbnails-wrapper {
    margin-top:16px;
    position:relative;
    display:flex;
    align-items:center;
    gap:6px;
}

.article-container .article-header .article-pictures .thumbnails-arrow {
    flex-shrink:0;
    width:32px;
    height:32px;
    border-radius:50%;
    border:none;
    background:var(--main-color);
    color:#fff;
    font-size:1.4rem;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:opacity .2s, background .2s;
    z-index:1;
    position:absolute;
    padding:0;
    top:50%;
    transform:translateY(-50%);
    margin-top:-5px;
}

.article-container .article-header .article-pictures .thumbnails-arrow.thumbnails-arrow-left {
    left:-16px;
}

.article-container .article-header .article-pictures .thumbnails-arrow.thumbnails-arrow-right {
    right:-16px;
}

.article-container .article-header .article-pictures .thumbnails-arrow:hover {
    background:var(--main-color-dark, var(--main-color));
    opacity:.85;
}

.article-container .article-header .article-pictures .thumbnails-arrow.hidden {
    opacity:0;
    pointer-events:none;
}

.article-container .article-header .article-pictures .thumbnails {
    flex:1;
    overflow-x:auto;
    scrollbar-width:thin;
    scrollbar-color:var(--main-color) transparent;
    display:flex;
    flex-wrap:nowrap;
    gap:10px;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.article-container .article-header .article-pictures .thumbnails::-webkit-scrollbar {
    height:4px;
}
.article-container .article-header .article-pictures .thumbnails::-webkit-scrollbar-thumb {
    background:var(--main-color);
    border-radius:2px;
}

.article-container .article-header .article-pictures .thumbnails .thumbnail {
    flex-shrink:0;
    width:calc((100% - 30px) / 3.7 - 6px);
    height:calc((((var(--width-content) - 650px - 32px) - 30px) / 3.7 - 6px) * 13 / 16);
    border-radius:10px;
    overflow:hidden;
    cursor:pointer;
    border:3px solid transparent;
    transition:0.5s;
}

.article-container .article-header .article-pictures .thumbnails .thumbnail.active {
    border-color:var(--main-color);
}

.article-container .article-header .article-pictures .thumbnails .thumbnail img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:0.5s;
}

.article-container .article-header .article-content .labels {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:12px;
}

.article-container .article-header .article-content .labels span, .article-container .article-header .article-content .labels a {
    border-radius:15px;
    background:var(--secondary-color);
    color:var(--text-color);
    padding:4px 12px;
    font-size:14px;
    line-height:20px;
    font-weight:400;
}

.article-container .article-header .article-content .labels span.category, .article-container .article-header .article-content .labels a.category {
    background:var(--main-color);
}

.article-container .article-header .article-content .labels span.sold-status {
    background:#00A63E;
}

.article-container .article-header .article-content .labels span.sold-status.sold {
    background:#b91c1c;
}

.article-container .article-header .article-content .city-and-date {
    margin-top:16px;
    color:var(--placeholder-color);
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}

.article-container .article-header .article-content .city-and-date .city, .article-container .article-header .article-content .city-and-date .date {
    display:block;
    width:max-content;
    margin-left:0;
    margin-right:25px;
    font-size:14px;
    line-height:20px;
    color:var(--placeholder-color);
    position:relative;
    padding-left:20px;
}

.article-container .article-header .article-content .city-and-date .date {
    margin-left:0;
    margin-right:0;
}

.article-container .article-header .article-content .city-and-date .city:before, .article-container .article-header .article-content .city-and-date .date:before {
    content: "\f3c5";
    font-family: "Font Awesome 7 Free";
    font-weight: 600;
    width:14px;
    text-align:center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--placeholder-color);
    font-size: 14px;
    line-height: 14px;
}

.article-container .article-header .article-content .city-and-date .date:before {
    content: "\f017";
    font-weight: 400;
}

.block-infos {
    margin-top:24px;
    padding:24px;
    background:var(--main-color-2);
    border-radius:14px;
    width:calc(100% - 48px);
}

.block-infos:first-child {
    margin-top:0;
}

.article-container .price {
    color:var(--main-color-light);
    font-size:32px;
    line-height:42px;
    font-weight:500;
}

.article-container .important-link {
    width:calc(100% - 48px);
    text-align:center;
}

.article-container button.important-link {
    width:100%;
}

.article-container button.important-link.danger-link {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.article-container button.important-link.danger-link:hover {
    background: #a93226;
    border-color: #a93226;
}

.article-container .block-infos form {
    margin-top: 8px;
}

.article-container .important-link.bigger {
    font-size:17px;
    line-height:28px;
    padding-top:16px;
    padding-bottom:16px;
}

.article-container .important-link span {
    margin-right:4px;
}

.important-link.inversed {
    border:1px solid var(--main-color);
    background:none;
    color:var(--main-color-light);
}

.important-link.inversed:hover {
    background:var(--main-color);
    color:var(--text-color);
}

.article-container h2 {
    font-size:19px;
    line-height:29px;
    font-weight:500;
}

.important-link.grey {
    background:var(--secondary-color);
}

.important-link.grey:hover {
    color:var(--main-color-light);
}

.seller-infos {
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:18px;
}

.seller-infos .avatar {
    width:64px;
    height:64px;
    border-radius:100%;
    background:var(--main-color);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    line-height:32px;
    color:var(--text-color);
    font-weight:500;
    position:relative;
}

.seller-infos .right-infos {
    width:calc(100% - 64px - 16px);
}

.seller-infos .right-infos .username {
    font-size:15px;
    line-height:24px;
    font-weight:400;
}

.seller-infos .right-infos .user-date {
    margin-top:4px;
    color:var(--placeholder-color);
    font-size:13px;
    line-height:20px;
}

.seller-infos .right-infos .user-rating {
    margin-top:4px;
    display:flex;
    align-items:center;
    gap:4px;
}

.seller-infos .right-infos .user-rating .fa-star {
    font-size:13px;
    line-height:20px;
    color:#F6A814;
}

.seller-infos .right-infos .user-rating .rating-value {
    font-size:13px;
    line-height:20px;
    color:var(--main-color);
}

.advise {
    padding:18px;
    background:#1C398E20;
    border:1px solid #1447E6;
    border-radius:14px;
    margin-top:24px;
}

.advise h4 {
    color:#8EC5FF;
    line-height:24px;
    display:flex;
    align-items:center;
    padding-left:40px;
    position:relative;
}

.advise h4 span {
    color:#8EC5FF;
    font-size:24px;
    line-height:24px;
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
}

.advise p {
    margin-top:4px;
    padding-left:40px;
}

.article-container .article-infos {
    display:flex;
    flex-wrap:wrap;
    gap:32px;
    margin-top:52px;
}

.article-container .article-infos .left-column {
    width:calc(100% - 400px - 32px);
}

.article-container .article-infos .right-column {
    width:400px;
}

.article-container .article-infos .left-column .block-infos p {
    margin-top:16px;
    font-weight:300;
}

.type-transaction {
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:16px;
    font-size:15px;
    line-height:24px;
    font-weight:300;
}

.type-transaction span {
    color:#8BA84B;
    font-size:20px;
    line-height:20px;
}

.specs {
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    margin-top:16px;
}

.specs .spec {
    width:calc(50% - 15px);
    border-bottom:1px solid var(--secondary-color);
    padding-top:12px;
    padding-bottom:12px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}

.specs .spec span {
    font-size:15px;
    line-height:24px; 
}

.specs .spec span.label {
    color:var(--placeholder-color);
    margin-left:0;
    margin-right:auto;
    font-weight:300;
}

.specs .spec span.value {
    color:var(--text-color);
    margin-left:auto;
    margin-right:0;
}

#img-lightbox {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:9999;
    align-items:center;
    justify-content:center;
    cursor:zoom-out;
}

#img-lightbox #img-lightbox-img {
    max-width:90vw;
    max-height:90vh;
    object-fit:contain;
    border-radius:4px;
    box-shadow:0 4px 32px rgba(0,0,0,.6);
    cursor:default;
}

#img-lightbox #img-lightbox-close {
    position:absolute;
    top:1rem;
    right:1.25rem;
    background:none;
    border:none;
    color:#fff;
    font-size:2rem;
    cursor:pointer;
    line-height:1;
}

.pagination {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin-top:64px;
    flex-wrap:wrap;
}

.pagination a,
.pagination > span {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:10px;
    border-radius:10px;
    border:1px solid var(--secondary-color, #ddd);
    background:var(--main-color-2);
    font-size:.9rem;
    text-decoration:none;
    color:var(--text-color, #333);
    transition:background .2s, color .2s;
    text-align:center;
}

.pagination a:hover {
    background:var(--main-color);
    color:#fff;
    border-color:var(--main-color);
}

.pagination a.active, .pagination span.active {
    background:var(--main-color);
    color:#fff;
    border-color:var(--main-color);
    font-weight:600;
    pointer-events:none;
}

.pagination .pagination-arrow {
    font-size:1.3rem;
    font-weight:700;
    padding:10px;
    text-align:center;
}

.pagination .pagination-arrow.disabled {
    opacity:0.5;
    pointer-events:none;
    cursor:default;
}

.pagination .pagination-arrow span {
    font-size:14px;
    line-height:20px;
    color:var(--text-color);
    font-weight:600;
}

.pagination .pagination-ellipsis {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 4px;
    border:none;
    background:none;
    color:var(--text-muted, #aaa);
    font-size:.9rem;
    pointer-events:none;
    cursor:default;
}

/* ---- Bannière "Créer une alerte" ---- */
.alert-create-banner {
    margin-top:32px;
    padding:20px 24px;
    border-radius:10px;
    background:var(--main-color-2);
    border:1px solid var(--border-input-color);
}
.alert-create-banner__content {
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}
.alert-create-banner__icon {
    font-size:1.6rem;
    color:var(--primary, #7c5cbf);
    flex-shrink:0;
}
.alert-create-banner__text {
    flex:1;
    min-width:180px;
}
.alert-create-banner__text strong {
    display:block;
    font-size:1rem;
    margin-bottom:2px;
}
.alert-create-banner__text span {
    font-size:.875rem;
    color:var(--text-muted, #aaa);
}
.alert-create-banner__btn {
    white-space:nowrap;
    flex-shrink:0;
    margin-top:0;
}

#alert-create-btn:hover {
    background:var(--secondary-color);
    color:var(--main-color-light);
}

.alert-create-banner--guest .alert-create-banner__icon {
    color:var(--text-muted, #aaa);
}
.alert-create-banner__success {
    padding:12px 0;
    color:var(--success, #4caf50);
    font-size:.95rem;
}
.alert-create-banner__success .fa {
    margin-right:6px;
}

/* ---- Page Mes alertes ---- */
.alerts-list {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:24px;
}
.alert-item {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    background:var(--main-color-2-dark);
    border:1px solid var(--border-input-color);
    border-radius:10px;
    padding:16px 20px;
}
.alert-item__info {
    flex:1;
    min-width:0;
}
.alert-item__title {
    font-size:15px;
    font-weight:600;
    margin-bottom:5px;
}
.alert-item__sep {
    margin:0 6px;
    color:var(--text-muted, #aaa);
}
.alert-item__category {
    color:var(--main-color-light);
    font-weight:500;
}
.alert-item__meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:13px;
    color:var(--text-muted, #aaa);
    margin-bottom:4px;
}
.alert-item__meta .fa {
    margin-right:4px;
}
.alert-item__date {
    font-size:12px;
    color:var(--placeholder-color);
}
.btn-alert-delete {
    background:var(--danger-bg, #7b1d1d);
    color:var(--text-color);
    border:none;
    border-radius:6px;
    padding:8px 16px;
    cursor:pointer;
    font-size:13px;
    white-space:nowrap;
    flex-shrink:0;
    transition:background .15s;
}
.btn-alert-delete:hover {
    background:#991f1f;
    color:var(--text-color);
}

#categories .categories-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

#categories .category-card {
    background: var(--main-color-2);
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

#categories .category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    padding-bottom:36px;
    border-bottom: 1px solid var(--secondary-color);
    background: linear-gradient(135deg, var(--main-color-2) 0%, var(--main-color-background) 100%);
}

#categories .category-header .image {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#categories .category-header .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#categories .category-header h3 {
    color: var(--text-color);
    margin-bottom:4px;
    font-size:19px;
    line-height:28px;
}

#categories .category-header h3 a {
    color: var(--text-color);
}

#categories .category-header h3 a:hover {
    color: var(--main-color-light);
}

#categories .cat-count {
    color: #6A7282;
    font-size:13px;
    line-height:20px;
    font-weight:500;
}

/* Children tree */
#categories .category-children {
    padding: 16px 24px;
    display:flex;
    flex-direction:column;
    gap:20px;
    flex-grow:1;
}

/* Shared row layout */
#categories .cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-left:35px;
}

#categories .category-children li a {
    font-size: 15px;
    line-height:24px;
    font-weight:300;
    color: var(--text-color);
    flex: 1;
}

#categories .category-children li a:hover {
    color: var(--main-color-light);
}

/* details/summary for collapsible groups */
#categories details.category-subtree > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

#categories details.category-subtree > summary::-webkit-details-marker {
    display: none;
}

#categories details.category-subtree > summary .arrow {
    display: inline-block;
    width: 15px;
    height: 15px;
    color: var(--border-input-color);
    transition: transform 0.2s ease;
}

#categories details.category-subtree[open] > summary .arrow {
    transform: rotate(90deg);
}

/* Grandchildren list */
#categories .category-grandchildren {
    padding-left:0;
    gap:10px;
    display:flex;
    flex-direction:column;
    margin-top:15px;
    opacity:0.6;
    margin-bottom:0;
}

#categories .category-card .separator {
    display: block;
    border-top: 1px solid var(--secondary-color);
}

#categories .category-card .see-category {
    margin:16px;
    width:calc(100% - 80px);
    text-align:center;
}

.form-box.form-box--articles form {
    margin-top:0;
}

.search-actions .btn-primary {
    width:calc(100% - 162px);
    min-width:calc(100% - 162px) !important;
}

.search-actions .btn-advanced-toggle {
    width:max-content;
    min-width:max-content !important;
}

.replica-fields-section {
    margin-top:40px !important;
}
.delete-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.delete-modal-overlay:not([hidden]) {
    display: flex;
}

.delete-modal {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.delete-modal__icon {
    font-size: 48px;
    color: #c0392b;
    margin-bottom: 16px;
}

.delete-modal h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--text-color);
}

.delete-modal p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 28px;
    font-weight:200;
}

.delete-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.delete-modal__cancel {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid var(--border-input-color);
    background: var(--text-color);
    color: var(--main-color-2);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.delete-modal__confirm {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #c0392b;
    background: #c0392b;
    color:var(--text-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.delete-modal__confirm:hover {
    background: #a93226;
    border-color: #a93226;
    color:var(--text-color);
}

.report-success-modal {
    position: relative;
}

.report-success-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    margin-top:0;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: var(--placeholder-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    background: var(--main-color-2);
}

.report-success-modal__close:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-color);
}

.report-success-modal__icon {
    color: #16a34a;
}

.chat-bubble-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}
.chat-bubble-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--main-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    transition: 0.5s;
    padding:15px;
}
.chat-bubble-toggle:hover { transform: scale(1.05);background: var(--main-color);
    color: var(--text-color); }
.chat-bubble-unread-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.chat-bubble-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 375px;
    max-width:95vw;
    background: var(--main-color-2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    overflow: hidden;
    display: none;
    flex-direction: column;
    height: 540px;
    max-height:90vh;
}

.chat-bubble-panel.open { display: flex; }
.chat-bubble-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-input-color);
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text-color);
    background:var(--main-color);
    gap:8px;
    min-height:32px;
}

.chat-bubble-panel-header span {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:1rem;
    line-height:1rem;
}

.chat-bubble-panel-header .chat-bubble-unread-badge {
    position:relative;
    top:0;
    right:0;
    min-width:15px;
    height: 15px;
    font-size: 0.8rem;
    line-height: 0.8rem;
}


.chat-bubble-panel-header a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left:auto;
    margin-right:15px;
}

.chat-bubble-panel-header button {
    padding:0;
    background:none;
    margin-top:0;
    font-size: 1.2rem;
}

.chat-bubble-panel-header button:hover {
    background:none;
    color:var(--text-color);
}

.chat-bubble-conv-list { overflow-y: auto; flex: 1; }
.chat-bubble-conv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-input-color);
    transition: background 0.12s;
    position:relative;
}
.chat-bubble-conv-item:hover { background: var(--main-color-background); }

.chat-bubble-conv-item:last-child {
    border-bottom:none;
}

.chat-bubble-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
    flex-shrink: 0;
}
.chat-bubble-conv-body { flex: 1; min-width: 0; }
.chat-bubble-conv-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.chat-bubble-conv-name { font-size: 0.88rem; font-weight: 200; color: var(--text-color); }

.chat-bubble-conv-item.unread .chat-bubble-conv-name { font-weight: 600;  }

.chat-bubble-conv-date {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #9ca3af;
}
.chat-bubble-conv-article {
    font-size: 0.75rem;
    color: var(--main-color-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight:200;
}

.chat-bubble-sold-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
}

.chat-bubble-conv-item.unread .chat-bubble-conv-article  {
    font-weight:600;
}
.chat-bubble-conv-preview {
    font-size: 0.8rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 200;
    margin-top:4px;
}
.chat-bubble-conv-item.unread .chat-bubble-conv-preview {
    font-weight: 600;
}
.chat-bubble-unread-dot {
    width: 15px;
    height: 15px;
    background: var(--main-color);
    border-radius: 50%;
    flex-shrink: 0;
    position:absolute;
    bottom:12px;
    right: 12px;
}
.chat-bubble-empty {
    text-align: center;
    padding: 32px 16px;
    color: #9ca3af;
    font-size: 0.88rem;
}
/* Bubble – list & chat views */
#cbp-list-view  { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
#cbp-chat-view  { display: none; flex-direction: column; height: 100%; overflow: hidden; }
/* Bubble – chat header */
.cbp-chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-input-color);
    flex-shrink: 0;
    background:var(--main-color);
    padding: 14px 16px;
}

.cbp-chat-header button {
    padding: 0;
    background: none;
    margin-top: 0;
    font-size: 1.2rem;
}

.cbp-chat-header button:hover {
    color:white;
}

.cbp-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1;
    transition: background 0.1s;
}
.cbp-back-btn:hover { background: none; color: var(--text-color); }
.cbp-chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--main-color-dark);
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.cbp-chat-info { flex: 1; min-width: 0; }
.cbp-chat-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-color);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cbp-chat-name:hover {
    color: white;
}

.cbp-chat-article {
    font-size: 0.75rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-weight:300;
}
.cbp-open-link {
    color: var(--text-color);
    font-size: 1.2rem;
    text-decoration: none;
    flex-shrink: 0;
    opacity: 1;
    margin-left: auto;
    margin-right: 15px;
}
.cbp-open-link:hover { opacity: 1; }

.cbp-review-link, button.cbp-report-link {
    color: var(--main-color-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    padding:0;
    background:none;
    margin-top:0;
}

.cbp-review-link:hover {
    color: var(--main-color);
}

.cbp-mark-sold-btn {
    margin-top: 0;
    margin-left: auto;
    border: none;
    border-radius: 8px;
    background: #00A63E;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cbp-mark-sold-btn:hover {
    background: #007a2d;
    color: #fff;
}

.cbp-sold-status {
    background: #b91c1c;
    color: #fff;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
}
.cbp-article-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 8px;
    border-top: 1px solid var(--border-input-color);
    flex-wrap: wrap;
}
/* Bubble – article banner */
.cbp-article-banner {
    border-bottom: 1px solid var(--border-input-color);
    flex-shrink: 0;
    background: var(--main-color-2);
}
.cbp-article-banner-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}
.cbp-article-banner-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #e5e7eb;
}


.cbp-article-banner-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cbp-article-banner-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.cbp-article-banner-price {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--main-color);
    display: block;
}
/* Bubble – messages area */
#cbp-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.cbp-msg-wrapper { display: flex; flex-direction: column; }
.cbp-msg-wrapper.mine  { align-items: flex-end; }
.cbp-msg-wrapper.theirs { align-items: flex-start; }
.cbp-msg-bubble {
    max-width: 78%;
    padding: 7px 11px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    word-break: break-word;
    white-space: pre-wrap;
}
.cbp-msg-wrapper.mine   .cbp-msg-bubble { background: var(--main-color); color: var(--text-color); border-bottom-right-radius: 3px; }
.cbp-msg-wrapper.theirs .cbp-msg-bubble { background: var(--secondary-color); color: var(--text-color); border-bottom-left-radius: 3px; }
.cbp-msg-meta { font-size: 0.67rem; color: #b7bdc7; margin-top: 5px; padding: 0; }
.cbp-loading, .cbp-no-messages { text-align: center; color: #9ca3af; font-size: 0.82rem; padding: 20px 8px; }
/* Bubble – input area */

.cbp-input-area {
    display: flex;
    gap: 0;
    align-items: flex-end;
    flex-shrink: 0;
    margin-top:0;
    padding:0 0 0px 0;
}

.cbp-input-area textarea {
    flex: 1;
    border-radius: 0 0 0 10px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    min-height: 46px;
    max-height: 140px;
    outline: none;
    transition: border-color 0.15s;
    width:calc(100% - 30px - 56px);
    max-width:calc(100% - 30px - 56px);
}
.cbp-input-area .cbp-send-btn {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 0 0 10px 0;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.5s;
    flex-shrink: 0;
    min-height: 100%;
    max-height: 162px;
    margin-top:0;
}

.cbp-input-area .cbp-send-btn:hover {
    background: var(--text-color);
    color:var(--main-color);
}
/* Header message icon */

.user-menu .msg-icon-wrapper {
    position: relative;
    display: inline-flex;
}
.user-menu .msg-unread-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

#conversations .conversations-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 16px;
}
#conversations .conversations-page h1 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
}
#conversations .conv-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background:var(--main-color-2);
    border: 1px solid var(--border-input-color);
    border-radius: 12px;
    overflow:hidden;
}

#conversations .conv-item {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-input-color);
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
}
#conversations .conv-item:hover {
    background:var(--main-color-background);
}
#conversations .conv-item.unread {
    border-left: 8px solid var(--main-color);
}

#conversations .conv-item:last-child {
    border-bottom: none;
}

#conversations .conv-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-color);
    flex-shrink: 0;
}
#conversations .conv-body {
    flex: 1;
    min-width: 0;
}
#conversations .conv-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
#conversations .conv-username {
    font-weight: 200;
    font-size: 0.95rem;
    color: var(--text-color);
}

#conversations .conv-item.unread .conv-username {
    font-weight:600;
}

#conversations .conv-article {
    font-size: 0.82rem;
    color: var(--main-color-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top:5px;
    font-weight:200;
}

#conversations .conv-item.unread .conv-article {
    font-weight:600;
}

#conversations .conv-sold-chip {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
}

#conversations .conv-last-msg {
    font-size: 0.88rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top:10px;
}
#conversations .conv-item.unread .conv-last-msg {
    color: var(--text-color);
    font-weight: 600;
}
#conversations .conv-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
#conversations .conv-date {
    font-size: 0.78rem;
    color: #9ca3af;
}
#conversations .conv-badge {
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

#conversations .empty-state {
    text-align: center;
    padding: 64px 16px;
    color: #6b7280;
}
#conversations .empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: #d1d5db;
}
#conversations .empty-state p {
    font-size: 1rem;
    margin-bottom: 20px;
}

#conversation-show .conv-show-page {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 500px;
    background:var(--main-color-2);
    border:1px solid var(--border-input-color);
    border-radius: 12px;
}
#conversation-show .conv-show-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-input-color);
    padding: 14px 18px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
#conversation-show .conv-show-header .back-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-right: 4px;
}
#conversation-show .conv-show-header .back-link:hover { color: var(--text-color); }

#conversation-show .conv-detail-mark-sold-trigger {
    margin-top: 0;
    margin-left: auto;
    border: none;
    border-radius: 8px;
    background: #00A63E;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

#conversation-show .conv-detail-mark-sold-trigger:hover {
    background: #007a2d;
}

#conversation-show .conv-detail-sold-chip {
    margin-left: auto;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}
#conversation-show .conv-header-info {
    flex: 1;
    min-width: 0;
}

#conversation-show .conv-header-user-row {
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

#conversation-show .conv-header-info .other-user {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

#conversation-show .conv-header-info .other-user:hover {
    color: var(--main-color-light);
}

#conversation-show .conv-review-link {
    font-size:13px;
    line-height:20px;
    color:var(--main-color-light);
    text-decoration:underline;
    text-underline-offset:3px;
}

#conversation-show .conv-review-link:hover {
    color:var(--main-color);
}

#conversation-show .conv-header-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align:center;
    flex-shrink: 0;
    text-transform: uppercase;
}

#conversation-show .conv-header-info .conv-article-title {
    font-size: 0.83rem;
    color: var(--placeholder-color);
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#conversation-show .conv-article-banner {
    border-bottom: 1px solid var(--border-input-color);
    flex-shrink: 0;
    padding: 10px 18px;
}

#conversation-show .conv-article-banner .conv-article-banner-link {
    display: flex;
    align-items: center;
    flex-wrap:wrap;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: 0.5s;
}

#conversation-show .conv-article-banner .conv-article-banner-link .conv-article-banner-img-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    flex-shrink: 0;
    overflow:hidden;
}

#conversation-show .conv-article-banner .conv-article-banner-link .conv-article-banner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position:center;
    transition: transform 0.5s;
}

#conversation-show .conv-article-banner .conv-article-banner-link:hover .conv-article-banner-img-wrapper img {
    transform: scale(1.05);
}

#conversation-show .conv-article-banner .conv-article-banner-link .conv-article-banner-info {
    display:flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

#conversation-show .conv-article-banner .conv-article-banner-link .conv-article-banner-info .conv-article-banner-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#conversation-show .conv-article-banner .conv-article-banner-link .conv-article-banner-info .conv-article-banner-price {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--main-color);
}

#conversation-show .messages-area {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 12px;
}
#conversation-show .message-wrapper {
    display: flex;
    flex-direction: column;
}
#conversation-show .message-wrapper.mine {
    align-items: flex-end;
}
#conversation-show .message-wrapper.theirs {
    align-items: flex-start;
}
#conversation-show .msg-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
}
#conversation-show .message-wrapper.mine .msg-bubble {
    background: var(--main-color);
    color: var(--text-color);
    border-bottom-right-radius: 4px;
}
#conversation-show .message-wrapper.theirs .msg-bubble {
    background: var(--secondary-color);
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}
#conversation-show .msg-meta {
    font-size: 0.73rem;
    color: var(--text-color);
    margin-top: 3px;
    padding: 0 4px;
}
#conversation-show .no-messages {
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
    padding: 32px 0;
}
#conversation-show .conv-input-area {
    display: flex;
    gap: 0;
    align-items: flex-end;
    flex-shrink: 0;
    margin-top:0;
    padding:0 0 0px 0;
    margin-bottom:0;
}
#conversation-show .conv-input-area textarea {
    flex: 1;
    border-radius: 0 0 0 10px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    min-height: 46px;
    max-height: 140px;
    outline: none;
    transition: border-color 0.15s;
    width:calc(100% - 30px - 56px);
    max-width:calc(100% - 30px - 56px);
}
#conversation-show .conv-input-area button {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 0 0 10px 0;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.5s;
    flex-shrink: 0;
    min-height: 100%;
    max-height: 162px;
    margin-top:0;
}
#conversation-show .conv-input-area button:hover {
    background: var(--text-color);
    color:var(--main-color);
}

#user-profile .profile-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#user-profile .profile-header-card,
#user-profile .profile-content-card {
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 14px;
    padding: 32px;
}

#user-profile .profile-header-card {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

#user-profile .profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 999px;
    background: var(--main-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: 400;
    position: relative;
}

#user-profile .profile-avatar .identity-checked, .seller-infos .avatar .identity-checked {
    position:absolute;
    right:-7px;
    bottom: -7px;
    border-radius: 100%;
    border: 4px solid var(--main-color-2);
    background: #8BA84B;
    padding:8px;
    width:24px;
    height:24px;
}

.seller-infos .avatar .identity-checked {
    width:16px;
    height:16px;
    padding:5px;
    border: 3px solid var(--main-color-2);
    right:-8px;
    bottom: -8px;
}

#user-profile .profile-avatar .identity-checked span, .seller-infos .avatar .identity-checked span {
    color:var(--text-color);
    font-size:24px;
    line-height:24px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    font-weight:300;
}

.seller-infos .avatar .identity-checked span {
    font-size:16px;
    line-height:16px;
}

#user-profile .profile-main-infos {
    width:calc(100% - 128px - 32px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#user-profile .profile-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#user-profile .profile-name-row h1 {
    font-size: 28px;
    line-height:36px;
}

#user-profile .verified-profile-badge {
    padding: 4px 12px;
    border-radius: 33px;
    background: rgba(85, 107, 47, 0.20);
    border: 1px solid #556B2F;
    color: #8BA84B;
    font-size: 13px;
    line-height:20px;
    font-weight: 400;
}

#user-profile .verified-profile-badge span {
    font-size:13px;
    line-height:20px;
    color: #8BA84B;
}

#user-profile .verification-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#user-profile .profile-chip {
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    line-height:20px;
    border: 1px solid transparent;
}

#user-profile .profile-chip.ok {
    background: rgba(13, 84, 43, 0.20);
    border-color: #7BF1A8;
    color: #7BF1A8;
}

#user-profile .profile-chip span {
    font-size: 13px;
    line-height:20px;
}

#user-profile .profile-chip.ok span {
    color: #7BF1A8;
    font-weight:400;
}

#user-profile .profile-chip.ok span.fa-phone {
    font-weight:600;
}

#user-profile .profile-chip.ok.identity {
    background: rgba(28, 57, 142, 0.20);
    border-color: #1447E6;
    color: #8EC5FF;
}

#user-profile .profile-chip.ok.identity span {
    color: #8EC5FF;
}

#user-profile .profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

#user-profile .profile-stat {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align:center;
}

#user-profile .profile-stat .value {
    font-size: 30px;
    line-height: 36px;
    font-weight: 400;
    color: var(--main-color-light);
}

#user-profile .profile-stat .value .fa.fa-star {
    color:#FCC800;
    font-size:24px;
    line-height:36px;
}

#user-profile .profile-stat .label {
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    color: var(--placeholder-color);
}

#user-profile .profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

#user-profile .profile-actions .important-link {
    margin-top:0;
}

#user-profile .profile-actions .important-link.grey {
    background:var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
}

#user-profile .profile-actions .important-link.grey:hover {
    border-color: var(--main-color);
    color: var(--main-color-light);
}

#user-profile .settings-flash {
    margin-bottom:0;
}

#user-profile .profile-top-tabs {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--secondary-color);
}

#user-profile .profile-tab-btn {
    transform:translateY(1px);
    border-bottom: 3px solid transparent;
    padding: 4px 8px 15px 8px;
    font-size:17px;
    line-height:20px;
    font-weight: 400;
    color:var(--placeholder-color);
    cursor: pointer;
    transition: 0.5s;
    background:none;
    border-radius:0;
    margin-top:0;
}

#user-profile .profile-tab-btn span {
    font-size:17px;
    line-height:20px;
    color:var(--placeholder-color);
    transition: 0.5s;
}

#user-profile .profile-tab-btn.is-active, #user-profile .profile-tab-btn:hover {
    color: var(--main-color-light);
    border-color: var(--main-color);
}

#user-profile .profile-tab-btn.is-active span, #user-profile .profile-tab-btn:hover span {
    color: var(--main-color-light);
}

.profile-panel {
    display:none;
}

.profile-panel.is-visible {
    display:block;
}

.profile-panel .articles-list {
    margin-top:17px;
}

#profile-panel-articles > div {
    margin-top:32px;
}

#profile-panel-articles > div:first-child {
    margin-top:0;
}

.profile-subpanel h3 {
    font-size:22px;
    line-height:32px;
}

/* ── Review summary block ── */
#user-profile .review-summary-block {
    display: flex;
    flex-wrap:wrap;
    gap: 32px;
    align-items: center;
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

#user-profile .review-summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

#user-profile .review-summary-avg {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-color);
}

#user-profile .review-summary-stars {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    font-size: 1.5rem;
    line-height: 1;
}

#user-profile .stars-layer {
    display: block;
    letter-spacing: 3px;
}

#user-profile .stars-empty {
    color: #d1d5db;
}

#user-profile .stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #f59e0b;
}

#user-profile .review-summary-count {
    font-size: 0.82rem;
    color: var(--placeholder-color);
    white-space: nowrap;
}

#user-profile .review-summary-bars {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#user-profile .review-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#user-profile .review-bar-label {
    width: 42px;
    font-size: 0.82rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

#user-profile .review-bar-label .fa {
    color: #f59e0b;
    font-size: 0.78rem;
}

#user-profile .review-bar-track {
    flex: 1;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 99px;
    overflow: hidden;
}

#user-profile .review-bar-fill {
    height: 100%;
    background: var(--main-color);
    border-radius: 99px;
    transition: width 0.4s ease;
}

#user-profile .review-bar-count {
    width: 24px;
    font-size: 0.82rem;
    color: var(--placeholder-color);
    text-align: right;
    flex-shrink: 0;
}

#user-profile .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#user-profile .review-card {
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    padding: 24px;
    background: var(--main-color-2);
}

#user-profile .review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

#user-profile .review-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--main-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}

#user-profile .review-meta {
    flex: 1;
}

#user-profile .review-meta p {
    margin: 0;
}

#user-profile .review-author {
    font-weight: 600;
    font-size:16px;
    line-height:24px;
    color: var(--text-color);
}

#user-profile .review-date {
    font-size: 12px;
    color: var(--placeholder-color);
}

#user-profile .review-rating {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

#user-profile .review-text {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}

#article .seller-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:16px;
}

#review-edit .review-edit-card {
    max-width:760px;
    margin:0 auto;
    background:var(--main-color-2);
    border:1px solid var(--secondary-color);
    border-radius:14px;
    padding:32px;
}

#review-edit .review-edit-header {
    margin-bottom:24px;
}

#review-edit .review-edit-header h1 {
    margin-bottom:8px;
}

#review-edit .review-form-block {
    margin-bottom:24px;
}

#review-edit .review-star-rating {
    display:inline-flex;
    flex-direction:row-reverse;
    align-items:center;
    gap:6px;
}

#review-edit .review-star-input {
    position:absolute;
    opacity:0;
    pointer-events:none;
}

#review-edit .review-star-label {
    cursor:pointer;
    color:#8b95a7;
    font-size:2rem;
    line-height:1;
    transition:color 0.2s ease, transform 0.15s ease;
}

#review-edit .review-star-label:hover,
#review-edit .review-star-label:hover ~ .review-star-label {
    color:#f59e0b;
}

#review-edit .review-star-input:checked ~ .review-star-label {
    color:#f59e0b;
}

#review-edit .review-star-label:active {
    transform:scale(0.94);
}

#review-edit textarea {
    min-height:140px;
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
}

#review-edit .review-form-actions {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
}

#review-edit .review-form-actions a {
    margin-top:0;
}

#review_value_error1 {
    color:rgb(197, 2, 2);
}

#legal-page h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

#legal-page .legal-updated {
    font-size: 0.85rem;
    color: var(--placeholder-color);
    margin-bottom: 40px;
}

#legal-page .legal-section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--secondary-color);
}

#legal-page .legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#legal-page .legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

#legal-page .legal-section p,
#legal-page .legal-section li {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-color);
}

#legal-page .legal-section ul {
    padding-left: 20px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#legal-page .legal-section a {
    color: var(--main-color-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#legal-page .legal-section a:hover {
    color: var(--main-color);
}

/* =============================================
   GLOBAL BUTTONS (.btn, .btn-primary, .btn-secondary)
   ============================================= */

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    font-family: "Inter";
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--main-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background: var(--main-color-dark);
    color: var(--text-color);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--main-color-2);
    color: var(--main-color-light);
}

/* =============================================
   COMMENT CA MARCHE – Banner
   ============================================= */

#comment-ca-marche .banner-ccm {
    width: calc(100% - 40px);
    padding: 60px 20px;
    text-align: center;
    background: var(--main-color);
    border-bottom: 1px solid var(--secondary-color);
}

#comment-ca-marche .banner-ccm h1 {
    font-weight: 700;
    margin-bottom: 12px;
}

#comment-ca-marche .banner-ccm p {
    font-size: 16px;
    color: var(--text-color);
    font-weight:300;
    max-width: 620px;
    margin: 0 auto;
}

/* =============================================
   COMMENT CA MARCHE – Role switch
   ============================================= */

#comment-ca-marche .ccm-role-switch {
    display: flex;
    gap: 16px;
    margin: 40px 0 32px;
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 14px;
    padding: 8px;
    width:max-content;
    margin-left:auto;
    margin-right:auto;
}

#comment-ca-marche .ccm-role-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    font-family: "Inter";
    text-align: left;
    margin-top:0;
    cursor:pointer;
}

#comment-ca-marche .ccm-role-btn:hover {
    background: var(--main-color-background);
    border-color: var(--secondary-color);
}

#comment-ca-marche .ccm-role-btn.active {
    background: var(--main-color);
    border-color: var(--main-color);
}

#comment-ca-marche .ccm-role-icon {
    font-size: 28px;
    color: var(--placeholder-color);
    transition: color 0.25s;
    flex-shrink: 0;
}

#comment-ca-marche .ccm-role-btn.active .ccm-role-icon {
    color: var(--text-color);
}

#comment-ca-marche .ccm-role-btn-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align:center;
}

#comment-ca-marche .ccm-role-btn-text strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 22px;
}

#comment-ca-marche .ccm-role-btn-text span {
    font-size: 13px;
    color: var(--placeholder-color);
    line-height: 18px;
    transition: color 0.25s;
}

#comment-ca-marche .ccm-role-btn.active .ccm-role-btn-text span {
    color: rgba(229, 231, 235, 0.8);
}

/* =============================================
   COMMENT CA MARCHE – Steps layout
   ============================================= */

#comment-ca-marche .ccm-buyer-section,
#comment-ca-marche .ccm-seller-section {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

#comment-ca-marche .ccm-step {
    overflow: hidden;
}

#comment-ca-marche .ccm-step .title-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin-bottom:50px;
}

#comment-ca-marche .ccm-step .title-step .icon {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left:auto;
    margin-right:auto;
}

#comment-ca-marche .ccm-step .title-step .icon span {
    font-size: 35px;
    color: var(--text-color);
}

#comment-ca-marche .ccm-step .title-step h2 {
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    margin-top:15px;
}

#comment-ca-marche .ccm-step .title-step p {
    font-size: 16px;
    color: var(--placeholder-color);
    margin: 0;
}

/* =============================================
   COMMENT CA MARCHE – Content blocks
   ============================================= */

#comment-ca-marche .two-blocks {
    display: flex;
    gap: 24px;
    margin-top:25px;
}

#comment-ca-marche .two-blocks .block {
    flex: 1;
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
}

#comment-ca-marche .one-block {
    width: calc(100% - 42px);
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
}

#comment-ca-marche h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#comment-ca-marche h3 .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#comment-ca-marche h3 .icon span {
    font-size: 20px;
    color: var(--text-color);
}

/* =============================================
   COMMENT CA MARCHE – Steps with icon
   ============================================= */

#comment-ca-marche .steps-with-icon {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top:40px;
}

#comment-ca-marche .steps-with-icon:first-child {
    margin-top:0;
}

#comment-ca-marche .steps-with-icon .step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

#comment-ca-marche .steps-with-icon .step .icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#comment-ca-marche .steps-with-icon .step .icon span {
    font-size: 20px;
    color: var(--text-color);
    font-weight:300;
}

#comment-ca-marche .steps-with-icon .step .icon span.fa.fa-cart-shopping,
#comment-ca-marche .steps-with-icon .step .icon span.fa.fa-list,
#comment-ca-marche .steps-with-icon .step .icon span.fa.fa-tag,
#comment-ca-marche .steps-with-icon .step .icon span.fa.fa-box-open,
#comment-ca-marche .steps-with-icon .step .icon span.fa.fa-shield-halved {
    font-weight:600;
}

#comment-ca-marche .steps-with-icon .step .text h5 {
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 5px;
}

#comment-ca-marche .steps-with-icon .step .text p {
    font-size: 13px;
    color: var(--placeholder-color);
    margin: 0;
    line-height: 15px;
}

/* =============================================
   COMMENT CA MARCHE – Steps minimal
   ============================================= */

#comment-ca-marche .steps-minimal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#comment-ca-marche .steps-minimal .step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap:wrap;
}

#comment-ca-marche .steps-minimal .step > span.fa {
    font-size: 18px;
    color: var(--main-color-light);
    font-weight:300;
    margin-top: 1px;
    flex-shrink: 0;
    width: 22px;
}

#comment-ca-marche .steps-minimal .step > span.fa.fa-shield-halved,
#comment-ca-marche .steps-minimal .step > span.fa.fa-sliders,
#comment-ca-marche .steps-minimal .step > span.fa.fa-location-dot,
#comment-ca-marche .steps-minimal .step > span.fa.fa-filter,
#comment-ca-marche .steps-minimal .step > span.fa.fa-barcorde {
    font-weight:600;
}

#comment-ca-marche .steps-minimal .step p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    line-height: 20px;
    font-weight:300;
    width:calc(100% - 37px);
}

#comment-ca-marche .steps-minimal .step h6 {
    font-size: 11px;
    color: var(--placeholder-color);
    font-weight: 400;
    margin: -10px 0 0;
    line-height: 16px;
    width:100%;
    padding-left:31px;
}

/* =============================================
   COMMENT CA MARCHE – Three steps
   ============================================= */

#comment-ca-marche .three-steps {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

#comment-ca-marche .three-steps .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: var(--main-color-2-dark);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 20px 16px;
}

#comment-ca-marche .three-steps .step > span.fa {
    font-size: 36px;
    color: var(--main-color-light);
}

#comment-ca-marche .three-steps .step h3 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    margin-top:10px;
}

#comment-ca-marche .three-steps .step p {
    font-size: 12px;
    color: var(--placeholder-color);
    margin: 0;
    line-height: 18px;
}

/* =============================================
   COMMENT CA MARCHE – Advise boxes
   ============================================= */

.advise.green {
    background: rgba(13, 84, 43, 0.20);
    border-color: #7BF1A8;
}

.advise.red {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.advise ul {
    margin-bottom:0;
}

.advise ul li {
    color:var(--text-color);
    font-size:14px;
    line-height:28px;
    list-style: disc;
    font-weight:300;
}

.advise p:first-child {
    padding-left:0;
    margin-top:0;
}

.advise p:first-child span {
    font-size:18px;
    font-weight:600;
    margin-right:5px;
}

.advise p:first-child {
    color:#8EC5FF;
}

.advise.green p:first-child {
    color:#7BF1A8;
}

.advise.green h4, .advise.green h4 span {
    color:#7BF1A8;
}

.advise.red h4, .advise.red h4 span {
    color:#dc2626;
}

/* =============================================
   COMMENT CA MARCHE – Checklist
   ============================================= */

#comment-ca-marche .checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
    margin: 0;
}

#comment-ca-marche .checklist li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    font-weight:300;
    color: var(--text-color);
    line-height: 20px;
    padding: 0;
}

#comment-ca-marche .checklist li::before {
    content: "\f058";
    font-family: "Font Awesome 7 Free";
    font-weight: 300;
    color: #4ade80;
    font-size: 16px;
    margin-top: 0;
    flex-shrink: 0;
}

/* =============================================
   COMMENT CA MARCHE – Article example card
   ============================================= */

#comment-ca-marche .article-exemple {
    background: var(--main-color-2-dark);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 16px;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    position:relative;
}

#comment-ca-marche .article-exemple h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: none;
    min-width: 100%;
    margin: 0 0 4px;
}

#comment-ca-marche .article-exemple .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color-light);
    margin: 0;
}

#comment-ca-marche .article-exemple .date {
    font-size: 12px;
    color: var(--placeholder-color);
    margin: 0;
    width:100%;
}

#comment-ca-marche .article-exemple .tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
    border: 1px solid #16a34a;
    position:absolute;
    top: 16px;
    right: 16px;
}

#comment-ca-marche .article-exemple.sold .tag {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border-color: #dc2626;
}

#comment-ca-marche .article-exemple > span.fa-heart {
    font-size: 20px;
    color: rgb(196, 2, 2);
    cursor: pointer;
    top:16px;
    right:16px;
    position:absolute;
}

#comment-ca-marche .article-exemple button.btn {
    font-size: 12px;
    padding: 6px 14px;
    margin-top: 4px;
    width:100%;
    background:var(--main-color);
}

#comment-ca-marche .article-exemple button.btn:hover {
    color:var(--text-color);
}

#comment-ca-marche .transition-before-after {
    display: block;
    text-align: center;
    font-size: 20px;
    color: var(--placeholder-color);
    margin: 20px auto;
}

/* =============================================
   COMMENT CA MARCHE – Two columns in block
   ============================================= */

#comment-ca-marche .two-columns-in-block {
    display: flex;
    gap: 36px;
}

#comment-ca-marche .two-columns-in-block > div {
    flex: 1;
}

/* =============================================
   COMMENT CA MARCHE – Search input preview
   ============================================= */

#comment-ca-marche .desc-input {
    display: block;
    font-size: 12px;
    color: var(--placeholder-color);
    margin-top: 16px;
}

/* =============================================
   COMMENT CA MARCHE – Form example (stars + textarea)
   ============================================= */

#comment-ca-marche .form-exemple {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 16px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#comment-ca-marche .stars {
    display: flex;
    gap: 4px;
}

#comment-ca-marche .stars span.fa {
    font-size: 18px;
    color: #f59e0b;
}

#comment-ca-marche .form-exemple textarea {
    width: 100%;
    max-width:calc(100% - 42px);
    background: var(--main-color-2);
    border: 1px solid var(--border-input-color);
    height:50px;
}

#comment-ca-marche .desc-form {
    font-size: 12px;
    color: var(--placeholder-color);
    margin-top: 4px;
}

/* =============================================
   COMMENT CA MARCHE – Review example
   ============================================= */

#comment-ca-marche .review-exemple {
    background: var(--main-color-background);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 16px;
    margin-top: 30px;
}

#comment-ca-marche .review-exemple h6 {
    font-size: 12px;
    color: var(--placeholder-color);
    font-weight: 400;
    margin-bottom: 10px;
}

#comment-ca-marche .review-exemple-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#comment-ca-marche .review-exemple-header .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    flex-shrink: 0;
}

#comment-ca-marche .review-exemple-header .right h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 3px;
}

#comment-ca-marche .review-exemple p {
    font-size: 13px;
    color: var(--placeholder-color);
    margin: 0;
    font-style: italic;
    line-height: 20px;
}

/* =============================================
   COMMENT CA MARCHE – Actions CTA section
   ============================================= */

#comment-ca-marche .actions-part {
    text-align: center;
    padding: 25px;
    margin-top: 50px;
    background:var(--main-color);
    width:calc(100% - 50px);
    border-radius:15px;
}

#comment-ca-marche .actions-part h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

#comment-ca-marche .actions-part p {
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

#comment-ca-marche .actions-part .buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

#comment-ca-marche .actions-part .buttons .important-link, #comment-ca-marche .actions-part .buttons .important-link:last-child:hover {
    margin-top:0;
    background:white;
    color:var(--main-color);
    border:1px solid white;
}

#comment-ca-marche .actions-part .buttons .important-link:last-child, #comment-ca-marche .actions-part .buttons .important-link:hover {
    margin-top:0;
    background:transparent;
    color:var(--text-color);
    border:1px solid white;
}

/* =============================================
   FAQ PAGE
   ============================================= */

#faq-page .faq-hero {
    width: calc(100% - 40px);
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--main-color-2) 0%, var(--main-color-2-dark) 100%);
}

#faq-page .faq-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

#faq-page .faq-hero p {
    font-size: 1.05rem;
    color: var(--placeholder-color);
    max-width: 560px;
    margin: 0 auto;
}

#faq-page .faq-container {
    padding-top: 48px;
}

/* ── Category nav ── */
#faq-page .faq-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

#faq-page .faq-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top:0;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    background: var(--main-color-2);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "Inter";
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

#faq-page .faq-cat-btn:hover {
    border-color: var(--main-color-light);
    color: var(--main-color-light);
}

#faq-page .faq-cat-btn.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

/* ── Sections ── */
#faq-page .faq-section {
    display: none;
}

#faq-page .faq-section.active {
    display: block;
}

#faq-page .faq-section > h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Accordion items ── */
#faq-page .faq-item {
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

#faq-page .faq-item.open {
    border-color: var(--main-color);
}

#faq-page .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: var(--main-color-2);
    border: none;
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 600;
    font-family: "Inter";
    color: var(--text-color);
    text-align: left;
    transition: background 0.2s, color 0.2s;
    margin-top:0;
}

#faq-page .faq-question:hover {
    background: var(--main-color-2-dark);
    color: var(--main-color-light);
}

#faq-page .faq-item.open .faq-question {
    color: var(--main-color-light);
    background: var(--main-color-2-dark);
}

#faq-page .faq-chevron {
    flex-shrink: 0;
    font-size: 0.8rem;
    transition: transform 0.25s;
}

#faq-page .faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

#faq-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    padding: 0 20px;
    background: var(--main-color-2-dark);
}

#faq-page .faq-item.open .faq-answer {
    max-height: 600px;
    padding: 18px 20px;
}

#faq-page .faq-answer p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--text-color);
    margin: 0 0 10px;
}

#faq-page .faq-answer p:last-child {
    margin-bottom: 0;
}

#faq-page .faq-answer ul {
    padding-left: 20px;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#faq-page .faq-answer li {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-color);
}

#faq-page .faq-answer a {
    color: var(--main-color-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#faq-page .faq-answer a:hover {
    color: var(--main-color);
}

/* ── Contact block ── */
#faq-page .faq-contact-block {
    margin-top: 52px;
    padding: 40px 32px;
    background: var(--main-color-2);
    border-radius: 14px;
    border: 1px solid var(--secondary-color);
    text-align: center;
}

#faq-page .faq-contact-block p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

#faq-page .faq-contact-block .btn {
    gap: 8px;
    display: inline-flex;
    align-items: center;
}

/* =============================================
   ADMIN
   ============================================= */

.admin-layout {
    padding-left:50px;
    padding-right:50px;
    width:calc(100% - 100px);
}

#admin-page .admin-layout h1 {
    margin-bottom: 20px;
}

#admin-page .admin-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

#admin-page .admin-nav-tabs a {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    background: var(--main-color-2);
    color: var(--text-color);
    font-size: 14px;
    line-height: 20px;
}

#admin-page .admin-nav-tabs a.is-active,
#admin-page .admin-nav-tabs a:hover {
    border-color: var(--main-color);
    color: var(--main-color-light);
}

#admin-page .admin-section-title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
}

#admin-page .admin-filters-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    align-items: end;
}

#admin-page .admin-filters-form label {
    max-width: 100%;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 18px;
}

#admin-page .admin-filters-form input[type="text"],
#admin-page .admin-filters-form input[type="number"],
#admin-page .admin-filters-form input[type="date"],
#admin-page .admin-filters-form input[type="file"],
#admin-page .admin-filters-form select {
    max-width: none;
    width: calc(100% - 24px);
    font-size: 13px;
    line-height: 18px;
    padding: 8px 12px;
    border-radius: 8px;
}

#admin-page .admin-filters-form select[multiple] {
    min-height: 120px;
}

#admin-page .admin-filters-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#admin-page .admin-sort-link {
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#admin-page .admin-sort-link:hover {
    color: var(--main-color-light);
}

#admin-page .admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

#admin-page .admin-stat-card {
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    text-align:center;
}

#admin-page .admin-stat-card h3 {
    font-size: 16px;
    line-height: 24px;
}

#admin-page .admin-stat-card p {
    font-size: 30px;
    line-height: 38px;
    margin-top: 8px;
    color: var(--main-color-light);
}

#admin-page .admin-stat-card a {
    margin-top: 8px;
    display: inline-block;
    margin-left:auto;
    margin-right:auto;
}

#admin-page .admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: unset;
}

#admin-page .admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    color:var(--text-color);
}

#admin-page .admin-table th,
#admin-page .admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--secondary-color);
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
}

#admin-page .admin-table th {
    background: var(--main-color-2-dark);
    font-weight: 600;
}

#admin-page .admin-table .admin-table-filters-row th {
    background: var(--main-color-2);
    padding-top: 8px;
    padding-bottom: 8px;
}

#admin-page .admin-table .admin-table-filters-row input[type="text"],
#admin-page .admin-table .admin-table-filters-row input[type="number"],
#admin-page .admin-table .admin-table-filters-row input[type="date"],
#admin-page .admin-table .admin-table-filters-row select {
    width: calc(100% - 20px);
    max-width: none;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 18px;
}

#admin-page .admin-table .admin-table-filters-row .category-fake-select {
    width: 100%;
}

#admin-page .admin-table .admin-table-filters-row .category-fake-select__trigger,
#admin-page .admin-table .admin-table-filters-row .category-fake-select__menu {
    max-width: none;
}

#admin-page .admin-inline-range {
    display: flex;
    gap: 8px;
}

#admin-page .admin-inline-range > input {
    flex: 1 1 0;
}

#admin-page .admin-table tr:last-child td {
    border-bottom: none;
}

#admin-page .admin-table-form input[type="text"],
#admin-page .admin-table-form select {
    width: calc(100% - 24px);
    max-width: none;
    min-width: 0;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 18px;
    border-radius: 8px;
}

#admin-page .admin-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-size: 13px;
}

#admin-page .admin-actions {
    display: flex;
    gap: 8px;
    margin-left:auto;
    margin-right:0;
    width:max-content;
}

#admin-page .admin-actions form {
    margin-top:0;
    margin-bottom:0;
}

#admin-page .admin-btn {
    margin-top: 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 18px;
    min-width: max-content;
}

#admin-page a.admin-btn {
    display: inline-block;
}

#admin-page .admin-btn-warning {
    background: #b45309;
}

#admin-page .admin-btn-warning:hover {
    background: #92400e;
    color: #fff;
}

#admin-page .admin-btn-danger {
    background: #b91c1c;
}

#admin-page .admin-btn-danger:hover {
    background: #991b1b;
    color: #fff;
}

#admin-page .admin-btn-secondary {
    background: var(--secondary-color);
}

#admin-page .admin-btn-secondary:hover {
    background: var(--border-input-color);
    color: #fff;
}

#admin-page .admin-btn-ok {
    background: #0d7a3d;
}

#admin-page .admin-btn-ok:hover {
    background: #096531;
    color: #fff;
}

#admin-page .admin-status {
    border-radius: 999px;
    padding: 3px 8px;
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

#admin-page .admin-status-ok {
    background: rgba(13, 122, 61, 0.2);
    color: #8cf0b5;
}

#admin-page .admin-status-info {
    background: rgba(59, 130, 246, 0.18);
    color: #bfdbfe;
}

#admin-page .admin-status-warning {
    background: rgba(180, 83, 9, 0.2);
    color: #fcd34d;
}

#admin-page .admin-status-secondary {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
    text-align:center;
}

#admin-page .admin-status-danger {
    background: rgba(185, 28, 28, 0.2);
    color: #fecaca;
}

#admin-page .admin-conversation-meta {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    background: var(--main-color-2);
}

#admin-page .admin-conversation-meta p {
    margin-top: 6px;
}

#admin-page .admin-conversation-meta p:first-child {
    margin-top: 0;
}

#admin-page .admin-back-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

#admin-page .admin-flash-error {
    margin-bottom: 16px;
    color: #fecaca;
    background: #3f1d1d;
    border: 1px solid #7f1d1d;
}

#admin-page .admin-flash-success {
    margin-bottom: 16px;
    color: #bbf7d0;
    background: #14532d;
    border: 1px solid #166534;
}

#admin-page .admin-table-reports {
    min-width: 1180px;
}

#admin-page .admin-report-target {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#admin-page .admin-report-target span {
    font-size: 12px;
    line-height: 16px;
    color: var(--placeholder-light-color);
}

#admin-page .admin-report-missing,
#admin-page .admin-report-processed-label {
    color: var(--placeholder-light-color);
    font-size: 12px;
    line-height: 16px;
}

#admin-page .admin-report-reason {
    max-width: 380px;
    white-space: pre-wrap;
    word-break: break-word;
}

#admin-page .admin-report-decision-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
}

#admin-page .admin-report-decision-form select {
    min-width: 180px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 18px;
}

#admin-page .admin-report-decision-form textarea {
    min-width: 180px;
    max-width: 240px;
    min-height: 80px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 18px;
    resize: vertical;
}

#admin-page .admin-report-decision-note {
    margin-top: 6px;
    color: var(--placeholder-light-color);
    font-size: 12px;
    line-height: 16px;
    white-space: pre-wrap;
    word-break: break-word;
}

#report-form textarea {
    background:var(--main-color-2);
    height:130px;
}

.header-error {
    width:var(--width-content);
    margin-left:auto;
    margin-right:auto;
    padding-top:18px;
    padding-bottom:18px;
    display:flex;
    align-items:center;
}

.header-error .logo {
    margin-left:auto;
    margin-right:auto;
    width:max-content;
    height:max-content;
    display:block;
}

.header-error .logo a {
    width:max-content;
    height:max-content;
    display:block;
}

.header-error .logo img {
    width:200px;
    display:block;
}

.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    gap: 1rem;
}
.error-page__code {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--main-color-light);
    letter-spacing: -2px;
    margin-bottom:20px;
}
.error-page__icon {
    font-size: 3rem;
    color: var(--text-color);
    font-weight:300 !important;
}

.error-page__icon.fa-lock, .error-page__icon.fa-triangle-exclamation, .error-page__icon.fa-circle-exclamation {
    font-weight:600 !important;
}

.error-page__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color-light);
    margin: 0;
}
.error-page__message {
    font-size: 1rem;
    color: var(--placeholder-light-color);
    max-width: 480px;
    margin: 0;
    line-height: 1.6;
}
.error-page__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}
.error-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}
.error-page__btn:hover { opacity: .85; }
.error-page__btn--primary {
    background: var(--main-color-dark);
    color: var(--text-color);
}
.error-page__btn--secondary {
    background: var(--text-color);
    color: var(--main-color-dark);
}

.error-page__btn--secondary:hover {
    color:var(--main-color-dark);
}

.error-page__suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.error-page__suggestions a {
    color: #101828;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* ── Identity document upload zones ───────────────────────────────────────── */
.identity-info-text {
    margin-bottom: 20px;
    color: var(--text-secondary, #555);
    line-height: 1.6;
}

.identity-pending-notice {
    background: #feeccf;
    border: 1px solid #e65c00;
    border-radius: 8px;
    padding: 16px 20px;
    line-height: 1.6;
    color: #d05223;
    margin-top: 30px;
}

.identity-zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

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

.identity-zone__label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.identity-zone .image-picker__dropzone {
    padding: 32px 16px;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.identity-zone .image-picker__dropzone.has-file {
    padding: 16px;
    border-color: var(--main-color);
    background: rgba(124, 58, 237, 0.03);
}

.identity-zone__preview {
    width: 100%;
}

.identity-zone__preview-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.identity-zone__preview-img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.identity-zone__remove {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding:0;
    font-size: .8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    margin-top:0;
}

.identity-zone__remove:hover {
    background: #c0392b;
    color:#fff;
}

.identity-zone__filename {
    display: block;
    font-size: .8rem;
    color: var(--placeholder-color);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.identity-zone__hint {
    font-size: .8rem;
    color: var(--placeholder-color);
    margin: 6px 0 0;
}

.identity-zone__feedback {
    font-size: .85rem;
    min-height: 1.2em;
    margin: 4px 0 0;
}

.identity-zone__feedback--error {
    color: var(--error-color, #c0392b);
}

.identity-expiry-row {
    margin-bottom: 24px;
}

.identity-expiry-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

/* ── Admin – Identity verification ───────────────────────────────────────── */
#admin-page .admin-identity-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#admin-page .admin-identity-card {
    background: var(--main-color-2);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
}

#admin-page .admin-identity-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--secondary-color);
}

#admin-page .admin-identity-user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#admin-page .admin-identity-user strong {
    font-size: 15px;
}

#admin-page .admin-identity-email {
    font-size: 13px;
    color: var(--placeholder-color);
}

#admin-page .admin-identity-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 13px;
    color: var(--placeholder-color);
    white-space: nowrap;
}

#admin-page .admin-identity-meta strong {
    font-size: 13px;
}

#admin-page .text-danger {
    color: #c0392b;
}

#admin-page .admin-identity-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--secondary-color);
}

#admin-page .admin-identity-img-wrap p {
    font-size: 13px;
    margin-bottom: 8px;
}

#admin-page .admin-identity-img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    cursor: zoom-in;
    background: rgba(0,0,0,.15);
    transition: opacity .15s;
    padding-top:20px;   
    padding-bottom:20px;
}

#admin-page .admin-identity-img:hover {
    opacity: .85;
}

#admin-page .admin-identity-actions {
    padding: 16px 20px;
}

#admin-page .admin-identity-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#admin-page .admin-identity-note {
    width: 100%;
    max-width:500px;
    height:120px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
    background: var(--main-color-2-dark);
    color: var(--text-color);
    resize: vertical;
    box-sizing: border-box;
}

#admin-page .admin-identity-note:focus {
    outline: none;
    border-color: var(--main-color-light);
}

#admin-page .admin-identity-btns {
    display: flex;
    gap: 10px;
}

#admin-page .admin-badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-color-light);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    vertical-align: middle;
    margin-left: 8px;
}

/* ── Admin – Verification badges ─────────────────────────────────────────── */
#admin-page .admin-verif-badges {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

#admin-page .admin-verif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 10px;
    cursor: default;
}

#admin-page .admin-verif-badge--ok {
    background: rgba(39, 174, 96, 0.18);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.4);
}

#admin-page .admin-verif-badge--no {
    background: rgba(150, 150, 150, 0.12);
    color: #999;
    border: 1px solid rgba(150, 150, 150, 0.25);
}

/* ── Identity rejected notice (user-facing) ── */
.identity-rejected-notice {
    background: #fde8e8;
    border: 1px solid #c0392b;
    border-radius: 8px;
    padding: 16px 20px;
    line-height: 1.6;
    color: #922b21;
    margin-top: 20px;
    margin-bottom: 20px;
}

.identity-rejected-reason {
    display: block;
    margin-top: 6px;
    font-style: italic;
}

.identity-rejected-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #666;
}

/* ── Admin identity history page ── */
#admin-page .admin-identity-history-user {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--placeholder-color);
}

#admin-page .admin-identity-history-email {
    font-size: 0.9em;
    color: var(--placeholder-color);
    margin-top: -8px;
    margin-bottom: 16px;
}

#admin-page .admin-identity-history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
}

#admin-page .admin-identity-history-card {
    background: var(--main-color-2, #fff);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 18px 22px;
}

#admin-page .admin-identity-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

#admin-page .admin-identity-history-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9em;
}

#admin-page .admin-identity-history-reviewed {
    font-size: 0.85em;
    color: var(--placeholder-color);
    margin-top: 10px;
    margin-bottom: 0;
}

#admin-page .admin-identity-history-note {
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.04);
    border-radius: 6px;
    font-size: 0.9em;
}

/* Status badges */
#admin-page .admin-identity-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.82em;
    font-weight: 600;
    white-space: nowrap;
}

#admin-page .admin-identity-status--pending {
    background: rgba(230, 92, 0, 0.12);
    color: #b33000;
    border: 1px solid rgba(230, 92, 0, 0.3);
}

#admin-page .admin-identity-status--validated {
    background: rgba(39, 174, 96, 0.12);
    color: #1e8449;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

#admin-page .admin-identity-status--rejected {
    background: rgba(192, 57, 43, 0.1);
    color: #922b21;
    border: 1px solid rgba(192, 57, 43, 0.3);
}

#admin-page .admin-back-link {
    font-size: 0.9em;
    color: var(--placeholder-color);
    text-decoration: none;
}

#admin-page .admin-back-link:hover {
    color: var(--text-color);
}

#alert-create-form {
    margin-top:0;
}

.alert-item form {
    margin-top:0;
}

.alert-item form button {
    margin-top:0;
}

/* ── PWA Install Popup ─────────────────────────────────────── */
.pwa-install-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pwa-install-popup--visible { transform: translateY(0); }
.pwa-install-popup__inner {
    background: var(--main-color-2);
    border-top: 1px solid var(--border-input-color);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
    padding: 24px 20px 32px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.pwa-install-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--placeholder-color);
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.2s;
}
.pwa-install-popup__close:hover { color: var(--text-color); }
.pwa-install-popup__logo {
    width: 140px;
    display: block;
    margin-top: 8px;
}
.pwa-install-popup__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    margin-top:10px;
}
.pwa-install-popup__text {
    font-size: 13px;
    color: var(--placeholder-color);
    margin: 0;
    line-height: 1.6;
}
.pwa-install-popup__btn {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pwa-install-popup__btn:hover { background: var(--main-color-dark); }
.pwa-install-popup__ios-hint {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.8;
}
.pwa-install-popup__skip {
    background: none;
    border: none;
    color: var(--placeholder-color);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}
.pwa-install-popup__skip:hover { color: var(--text-color); }

/* ── Footer App Store buttons ──────────────────────────────── */
.footer-app-stores {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.footer-app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: var(--text-color) !important;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.2s;
    border: 1px solid var(--border-input-color);
    line-height: 1.3;
}
.footer-app-store-btn:hover { background: var(--main-color-2-dark); }
.footer-app-store-btn i { font-size: 22px; }
.footer-app-store-btn span { display: flex; flex-direction: column; }
.footer-app-store-btn small { font-size: 10px; opacity: 0.7; font-weight: 300; }

.popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 100000;
    width:100%;
}

.popup .close-popup {
    position: absolute;
    top: 25px;
    right: 25px;
    height: 30px;
    width: 30px;
    background: white;
    border-radius: 100%;
    cursor: pointer;
    z-index: 10;
}

.popup .close-popup span {
    color: black;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup .content {
    position: absolute;
    top: 50%;
    left: 50%;
    height: max-content;
    transform: translate(-50%, -50%);
}

.popup img {
    display: block;
    width: 60%;
    max-width:300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.popup p {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.popup #notifications {
    padding: 5px 20px;
    background: var(--main-color-dark);
    color: var(--text-color);
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}