:root {
	--bleu: #1c326d;
	--rouge: #e53835;
	--blanc: #ffffff;
	--noir: #000000;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
@font-face {
	font-family: "Jersey 20";
	src: url("fonts/Jersey20-Regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	background-color: #d9d4cb;
}

body {
	font-family: "Inter";
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../images/background_body.png");
	background-size: cover;
	background-position: center -17vh;
	background-repeat: no-repeat;
	z-index: -1;
}

main {
	flex: 1 0 auto;
}

header {
	padding-top: 10vh;
}

.msg-success {
	color: #22c55e;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	margin-bottom: 1rem;
}

.msg-error {
	color: var(--rouge);
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	margin-bottom: 1rem;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--bleu);
	padding: 15px 30px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.logo {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
}

.logo img {
	height: 62px;
	width: auto;
	display: block;
}

.title_connected h1,
.title_disconnect h1 {
	font-size: 50px;
	font-weight: 100;
	font-family: "Jersey 20", sans-serif;
	color: var(--rouge);
	text-shadow: 2px 2px 0px #000000;
}

.title_connected h1 span,
.title_disconnect h1 span {
	color: #004bfb;
}

.nav-connection {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.nav-connection a {
	text-decoration: none;
	color: #ffffff;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 6px 12px;
	transition: all 0.3s ease;
}

.nav-connection a:hover {
	background-color: #ffffff30;
	border-color: #ffffff;
}

.btn-deposer-nav {
	background-color: var(--rouge);
	color: var(--blanc);
	text-decoration: none;
	border: none;
	border-radius: 10px;
	padding: 12px 28px;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 0;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.navbar .btn-deposer-nav:hover {
	background-color: #ff1f1c !important;
	border-color: transparent !important;
}

.burger-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 9px 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1100;
}

.burger-btn span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--blanc);
	border-radius: 3px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.is-active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
	opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.nav-deposer-mobile {
	display: none;
}

.container-center {
	width: 100%;
	height: 90vh;
	justify-content: center;
	align-items: center;
	padding: 0 4rem;
}

.container-center {
	display: flex;
	gap: 70px;
}

.box {
	height: 70vh;
	width: 55vh;
	padding: 30px;
	padding-top: 60px;
	border-radius: 40px;
	text-align: center;
	transition: transform 0.3s ease;
	box-shadow:
		0 8px 25px rgba(0, 0, 0, 0.6),
		0 0 0 3px rgba(13, 12, 12, 0.3);
	opacity: 0;
	animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.box:hover {
	transform: translateY(-12px);
}

.lego-block {
	background-image: url("../images/lego_categorie.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation-delay: 0.2s;
}

.bear-brick-block {
	background-image: url("../images/bearbrick_categorie.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation-delay: 0.4s;
}

.container-center a {
	color: rgb(255, 255, 255);
	text-decoration: none;
	font-size: xx-large;
	font-weight: 900;
	padding: 12px 35px;
	border: #000000 4px solid;
	border-radius: 40px;
	transition: all 0.3s ease;
}

.lego-block a {
	background-color: #e53835b4;
}

.bear-brick-block a {
	background-color: #004bfb49;
}

.lego-block a:hover {
	background-color: var(--rouge);
}

.bear-brick-block a:hover {
	background-color: #004bfb;
}

.footer {
	background-color: #1c326d;
	color: white;
	margin-top: auto;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 50px 40px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer-section h3 {
	font-size: 20px;
	margin-bottom: 20px;
	color: white;
}

.footer-section p {
	font-size: 14px;
	line-height: 1.8;
	color: #bdc3c7;
	margin-bottom: 15px;
}

.footer-section ul {
	list-style: none;
	padding: 0;
}

.footer-section ul li {
	margin-bottom: 10px;
}

.footer-section ul li a {
	color: #bdc3c7;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: white;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 15px;
}

.social-icon {
	color: white;
	background-color: rgba(255, 255, 255, 0.1);
	padding: 10px 15px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background-color: rgba(236, 233, 40, 0.993);
	transform: translateY(-2px);
}

.newsletter-form {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.newsletter-form input {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
}

.newsletter-form button {
	padding: 10px 20px;
	background-color: #1e254d;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
	background-color: rgba(145, 67, 67, 0.993);
}

.footer-bottom {
	background-color: #212d38;
	text-align: center;
	padding: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
	font-size: 14px;
	color: #bdc3c7;
	margin: 0;
}

.container-inscription {
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1rem 2rem;
}

.block-inscription {
	width: 85%;
	max-width: 950px;
	min-width: 300px;
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
	margin: 1rem auto 1.5rem auto;
	border-radius: 10px;
	background-color: var(--bleu);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.block-inscription h2 {
	font-family: "Jersey 20", sans-serif;
	font-size: 35px;
	color: var(--blanc);
	margin-bottom: 1.5rem;
	letter-spacing: 1px;
}

.inscription-colonnes {
	display: flex;
	gap: 0;
	width: 100%;
}

.inscription-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0 1.5rem;
}

.inscription-col:first-child {
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.inscription-col > label {
	margin-top: 0.3rem;
}

.block_groupe {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	width: 100%;
}

.block_ligne {
	display: flex;
	gap: 8px;
	width: 100%;
}

.block-inscription .form-connect {
	gap: 0.3rem;
}

.block-inscription .form-connect label {
	font-family: "Jersey 20", sans-serif;
	font-size: 20px;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.block-inscription input[type="text"],
.block-inscription input[type="number"],
.block-inscription input[type="date"],
.block-inscription input[type="email"],
.block-inscription input[type="password"],
.block-inscription input[type="tel"] {
	width: 100%;
	height: 32px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 12px;
	background-color: rgba(255, 255, 255, 0.1) !important;
	color: var(--blanc);
	outline: none;
	text-align: center;
	transition:
		border-color 0.3s ease,
		background-color 0.3s ease;
}

.block-inscription input[type="text"]::placeholder,
.block-inscription input[type="number"]::placeholder,
.block-inscription input[type="email"]::placeholder,
.block-inscription input[type="password"]::placeholder,
.block-inscription input[type="tel"]::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.block-inscription input[type="text"]:focus,
.block-inscription input[type="number"]:focus,
.block-inscription input[type="date"]:focus,
.block-inscription input[type="email"]:focus,
.block-inscription input[type="password"]:focus,
.block-inscription input[type="tel"]:focus {
	border-color: rgba(255, 255, 255, 0.6);
	background-color: rgba(255, 255, 255, 0.15) !important;
}

.block-inscription input[type="number"]::-webkit-inner-spin-button,
.block-inscription input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.block-inscription input[type="tel"]::-webkit-contacts-auto-fill-button {
	display: none;
	visibility: hidden;
}

.block-inscription select {
	width: 100%;
	height: 32px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 12px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	outline: none;
	cursor: pointer;
	transition: border-color 0.3s ease;
}

.block-inscription select option {
	background-color: var(--bleu);
	color: var(--blanc);
}

.block-inscription select:focus {
	border-color: rgba(255, 255, 255, 0.6);
}

.form-check {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	margin-top: 1rem;
}

.block-inscription .form-check label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	font-family: "Inter", sans-serif;
	text-align: left;
	white-space: normal;
}

.form-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin-top: 0;
	flex-shrink: 0;
	accent-color: var(--rouge);
}

.inscription-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.inscription-footer input[type="submit"] {
	width: 20%;
	padding: 9px;
	background-color: var(--rouge);
	color: var(--blanc);
	border: none;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
}

.inscription-footer input[type="submit"]:hover {
	background-color: #ff1f1c;
	transform: translateY(-2px);
}

.inscription-footer p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
}

.inscription-footer a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	border: none;
	box-shadow: none;
	transition: color 0.2s ease;
}

.inscription-footer a:hover {
	color: var(--blanc);
}

.block-inscription .btn-close {
	position: absolute;
	top: 7px;
	left: 5px;
	font-size: 20px;
	color: var(--blanc);
	text-decoration: none;
	z-index: 10;
	border: 1px solid transparent;
	box-shadow: none;
	background: none;
	padding: 5px 10px;
	text-shadow: none;
	transition: opacity 0.2s ease;
}

@media (max-width: 888px) {
	.container-inscription {
		padding: 1rem;
	}

	.block-inscription {
		width: 95%;
	}

	.inscription-colonnes {
		flex-direction: column;
	}

	.inscription-col:first-child {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		padding-bottom: 1rem;
	}

	.block_ligne {
		flex-direction: column;
		gap: 0.4rem;
	}

	.inscription-footer input[type="submit"] {
		width: 50%;
	}
}


.container-connexion {
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
    padding-top: 27vh;
}

.block-connection {
	position: relative;
	width: 70%;
	max-width: 500px;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3rem 2rem 2rem 2rem;
	border-radius: 10px;
	background-color: var(--bleu);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


.block-connection .btn-close {
	position: absolute;
	top: 7px;
	left: 5px;
	font-size: 20px;
	color: var(--blanc);
	text-decoration: none;
	z-index: 10;
	border: 1px solid transparent;
	box-shadow: none;
	background: none;
	padding: 5px 10px;
	text-shadow: none;
	transition: opacity 0.2s ease;
}

.block-connection .btn-close:hover {
	opacity: 0.6;
}


.block-connection .form-connect {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	width: 100%;
}

.block-connection .form-connect label {
	font-family: "Jersey 20", sans-serif;
	font-size: 30px;
	text-align: center;
	color: var(--blanc);
}

.block-connection input[type="email"],
.block-connection input[type="password"] {
	width: 100%;
	padding: 12px 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	font-size: 15px;
	background-color: rgba(255, 255, 255, 0.15);
	color: var(--blanc);
	outline: none;
	text-align: center;
	transition: border-color 0.3s ease;
}

.block-connection input[type="email"]::placeholder,
.block-connection input[type="password"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.block-connection input[type="email"]:focus,
.block-connection input[type="password"]:focus {
	border-color: var(--blanc);
}

.block-connection input[type="submit"] {
	width: 50%;
	padding: 12px;
	background-color: var(--rouge);
	color: var(--blanc);
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
}

.block-connection input[type="submit"]:hover {
	background-color: #ff1f1c;
	transform: translateY(-2px);
}


.block-connection .pwd-forget {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-style: normal;
	border: none;
	box-shadow: none;
	background: none;
	text-shadow: none;
	transition: color 0.2s ease;
}

.block-connection .pwd-forget:hover {
	color: var(--blanc);
}

.container-annonces {
	width: 100%;
	min-height: 90vh;
	padding: 3rem 18rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.annonce-top {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 2rem;
	align-items: flex-start;
	width: 80%;
	max-width: 1200px;
}

.annonce-search {
	flex: 1;
	background-color: var(--bleu);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-row {
	display: flex;
	align-items: center;
	gap: 1rem;
    width: 100%;
}

.search-row button {
	background-color: var(--rouge);
	color: var(--blanc);
	border: none;
	border-radius: 10px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.3s ease;
}

.search-row button:hover {
	background-color: #ff1f1c;
}

.search-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.search-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	padding: 0 1rem;
    flex: 1;
}

.search-bar i {
	color: rgba(255, 255, 255, 0.5);
	font-size: 16px;
}

.search-bar input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: var(--blanc);
	font-size: 15px;
	padding: 10px 0;
}

.search-bar input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.search-filters {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    justify-content: center;
}

.search-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.search-filter-group h3 {
    text-align: center;
}

.search-filters h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--blanc);
    white-space: nowrap;
}

.search-filters select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--blanc);
    padding: 6px 15px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    height: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 35px;
}

.search-filters select option {
    background-color: var(--bleu);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range input {
    width: 80px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--blanc);
    text-align: center;
    font-size: 13px;
    outline: none;
}

.price-range input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.price-range span {
    color: var(--blanc);
}

.price-range input[type="number"]::-webkit-inner-spin-button,
.price-range input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.annonce-grid {
	width: 80%;
	max-width: 1200px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.annonce-card {
	background-color: var(--bleu);
	border-radius: 15px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.annonce-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.annonce-img {
	width: 100%;
	height: 180px;
	overflow: hidden;
}

.annonce-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.annonce-img-placeholder {
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
}

.annonce-img-placeholder i {
	font-size: 40px;
	color: rgba(255, 255, 255, 0.2);
}

.annonce-info {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.annonce-info h3 {
	font-size: 14px;
	font-weight: 700;
	color: var(--blanc);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.annonce-prix {
	font-size: 18px;
	font-weight: 800;
	color: var(--rouge);
}

.annonce-vendeur,
.annonce-date {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	gap: 5px;
}

.annonce-empty {
	width: 80%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	color: rgba(255, 255, 255, 0.4);
	gap: 1rem;
}

.annonce-empty i {
	font-size: 60px;
}
.annonce-empty p {
	font-size: 18px;
}

.container-annonce-detail {
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 4rem;
}

.annonce-detail-block {
	position: relative;
	width: 85%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 3rem;
	background-color: var(--bleu);
	border-radius: 10px;
	padding: 3rem;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-payer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #004bfb;
    color: var(--blanc);
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    transition: background-color 0.2s ease;
}

.btn-payer:hover {
    background-color: #195af0;
}

.btn-offre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.2s ease;
}

.btn-offre:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.annonce-detail-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.annonce-detail-block .btn-close {
	position: absolute;
	top: 7px;
	left: 5px;
	font-size: 20px;
	color: var(--blanc);
	text-decoration: none;
	background: none;
	border: 1px solid transparent;
	padding: 5px 10px;
	transition: opacity 0.2s ease;
}

.annonce-detail-block .btn-close:hover {
	opacity: 0.6;
}

.annonce-detail-top {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.annonce-detail-galerie {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.galerie-principale {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.galerie-principale img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.galerie-miniatures {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.miniature {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.miniature:hover,
.miniature.active {
    border-color: var(--rouge);
    opacity: 1;
}

.annonce-detail-infos {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.annonce-detail-infos h2 {
	font-family: "Jersey 20", sans-serif;
	font-size: 30px;
	color: var(--blanc);
}

.annonce-detail-prix {
	font-size: 32px;
	font-weight: 800;
	color: var(--rouge);
}

.annonce-detail-tags {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tag-theme,
.tag-categorie,
.tag-etat {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: capitalize;
}

.tag-theme     { background-color: rgba(255, 255, 255, 0.15); color: var(--blanc); }
.tag-categorie { background-color: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); }
.tag-etat      { background-color: var(--rouge); color: var(--blanc); }

.annonce-detail-ref {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	gap: 5px;
}

.annonce-detail-date {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	gap: 5px;
}

.annonce-detail-sidebar {
	width: 280px;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	position: sticky;
	top: 100px;
}

.vendeur-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	padding: 1rem;
}

.vendeur-infos {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.vendeur-avatar i {
	font-size: 50px;
	color: rgba(255, 255, 255, 0.3);
}

.vendeur-details {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.vendeur-nom {
	font-size: 16px;
	font-weight: 700;
	color: var(--blanc);
}

.vendeur-lieu,
.vendeur-depuis {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	gap: 5px;
}

.vendeur-note {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 0.3rem;
}

.vendeur-note i {
	color: #f5c518;
	font-size: 14px;
}

.vendeur-note span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.vendeur-no-note {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.btn-contacter {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background-color: var(--rouge);
	color: var(--blanc);
	text-decoration: none;
	border-radius: 10px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 700;
	width: 100%;
	transition: background-color 0.2s ease;
}

.btn-contacter:hover {
	background-color: #ff1f1c;
}

.btn-favori {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	text-decoration: none;
	border-radius: 10px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 700;
	width: 100%;
	transition: background-color 0.2s ease;
}

.btn-favori:hover,
.btn-favori.active {
	background-color: rgba(255, 255, 255, 0.2);
}

.annonce-detail-description {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 1.5rem;
}

.annonce-detail-description h3 {
	font-family: "Jersey 20", sans-serif;
	font-size: 22px;
	color: var(--blanc);
	margin-bottom: 0.8rem;
}

.annonce-detail-description p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.7;
}

@media (max-width: 888px) {
	.container-annonce-detail { padding: 1rem; }
	.annonce-detail-block { width: 100%; }

	.annonce-detail-top {
		flex-direction: column;
	}

	.annonce-detail-sidebar {
		width: 100%;
		min-width: unset;
		position: static;
	}

	.galerie-grid {
		grid-template-rows: 180px 180px;
	}
}

@media (max-width: 480px) {
	.galerie-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.galerie-main {
		grid-row: span 1;
	}
}

.container-creation {
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
}

.block-creation {
	position: relative;
	width: 80%;
	max-width: 900px;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
	margin: 2rem 2rem;
	border-radius: 10px;
	background-color: var(--bleu);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.block-creation h2 {
	font-family: "Jersey 20", sans-serif;
	font-size: 35px;
	color: var(--blanc);
	margin-bottom: 1.5rem;
	letter-spacing: 1px;
}

.block-creation .btn-close {
	position: absolute;
	top: 7px;
	left: 5px;
	font-size: 20px;
	color: var(--blanc);
	text-decoration: none;
	z-index: 10;
	border: 1px solid transparent;
	box-shadow: none;
	background: none;
	padding: 5px 10px;
	text-shadow: none;
	transition: opacity 0.2s ease;
}

.block-creation .btn-close:hover {
	opacity: 0.6;
}

.form-creation {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.creation-colonnes {
	display: flex;
	width: 100%;
	gap: 0;
}

.creation-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0 1.5rem;
}

.creation-col:first-child {
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.creation-col label {
	font-family: "Jersey 20", sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.5px;
	margin-top: 0.5rem;
}

.creation-col input[type="text"],
.creation-col input[type="number"] {
	width: 100%;
	height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 13px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	outline: none;
	transition: border-color 0.3s ease;
}

.creation-col input[type="text"]:focus,
.creation-col input[type="number"]:focus {
	border-color: rgba(255, 255, 255, 0.6);
}

.creation-col input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.creation-col textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 13px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	outline: none;
	resize: vertical;
	font-family: "Inter", sans-serif;
	transition: border-color 0.3s ease;
}

.creation-col input[type="number"]::-webkit-inner-spin-button,
.creation-col input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.creation-col textarea:focus {
	border-color: rgba(255, 255, 255, 0.6);
}

.creation-col textarea::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.creation-col select {
	width: 100%;
	height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	font-size: 13px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	outline: none;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: calc(100% - 12px) center;
	padding-right: 35px;
}

.creation-col select option {
	background-color: var(--bleu);
}

.photo-upload {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.photo-upload input[type="file"] {
	display: none;
}

.photo-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 2rem;
	border: 2px dashed rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.3s ease, background-color 0.3s ease;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
}

.photo-label:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background-color: rgba(255, 255, 255, 0.05);
}

.photo-label i {
	font-size: 35px;
}

.photo-label span {
	font-size: 14px;
	font-weight: 700;
	color: var(--blanc);
}

.photo-label small {
	font-size: 11px;
}

.photo-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.photo-thumb {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.creation-footer {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 1rem;
	padding-top: 1rem;
}

.creation-footer input[type="submit"] {
	padding: 10px 40px;
	background-color: var(--rouge);
	color: var(--blanc);
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
}

.creation-footer input[type="submit"]:hover {
	background-color: #ff1f1c;
	transform: translateY(-2px);
}

.container-catalogue {
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 4rem;
}

.catalogue-block {
	width: 85%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.catalogue-titre {
	font-family: "Jersey 20", sans-serif;
	font-size: 45px;
	color: var(--blanc);
	text-shadow: 2px 2px 0px #000000;
	text-align: center;
}

.catalogue-search-form {
	background-color: var(--bleu);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0rem 10rem;
}

.catalogue-search-row {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.page-actuelle {
    background-color: var(--bleu);
    color: var(--blanc);
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 40px;
    text-align: center;
}

.catalogue-search-row .search-bar {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	padding: 0 1rem;
}

.catalogue-search-row .search-bar i {
	color: rgba(255, 255, 255, 0.5);
}

.catalogue-search-row .search-bar input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: var(--blanc);
	font-size: 15px;
	padding: 10px 0;
}

.catalogue-search-row .search-bar input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.catalogue-search-row button {
	background-color: var(--rouge);
	color: var(--blanc);
	border: none;
	border-radius: 10px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.3s ease;
}

.catalogue-search-row button:hover {
	background-color: #ff1f1c;
}

.catalogue-filters {
	display: flex;
	gap: 1rem;
	justify-content: center;
}

.filter-radio {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 8px 20px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.filter-radio input[type="radio"] {
	display: none;
}

.filter-radio:hover,
.filter-radio.active {
	background-color: var(--rouge);
	border-color: var(--rouge);
	color: var(--blanc);
}

.catalogue-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    background-color: var(--bleu);
    border-radius: 10px;
    padding: 0.4rem 1rem;
    width: fit-content;
}

.catalogue-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.catalogue-card {
	background-color: var(--bleu);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalogue-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.catalogue-img {
	width: 100%;
	height: 160px;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
}

.catalogue-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.5rem;
}

.catalogue-img-placeholder i {
	font-size: 40px;
	color: rgba(255, 255, 255, 0.2);
}

.catalogue-info-card {
	padding: 0.8rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.catalogue-info-card h3 {
	font-size: 13px;
	font-weight: 700;
	color: var(--blanc);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.catalogue-ref {
	font-size: 11px;
	color: var(--rouge);
	font-weight: 700;
}

.catalogue-meta {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	gap: 4px;
}

.catalogue-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	color: rgba(255, 255, 255, 0.4);
	gap: 1rem;
	background-color: var(--bleu);
	border-radius: 10px;
	padding: 2rem;
}

.catalogue-empty i { font-size: 60px; }
.catalogue-empty p { font-size: 18px; }

.catalogue-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	padding: 1rem 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

.btn-page {
	background-color: var(--bleu);
	color: var(--blanc);
	text-decoration: none;
	border-radius: 10px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	transition: background-color 0.2s ease;
}

.btn-page:hover {
	background-color: var(--rouge);
}

.container-detail {
	width: 100%;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 4rem;
}

.detail-block {
	position: relative;
	width: 85%;
	max-width: 1000px;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 3rem;
	background-color: var(--bleu);
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.detail-block .btn-close {
	position: absolute;
	top: 7px;
	left: 5px;
	font-size: 20px;
	color: var(--blanc);
	text-decoration: none;
	z-index: 10;
	border: 1px solid transparent;
	box-shadow: none;
	background: none;
	padding: 5px 10px;
	text-shadow: none;
	transition: opacity 0.2s ease;
}

.detail-block .btn-close:hover {
	opacity: 0.6;
}

.detail-section {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.detail-section h3 {
    font-family: "Jersey 20", sans-serif;
    font-size: 22px;
    color: var(--blanc);
    margin-bottom: 1rem;
}

.detail-pieces-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
}

.detail-piece-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
    text-align: center;
}

.detail-filtres {
    display: flex;
    gap: 1rem;
}

.btn-filtre {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-filtre.active {
    background-color: var(--rouge);
}

.btn-filtre:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.detail-piece-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.detail-piece-img {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-piece-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-piece-img i {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.2);
}

.detail-piece-card p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.detail-piece-ref {
    color: var(--rouge) !important;
    font-weight: 700;
}

.detail-piece-qty {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 9px !important;
}

.detail-piece-card {
    overflow: hidden;
    max-width: 100%;
}

.detail-piece-img {
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.detail-piece-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-top {
	display: flex;
	gap: 2rem;
    align-items: center;
}

.detail-img {
	width: 600px;
	height: auto;
}

.detail-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 1.5rem;
}

.detail-img-placeholder i {
	font-size: 60px;
	color: rgba(255, 255, 255, 0.2);
}

.detail-infos {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	flex: 1;
	font-size: 20px;
}

.detail-infos h2 {
	font-family: "Jersey 20", sans-serif;
	font-size: 30px !important;
	color: var(--blanc);
}

.detail-ref {
	color: rgba(255, 255, 255, 0.7);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
}

.detail-meta {
	color: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	gap: 6px;
}

.detail-type {
	color: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	gap: 6px;
}

.btn-rebrickable {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	text-decoration: none;
	border-radius: 10px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 700;
	margin-top: 0.5rem;
	transition: background-color 0.2s ease;
	width: fit-content;
}

.btn-rebrickable:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.detail-annonces {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 1.5rem;
}

.detail-annonces h3 {
	font-family: "Jersey 20", sans-serif;
	font-size: 22px;
	color: var(--blanc);
	margin-bottom: 1rem;
}

.detail-annonces-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	padding: 2rem;
	color: rgba(255, 255, 255, 0.4);
	text-align: center;
}

.detail-annonces-empty i { font-size: 40px; }
.detail-annonces-empty p { font-size: 15px; }

.detail-annonces-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

@media (max-width: 888px) {
	.container-detail { padding: 1rem; }
	.detail-block { width: 100%; }

	.detail-top {
		flex-direction: column;
		align-items: center;
	}

	.detail-img {
		width: 100%;
		min-width: unset;
	}

	.detail-annonces-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.detail-annonces-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px) {
	.catalogue-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 888px) {
	.container-catalogue { padding: 1rem; }
	.catalogue-block { width: 100%; }
	.catalogue-grid { grid-template-columns: repeat(2, 1fr); }
	.catalogue-filters { flex-wrap: wrap; }
}

@media (max-width: 480px) {
	.catalogue-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
	.annonce-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 888px) {
	.container-annonces {
		padding: 1rem;
	}

	.annonce-top {
		flex-direction: column;
	}

	.annonce-side {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		width: 100%;
	}

	.annonce-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.annonce-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px) {
	.annonce-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 888px) {
	.container-annonces {
		padding: 1rem;
	}

	.annonce-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.annonce-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 888px) {
	.footer {
		padding: 32px 16px 16px;
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.newsletter-form {
		flex-direction: column;
	}

	.newsletter-form input,
	.newsletter-form button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-section h3 {
		font-size: 1rem;
		margin-bottom: 10px;
	}

	.social-links {
		flex-wrap: wrap;
		gap: 8px;
	}

	.footer-bottom {
		font-size: 0.75rem;
	}
}

.container-cgv {
    width: 100%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 4rem;
}

.cgv-block {
    width: 75%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.cgv-titre {
    font-family: "Jersey 20", sans-serif;
    font-size: 45px;
    color: var(--blanc);
    text-shadow: 2px 2px 0px #000000;
    text-align: center;
}

.cgv-section {
    background-color: var(--bleu);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cgv-section h2 {
    font-family: "Jersey 20", sans-serif;
    font-size: 22px;
    color: var(--blanc);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.6rem;
}

.cgv-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.cgv-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cgv-section ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.8;
}

.cgv-section ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--rouge);
    font-weight: 700;
}

@media (max-width: 888px) {
    .container-cgv {
        padding: 1rem;
    }

    .cgv-block {
        width: 100%;
    }

    .cgv-titre {
        font-size: 35px;
    }

    .cgv-section {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cgv-titre {
        font-size: 28px;
    }

    .cgv-section h2 {
        font-size: 18px;
    }
}

.container-messages {
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    padding: 2rem 4rem;
    gap: 1.5rem;
}

.messages-sidebar {
    width: 320px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.messages-sidebar-title {
    font-family: "Jersey 20", sans-serif;
    font-size: 28px;
    color: var(--blanc);
    text-shadow: 1px 1px 0 #000;
    padding: 0 0.5rem;
}

.conv-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    max-height: 75vh;
}

.conv-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background-color: var(--bleu);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.conv-item:hover {
    background-color: #243d82;
    border-color: rgba(255, 255, 255, 0.2);
}

.conv-item.active {
    border-color: var(--rouge);
    background-color: #243d82;
}

.conv-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.conv-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--blanc);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-item-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    flex-shrink: 0;
}

.conv-item-annonce {
    font-size: 12px;
    color: var(--rouge);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-item-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-badge {
    background-color: var(--rouge);
    color: var(--blanc);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    flex-shrink: 0;
}

.conv-empty {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--bleu);
    border-radius: 10px;
}

.messages-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 75vh;
}

.chat-header {
    background-color: var(--bleu);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.chat-header-name {
    font-family: "Jersey 20", sans-serif;
    font-size: 22px;
    color: var(--blanc);
}

.chat-header-annonce {
    font-size: 13px;
    color: var(--rouge);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.chat-header-annonce:hover {
    color: #ff1f1c;
}

.btn-voir-annonce {
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s;
}

.btn-voir-annonce:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    background-color: var(--bleu);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 400px;
    max-height: 55vh;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    gap: 0.8rem;
}

.chat-empty i { font-size: 50px; }
.chat-empty p { font-size: 15px; }

.msg-bubble {
    display: flex;
    flex-direction: column;
    max-width: 65%;
}

.msg-bubble.moi {
    align-self: flex-end;
    align-items: flex-end;
}

.msg-bubble.autre {
    align-self: flex-start;
    align-items: flex-start;
}

.msg-bubble-content {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.msg-bubble.moi .msg-bubble-content {
    background-color: var(--rouge);
    color: var(--blanc);
    border-bottom-right-radius: 4px;
}

.msg-bubble.autre .msg-bubble-content {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--blanc);
    border-bottom-left-radius: 4px;
}

.msg-bubble-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 3px;
    padding: 0 4px;
}

.offre-card {
    background: linear-gradient(135deg, #2a3f7a, #1c326d);
    border: 2px solid var(--rouge);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 220px;
    color: #fff;
}

.offre-card-header {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.offre-card-montant {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.offre-card-msg {
    font-size: 14px;
    opacity: 0.9;
    margin: 6px 0;
}

.offre-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-offre-accepter,
.btn-offre-refuser,
.btn-offre-payer {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn-offre-accepter { background-color: #2e9e5b; }
.btn-offre-accepter:hover { background-color: #258a4d; }
.btn-offre-refuser { background-color: var(--rouge); }
.btn-offre-refuser:hover { background-color: #ff1f1c; }

.btn-offre-payer {
    margin-top: 10px;
    width: 100%;
    background-color: #2e9e5b;
}
.btn-offre-payer:hover { background-color: #258a4d; }

.offre-card-statut {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.offre-statut-ok { color: #6ee7a0; }
.offre-statut-ko { color: #ff9a98; }

.offre-card.offre-acceptee { border-color: #2e9e5b; }
.offre-card.offre-refusee { border-color: rgba(255,255,255,0.2); opacity: 0.85; }

.chat-form {
    background-color: var(--bleu);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-form textarea {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--blanc);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    resize: none;
    outline: none;
    height: 50px;
    transition: border-color 0.3s ease;
}

.chat-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.chat-form button {
    background-color: var(--rouge);
    color: var(--blanc);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 50px;
}

.chat-form button:hover {
    background-color: #ff1f1c;
    transform: translateY(-1px);
}

.chat-placeholder {
    flex: 1;
    background-color: var(--bleu);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-height: 400px;
}

.chat-placeholder i { font-size: 60px; }
.chat-placeholder p { font-size: 16px; }

@media (max-width: 888px) {
    .container-messages {
        flex-direction: column;
        padding: 1rem;
    }

    .messages-sidebar {
        width: 100%;
        min-width: unset;
    }

    .conv-list {
        max-height: 35vh;
    }

    .chat-body {
        max-height: 45vh;
    }
}

.nav-msg {
    position: relative;
}

.nav-msg-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--rouge);
    color: var(--blanc);
    font-size: 10px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bleu);
    line-height: 1;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-supprimer-conv {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(229, 56, 53, 0.15);
    color: var(--rouge);
    border: 1px solid rgba(229, 56, 53, 0.4);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-supprimer-conv:hover {
    background-color: var(--rouge);
    color: var(--blanc);
    border-color: var(--rouge);
}

#captcha-puzzle {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3px;
	width: 300px;
	max-width: 100%;
	padding: 6px;
	margin: 0.3rem auto 0;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	touch-action: none;
}

.captcha-piece {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	display: block;
	object-fit: cover;
	border-radius: 6px;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: element;
	border: 2px solid transparent;
	transition:
		border-color 0.2s ease,
		transform 0.15s ease,
		box-shadow 0.2s ease;
}

.captcha-piece:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.captcha-piece:active {
	cursor: grabbing;
	transform: scale(1.04);
	border-color: var(--rouge);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.captcha-titre {
	display: block;
	font-family: "Jersey 20", sans-serif;
	font-size: 20px;
	color: var(--blanc);
	text-align: center;
	letter-spacing: 0.5px;
	margin-bottom: 0.4rem;
}

.container-connexion {
	padding-top: 12vh;
}

.captcha-verifier {
	margin: 0.6rem auto 0;
	padding: 8px 22px;
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--blanc);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.captcha-verifier:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.captcha-statut {
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	margin: 0.2rem 0 0;
}

#captcha-puzzle.captcha-ok {
	border-color: #22c55e;
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
}

.profil-container h1{
	margin-bottom: 1rem;
	font-family: "Jersey 20", sans-serif;
	font-size: 35px;
	color: var(--blanc);
	margin-bottom: 1.5rem;
	letter-spacing: 1px;
	border-bottom:1px solid rgba(131, 131, 131, 0.39); ;
	padding-bottom: 2rem;
}

.profil-container {
  max-width: 900px;
  margin: 5rem auto;
  padding: 4rem 2rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--bleu);
  border-radius: 15px;
  gap: 1rem;
}

.profil-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #d8d6d6;
  text-transform: uppercase;
  font-family: "Jersey 20", sans-serif;
color: rgba(255, 255, 255, 0.7);

	letter-spacing: 1px;
}

.profil-top,
.profil-mid,
.profil-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.profil-block {
  background: rgb(255, 255, 255);
  border-radius: 12px;
  border: #888 2px solid;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profil-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.profil-block h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;

}

.profil-block p {
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
  	font-family: "Inter", sans-serif;
}

@media (max-width: 600px) {
  .profil-top,
  .profil-mid,
  .profil-bottom {
    grid-template-columns: 1fr;
  }
}

.profil-icon {
  font-size: 2rem;
  flex-shrink: 0;

}

.profil-avatars{
  height: 5rem;
  width: auto;
  margin-right:1rem ;
}

.deco-btn{
	padding: 1rem 4rem;
	background-color: var(--rouge);
	border-radius: 15px;
	text-align: center;
	text-decoration: none;
	color: white;
		font-family: "Inter", sans-serif;
		margin-top: 2rem;
		margin-bottom: 0rem;
		width: 15rem;
}

.inscription-footer .enregistrer{
	width:  10rem !important;
}

.champ{
	margin-bottom: 1rem;
}

.profil-block h2 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
}

.profil-block p {
  font-size: 13px;
  color: #888;
  margin: 0;
  font-family: "Inter", sans-serif;
}

.profil-icon {
  font-size: 1.5rem;
  color: var(--rouge);
  flex-shrink: 0;
}

.profil-text {
  flex: 1;
}

.mes-annonces-tabs {
  display: flex;
  gap: 0;
  width: 100%;
  margin: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mes-annonces-tab {
  padding: 10px 24px;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mes-annonces-tab:hover {
  color: rgba(255,255,255,0.8);
}

.mes-annonces-tab.actif {
  color: var(--blanc);
  border-bottom: 2px solid var(--rouge);
}

.mes-annonces-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
}

.mes-annonces-vide i {
  font-size: 60px;
  margin-bottom: 0.5rem;
}

.mes-annonces-vide p {
  font-family: "Jersey 20", sans-serif;
  font-size: 24px;
  color: rgba(255,255,255,0.6);
}

.mes-annonces-vide span {
  font-size: 13px;
  font-family: "Inter", sans-serif;
}

.mes-annonces-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  margin-top: 1rem;
}

.mes-annonce-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s ease;
}

.mes-annonce-card:hover {
  background: rgba(255,255,255,0.1);
}

.mes-annonce-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mes-annonce-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mes-annonce-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mes-annonce-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blanc);
  font-family: "Inter", sans-serif;
}

.mes-annonce-prix {
  font-size: 16px;
  font-weight: 800;
  color: var(--rouge);
  font-family: "Inter", sans-serif;
}

.mes-annonce-date {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mes-annonce-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mes-annonce-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease;
}

.mes-annonce-btn:hover {
  background: rgba(255,255,255,0.2);
}

.mes-annonce-btn.danger:hover {
  background: rgba(229,56,53,0.4);
  color: var(--rouge);
}

@media (max-width: 600px) {
  .mes-annonce-card {
    flex-wrap: wrap;
  }
  .mes-annonce-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.container-erreur {
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.erreur-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    background-color: var(--bleu);
    border-radius: 15px;
    padding: 4rem 3rem;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.erreur-icone {
    font-size: 5rem;
    color: var(--rouge);
}

.erreur-code {
    font-family: "Jersey 20", sans-serif;
    font-size: 90px;
    color: var(--rouge);
    text-shadow: 3px 3px 0px #000000;
    line-height: 1;
}

.erreur-titre {
    font-family: "Jersey 20", sans-serif;
    font-size: 28px;
    color: var(--blanc);
    letter-spacing: 1px;
}

.erreur-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    max-width: 400px;
}

.erreur-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-erreur-retour {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    transition: background-color 0.3s ease;
}

.btn-erreur-retour:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
    .erreur-block {
        padding: 3rem 1.5rem;
    }

    .erreur-code {
        font-size: 70px;
    }

    .erreur-titre {
        font-size: 22px;
    }

    .erreur-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-erreur-retour,
    .btn-deposer-nav {
        width: 100%;
        justify-content: center;
    }
}

.msg-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
}

.msg-bubble-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-emoji-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.15s;
  padding: 2px 4px;
  flex-shrink: 0;
  line-height: 1;
}
.msg-bubble:hover .btn-emoji-trigger {
  opacity: 1;
}

.emoji-picker {
  display: none;
  position: absolute;
  background: #1c326d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 6px 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  gap: 4px;
  z-index: 100;
  bottom: calc(100% + 6px);
  right: 0;
}

.emoji-picker span {
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 4px;
  display: inline-block;
  transition: transform 0.1s;
}
.emoji-picker span:hover {
  transform: scale(1.25);
  background: rgba(255, 255, 255, 0.1);
}

.msg-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.reaction-pill {
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanc);
  font-size: 13px;
  transition: background 0.15s;
}
.reaction-pill:hover {
  background: rgba(255, 255, 255, 0.15);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px) rotate(-3deg);
  }
  75% {
    transform: translateX(10px) rotate(3deg);
  }
}
@keyframes zoomin {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
#easter-egg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}
#easter-egg img {
  max-width: 380px;
  border-radius: 16px;
  animation:
    zoomin 0.4s ease,
    shake 0.5s ease 0.4s;
  box-shadow: 0 0 40px rgba(229, 56, 53, 0.8);
  border: 3px solid #e53835;
}
#easter-egg h1 {
  font-family: "Jersey 20", sans-serif;
  font-size: 50px;
  color: #e53835;
  text-shadow: 3px 3px 0 #000;
  animation: shake 0.5s ease 0.4s;
}
#easter-egg p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
#easter-egg a {
  background: #e53835;
  color: white;
  padding: 10px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  transition: background 0.2s;
}
#easter-egg a:hover {
  background: #ff1f1c;
}

.mdp-aide {
  font-size: 13px;
  color: #999;
  margin: 6px 0 16px;
}

#mdp:not(:placeholder-shown):valid + .mdp-aide {
  color: #2e7d32 !important;
}

#mdp:not(:placeholder-shown):invalid + .mdp-aide {
  color: #c62828 !important;
}

.transactions-section-title {
    font-family: "Jersey 20", sans-serif;
    font-size: 22px;
    color: var(--blanc);
    letter-spacing: 1px;
    margin: 1.5rem 0 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.mes-annonce-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
}

.mes-annonce-badge.en_attente {
    background: rgba(255,204,0,0.2);
    color: #ffcc00;
}

.mes-annonce-badge.complete {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
}

.mes-annonce-badge.annule {
    background: rgba(229,56,53,0.2);
    color: var(--rouge);
}

.mes-annonce-badge.credit {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
}

.mes-annonce-badge.retrait {
    background: rgba(229,56,53,0.2);
    color: var(--rouge);
}

.historique-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.historique-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s ease;
    width: 100%;
}

.historique-card:hover {
    background: rgba(255,255,255,0.1);
}

.historique-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.historique-card-date {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.historique-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    width: 100%;
}

.historique-champ {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.historique-champ-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.historique-champ-valeur {
    font-size: 13px;
    color: var(--blanc);
    font-family: "Inter", sans-serif;
}

.historique-champ-full {
    grid-column: span 2;
}

.transaction-icone-credit {
    background: rgba(34,197,94,0.1);
}

.transaction-icone-retrait {
    background: rgba(229,56,53,0.1);
}

.transaction-montant-credit {
    color: #22c55e;
}

.transaction-montant-retrait {
    color: var(--rouge);
}

@media (max-width: 600px) {
    .historique-card-body {
        grid-template-columns: 1fr;
    }

    .historique-champ-full {
        grid-column: span 1;
    }
}

.mes-annonce-note {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    color: #f5c518;
    font-size: 14px;
}

.aide-email {
    font-size: 16px;
    font-weight: 700;
    color: var(--rouge);
    font-family: "Inter", sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    transition: opacity 0.2s ease;
}

.aide-email:hover {
    opacity: 0.7;
}

.aide-faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.aide-faq-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.aide-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.favoris-titre {
  font-family: "Jersey 20", sans-serif;
  font-size: 45px;
  color: var(--blanc);
  text-shadow:
    2px 2px 0px #000000,
    0 0 12px rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-bottom: 2rem;
}

.container-annonces .annonce-empty {
  background-color: var(--bleu);
  border-radius: 15px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.7);
}

.container-annonces .annonce-empty i {
  color: rgba(255, 255, 255, 0.5);
}

.container-annonces .annonce-empty p {
  color: rgba(255, 255, 255, 0.85);
}

.container-annonces .annonce-card form {
  padding: 0 1rem 1rem;
  margin-top: auto;
}

.btn-favori-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background-color: rgba(229, 56, 53, 0.15);
  color: var(--rouge);
  border: 1px solid rgba(229, 56, 53, 0.4);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-favori-remove:hover {
  background-color: var(--rouge);
  color: var(--blanc);
  border-color: var(--rouge);
}

.btn-favori-remove i {
  font-size: 15px;
}