/* ==========================================================
   BLOC 1 — FORMULAIRES + UPLOAD + SECTIONS (reçu 1er)
   ========================================================== */

/* Styles pour le formulaire */
.form-container {
	background: white;
	border-radius: 8px;
	padding: 40px;
	/*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
	margin-bottom: 30px;
	border:1px #c0c0c0 solid;
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
	color: #333;
}

.form-group label.required::after {
	content: " *";
	color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #1B1B1B;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.form-group small {
	display: block;
	color: #666;
	font-size: 0.85rem;
	margin-top: 5px;
}

.radio-group {
	display: flex;
	gap: 30px;
	margin-top: 10px;
}

.radio-option {
	display: flex;
	align-items: center;
	gap: 8px;
}

.radio-option input[type="radio"] {
	width: auto;
	margin: 0;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-row-3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}

/* *upload */
/* Zone de drag & drop */
.upload-zone {
	border: 2px dashed #ddd;
	border-radius: 8px;
	padding: 40px;
	text-align: center;
	background: #fafafa;
	transition: all 0.3s ease;
	cursor: pointer;
	margin-bottom: 20px;
}

.upload-zone:hover {
	border-color: #1B1B1B;
	background: #f5f5f5;
}

.upload-zone.drag-over {
	border-color: #27ae60;
	background: #e8f5e9;
}

.upload-zone-icon {
	font-size: 3rem;
	color: #999;
	margin-bottom: 15px;
}

.upload-zone-text {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 10px;
}

.upload-zone-subtext {
	font-size: 0.9rem;
	color: #999;
}

.upload-zone input[type="file"] {
	display: none;
}

.image-preview {
	display: none;
	position: relative;
	margin-top: 20px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.image-preview.active {
	display: block;
}

.image-preview img {
	width: 100%;
	max-height: 400px;
	object-fit: contain;
	background: #f5f5f5;
}

.image-preview-actions {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 10px;
}

.btn-remove-image {
	background: rgba(231, 76, 60, 0.9);
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background 0.3s ease;
}

.btn-remove-image:hover {
	background: rgba(231, 76, 60, 1);
}

.upload-progress {
	display: none;
	margin-top: 15px;
}

.upload-progress.active {
	display: block;
}

.progress-bar {
	width: 100%;
	height: 30px;
	background: #f0f0f0;
	border-radius: 15px;
	overflow: hidden;
	position: relative;
}

.progress-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #27ae60, #2ecc71);
	width: 0%;
	transition: width 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 0.85rem;
}

.upload-error {
	display: none;
	background: #fee;
	border-left: 4px solid #e74c3c;
	padding: 15px;
	margin-top: 15px;
	border-radius: 4px;
	color: #c0392b;
}

.upload-error.active {
	display: block;
}

.section-divider {
	border-top: 2px solid #e3e3e3;
	margin: 40px 0;
	padding-top: 30px;
}

.section-number {
	display: inline-block;
	background: #1B1B1B;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	font-weight: bold;
	margin-right: 15px;
}

.section-title-form {
	display: flex;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 300;
	margin-bottom: 30px;
}

.hidden {
	display: none;
}

.btn-submit {
	background: #1B1B1B;
	color: white;
	padding: 14px 40px;
	border: none;
	border-radius: 4px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.btn-submit:hover {
	opacity: 0.8;
}

.login-box {
	background: #f8f9fa;
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.alert-info-certif {
	background: #e3f2fd;
	border-left: 4px solid #2196f3;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.form-dimensions {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 10px;
	align-items: end;
}

.form-dimensions .form-group {
	margin-bottom: 0;
}

/* ==========================================================
   BLOC 2 — ACHETER FORFAIT (solde + cartes)
   ========================================================== */

.forfaits-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.solde-actuel {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	border-radius: 12px;
	text-align: center;
	margin-bottom: 50px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.solde-number {
	font-size: 3rem;
	font-weight: bold;
	margin: 10px 0;
}

.solde-label {
	font-size: 1.2rem;
	opacity: 0.9;
}

/* Alert de validation en attente */
.alert-validation-pending {
	background: #fff;
	border:.5px #000 solid;
	border-left: 10px solid #7A1F1F;
	padding: 25px 30px;
	margin: 10% 0;
	border-radius: 0px;
}

.alert-validation-pending h3 {
	color: #000;
	font-size: 1.5rem;
	margin-bottom: 10px;
	font-weight: 500;
}

.alert-validation-pending p {
	color: #000;
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0;
}

.forfaits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.forfait-card {
	background: white;
	border-radius: 3px;
	padding: 35px 30px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.forfait-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Carte désactivée si compte non validé */
.forfait-card.disabled {
	opacity: 1;
	pointer-events: none;
}

.forfait-card.popular {
	border: 3px solid #667eea;
}

.forfait-card.popular::before {
	content: 'POPULAIRE';
	position: absolute;
	top: 15px;
	right: -30px;
	background: #667eea;
	color: white;
	padding: 5px 40px;
	transform: rotate(45deg);
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 1px;
}

.forfait-name {
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 15px;
	color: #1B1B1B;
}

.forfait-certifs {
	font-size: 3rem;
	margin: 20px 0;
}

.forfait-certifs span {
	font-size: 1.2rem;
}

.forfait-prix {
	font-size: 2rem;
	font-weight: bold;
	color: #1B1B1B;
	margin: 20px 0;
}

.forfait-prix-unit {
	font-size: 0.9rem;
	color: #999;
	margin-top: 5px;
}

.forfait-features {
	list-style: none;
	padding: 0;
	margin: 25px 0;
	text-align: left;
}

.forfait-features li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	color: #666;
}

.forfait-features li:last-child {
	border-bottom: none;
}

.forfait-features li::before {
	content: '✓';
	color: #27ae60;
	font-weight: bold;
	margin-right: 10px;
}

.btn-forfait {
	width: 100%;
	padding: 15px;
	background: #1B1B1B;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 20px;
}

.btn-forfait:hover {
	background: #333;
	transform: scale(1.05);
}

/* Bouton désactivé */
.btn-forfait.disabled {
	background: #ccc;
	color: #666;
	cursor: not-allowed;
	opacity: 0.6;
}

.btn-forfait.disabled:hover {
	background: #ccc;
	transform: none;
}

.forfait-card.popular .btn-forfait {
	background: #667eea;
}

.forfait-card.popular .btn-forfait:hover {
	background: #5568d3;
}

.forfait-card.popular .btn-forfait.disabled {
	background: #ccc;
}

.economies {
	display: inline-block;
	background: #27ae60;
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	margin-top: 10px;
}

/* ==========================================================
   BLOC 3 — DÉTAIL ŒUVRE
   ========================================================== */

.detail-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	color: #1B1B1B;
	text-decoration: none;
	margin-bottom: 30px;
	font-weight: 500;
}

.back-link:hover {
	opacity: 0.7;
}

.detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.image-section {
	background: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-image {
	width: 100%;
	aspect-ratio: 4/3;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 3rem;
}

.thumbnails {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.thumbnail {
	aspect-ratio: 1;
	background: #f0f0f0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 2px solid transparent;
}

.thumbnail:hover {
	border-color: #1B1B1B;
}

#photosThumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
#photosThumbs .thumbnail {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
}
#photosThumbs .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#photosThumbs .btn-remove-image {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 12px;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 4px;
}


.info-section {
	background: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.oeuvre-title-detail {
	font-size: 2rem;
	font-weight: 300;
	margin-bottom: 10px;
	color: #1B1B1B;
}

.artist-name {
	color: #666;
	font-size: 1.1rem;
	margin-bottom: 20px;
}

.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.info-item {
	padding-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
}

.info-label {
	font-size: 0.85rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 5px;
}

.info-value {
	font-size: 1.1rem;
	color: #333;
	font-weight: 500;
}

.description-section {
	margin-top: 30px;
}

.section-title {
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 15px;
	color: #1B1B1B;
}

.description-text {
	color: #666;
	line-height: 1.6;
}

.action-buttons {
	display: flex;
	gap: 15px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.btn {
	padding: 12px 25px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
	border: none;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.btn-primary {
	background: #1B1B1B;
	color: white;
}

.btn-primary:hover {
	opacity: 0.8;
}

.btn-secondary {
	background: white;
	color: #1B1B1B;
	border: 2px solid #1B1B1B;
}

.btn-secondary:hover {
	background: #1B1B1B;
	color: white;
}

.full-width-section {
	background: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin-top: 40px;
}

.blockchain-info {
	background: #f8f9fa;
	border-left: 4px solid #1B1B1B;
	padding: 20px;
	border-radius: 4px;
	margin-top: 20px;
}

.blockchain-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
}

.blockchain-item:last-child {
	border-bottom: none;
}

.blockchain-label {
	font-weight: 500;
	color: #666;
}

.blockchain-value {
	color: #1B1B1B;
	font-family: monospace;
	word-break: break-all;
}

.timeline {
	position: relative;
	padding-left: 40px;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #e0e0e0;
}

.timeline-item {
	position: relative;
	margin-bottom: 30px;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: -35px;
	top: 5px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #1B1B1B;
	border: 3px solid white;
	box-shadow: 0 0 0 2px #1B1B1B;
}

.timeline-date {
	font-size: 0.85rem;
	color: #999;
	margin-bottom: 5px;
}

.timeline-action {
	font-weight: 500;
	color: #1B1B1B;
	margin-bottom: 5px;
}

.timeline-details {
	color: #666;
	font-size: 0.9rem;
}

.certificate-number {
	font-family: monospace;
	font-size: 1.2rem;
	color: #1B1B1B;
	background: #f0f0f0;
	padding: 10px 15px;
	border-radius: 4px;
	display: inline-block;
	margin-top: 10px;
}

/* ==========================================================
   BLOC 4 — CONNEXION / IDENTIFICATION
   ========================================================== */

/* Styles pour la page de connexion */
.login-container {
	max-width: 500px;
	margin: 60px auto;
	background: white;
	border-radius: 5px;
	padding: 50px 40px;
	/*box-shadow: 0 4px 20px rgba(0,0,0,0.1);*/
}

.form-group-login {
	margin-bottom: 25px;
}

.form-group-login label {
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
	color: #333;
	font-size: 0.95rem;
}

.form-group-login input {
	width: 100%;
	padding: 14px 16px;
	border: .5px solid #e0e0e0;
	border-radius: 3px;
	font-size: 1rem;
	font-family: inherit;
	transition: all 0.3s ease;
}

.form-group-login input:focus {
	outline: none;
	border-color: #1B1B1B;
	box-shadow: 0 0 0 3px rgba(27, 27, 27, 0.1);
}

.password-toggle {
	position: relative;
}

.password-toggle input {
	padding-right: 50px;
}

.toggle-password {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #666;
	font-size: 0.9rem;
	padding: 5px;
}

.toggle-password:hover {
	color: #1B1B1B;
}

.remember-forgot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	font-size: 0.9rem;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 8px;
}

.remember-me input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.forgot-link {
	color: #1B1B1B;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.forgot-link:hover {
	opacity: 0.7;
	text-decoration: underline;
}

.btn-login {
	width: 100%;
	padding: 16px;
	background: #1B1B1B;
	color: white;
	border: none;
	border-radius: 3px;
	font-size: 1.1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-login:hover {
	background: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

.divider {
	text-align: center;
	margin: 30px 0;
	position: relative;
}

.divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #e0e0e0;
}

.divider span {
	background: white;
	padding: 0 15px;
	position: relative;
	color: #666;
	font-size: 0.9rem;
}

.create-account {
	text-align: center;
	margin-top: 25px;
}

.create-account p {
	color: #666;
	margin-bottom: 15px;
}

.btn-create {
	display: inline-block;
	padding: 8px 30px;
	border: .5px solid #1B1B1B;
	background: white;
	color: #1B1B1B;
	border-radius:3px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-create:hover {
	background: #1B1B1B;
	color: white;
}

.alert-error {
	background: #fee;
	border-left: 4px solid #e74c3c;
	padding: 15px;
	margin-bottom: 25px;
	border-radius: 4px;
	color: #c0392b;
	display: none;
}

.alert-error.show {
	display: block;
}

/* ==========================================================
   BLOC 5 — DASHBOARD INDEX (reçu tel quel)
   ========================================================== */

.dashboard {
	display: flex;
	gap: 40px;
	margin: 10% auto;
}

/* === COLONNE BOUTONS === */
.dashboard-actions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	width: 420px;
}

.dash-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	height: 180px;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	text-decoration: none;
	color: #333;

	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-btn img {
	width: 48px;
	height: 48px;
	margin-bottom: 15px;
	opacity: 0.7;
}

.dash-btn span {
	font-size: 16px;
	text-align: center;
}

.dash-btn:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* === COLONNE DROITE === */
.dashboard-panels {
	display: flex;
	flex-direction: column;
	gap: 30px;
	flex: 1;
}

.dash-panel {
	height: 180px;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.dashboard-solde {
	width: 80%;
	margin: 20px 10%;
	text-align: center;
}

.btn-achat{
	background-color: #000;
	color:#fff;
	padding:5px 10px;
	cursor: pointer;
	font-size:85%;
	border-radius:3px;
}

/* ==========================================================
   BLOC 6 — MES FORFAITS / HISTORIQUE
   ========================================================== */

.forfaits-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.alert {
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.alert-success {
	background: #d4edda;
	border-left: 4px solid #28a745;
	color: #155724;
}

.alert-error {
	background: #f8d7da;
	border-left: 4px solid #e74c3c;
	color: #721c24;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.stat-card {
	background: white;
	padding: 10px 25px;
	border-radius: 3px;
	border:.5px #000 solid;
	/* box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
	text-align: center;
}

.stat-card.primary {
	background: #FFF;
	color: #000;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	/*margin: 10px 0;*/
}

.stat-label {
	font-size: 0.9rem;
	opacity: 0.8;
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.btn {
	padding: 12px 25px;
	background: #1B1B1B;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 500;
	transition: opacity 0.3s ease;
}

.btn:hover {
	opacity: 0.8;
}

.timeline {
	background: white;
	/* border-radius: 8px;*/
	padding: 30px;
	/*   box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
	width:80%;
	margin:0 10%;
}

.timeline-item {
	display: flex;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
	border-bottom: none;
}

.timeline-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-right: 20px;
	flex-shrink: 0;
}

.timeline-icon.credit {
	background:#3c404c;
	color: #FFF;
}

.timeline-icon.debit {
	background: #fff3cd;
	color: #FFF;
}

.timeline-content {
	flex: 1;
}

.timeline-date {
	font-size: 0.85rem;
	color: #999;
	margin-bottom: 5px;
}

.timeline-title {
	font-weight: 500;
	color: #1B1B1B;
	margin-bottom: 5px;
}

.timeline-details {
	font-size: 0.9rem;
	color: #666;
}

.timeline-amount {
	font-size: 1.2rem;
	font-weight: bold;
	text-align: right;
}

.timeline-amount.credit {
	color: #27ae60;
}

.timeline-amount.debit {
	color: #f39c12;
}

.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}

.empty-state-icon {
	font-size: 4rem;
	margin-bottom: 20px;
}

/* ==========================================================
   BLOC 7 — MES ŒUVRES
   ========================================================== */

.oeuvres-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 30px;
}

.oeuvre-card {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s ease;
}

.oeuvre-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.oeuvre-image {
	width: 100%;
	height: 250px;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	overflow: hidden;
}

.oeuvre-content {
	padding: 20px;
}

.oeuvre-title {
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 10px;
	color: #1B1B1B;
}

.oeuvre-info {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 5px;
}

.oeuvre-status {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	margin-top: 10px;
}

.status-en_attente {
	background: #fff3cd;
	color: #856404;
}

.status-certifie {
	background: #d4edda;
	color: #155724;
}

.status-rejete {
	background: #f8d7da;
	color: #721c24;
}

.oeuvre-actions {
	margin-top: 15px;
	display: flex;
	gap: 10px;
}

.btn-small {
	padding: 8px 15px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
	cursor: pointer;
	border: none;
	transition: opacity 0.3s ease;
}

.btn-primary {
	background: #1B1B1B;
	color: white;
}

.btn-secondary {
	background: white;
	color: #1B1B1B;
	border: 1px solid #1B1B1B;
}

.btn-small:hover {
	opacity: 0.8;
}

.empty-state {
	text-align: center;
	padding: 80px 20px;
	background: white;
	border-radius: 8px;
	margin-top: 30px;
}

.empty-state h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #666;
}

.stats-bar {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-item {
	flex: 1;
	text-align: center;
	padding: 15px;
}

.stat-number {
	font-size: 2rem;
	font-weight: bold;
	color: #1B1B1B;
}

.stat-label {
	color: #666;
	font-size: 0.9rem;
	margin-top: 5px;
}

/* ==========================================================
   RESPONSIVE — regroupé par breakpoint
   (contenu strictement identique à tes blocs)
   ========================================================== */

@media (max-width: 768px) {
	/* bloc 1 */
	.form-row,
	.form-row-3 {
		grid-template-columns: 1fr;
	}

	.form-container {
		padding: 25px;
	}

	/* bloc 1 (dimensions) */
	.form-dimensions {
		grid-template-columns: 1fr;
	}

	/* bloc 3 */
	.detail-grid {
		grid-template-columns: 1fr;
	}

	/* bloc 5 */
	.dashboard {
		flex-direction: column;
	}

	.dashboard-actions {
		width: 100%;
		grid-template-columns: 1fr;
	}

	.dashboard-panels {
		width: 100%;
	}

	.dash-panel {
		height: 160px;
	}
}

/* ==========================================================
   BLOC 8 - mon compte
   ========================================================== */


.compte-wrapper {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.compte-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 35px;
}

.compte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.compte-card {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
}

.compte-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.compte-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

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

.compte-label {
    color: #555;
}

.compte-value {
    font-weight: 500;
    text-align: right;
}

.compte-actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.compte-actions a {
    border: 1px solid #000;
    padding: 8px 16px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
}

.compte-actions a:hover {
    background: #000;
    color: #fff;
}


   /* ==========================================================
   page cofnfirm ins
   ========================================================== */

.confirmation-container {
			background: white;
			border-radius: 8px;
			padding: 60px 40px;
			box-shadow: 0 2px 10px rgba(0,0,0,0.1);
			margin: 40px auto;
			max-width: 800px;
			text-align: center;
		}
		
		
		
		.confirmation-container h1 {
			font-size: 2.5rem;
			font-weight: 300;
			color: #1B1B1B;
			margin-bottom: 20px;
		}
		
		.confirmation-container p {
			font-size: 1.1rem;
			color: #000;
			line-height: 1.8;
			margin-bottom: 15px;
		}
		
		.next-steps {
			background: #f8f9fa;
			border-radius: 8px;
			padding: 30px;
			margin: 40px 0;
			text-align: left;
		}
		
		.next-steps h2 {
			font-size: 1.5rem;
			font-weight: 500;
			color: #1B1B1B;
			margin-bottom: 20px;
			text-align: center;
		}
		
		.step-item {
			display: flex;
			align-items: flex-start;
			margin-bottom: 20px;
			padding: 15px;
			background: white;
			border-radius: 6px;
		}
		
		.step-number {
			display: inline-block;
			background: #1B1B1B;
			color: white;
			width: 35px;
			height: 35px;
			border-radius: 50%;
			text-align: center;
			line-height: 35px;
			font-weight: bold;
			margin-right: 15px;
			flex-shrink: 0;
		}
		
		.step-content h3 {
			font-size: 1.1rem;
			font-weight: 500;
			color: #1B1B1B;
			margin-bottom: 5px;
		}
		
		.step-content p {
			font-size: 0.95rem;
			color: #666;
			margin: 0;
		}
		
		.cta-buttons {
			display: flex;
			gap: 20px;
			justify-content: center;
			margin-top: 40px;
			flex-wrap: wrap;
		}

		
		.btn-secondary-certif {
			background: white;
			color: #1B1B1B;
			padding: 14px 40px;
			border: 2px solid #1B1B1B;
			border-radius: 4px;
			font-size: 1.1rem;
			text-decoration: none;
			display: inline-block;
			transition: all 0.3s ease;
		}
		
		.btn-secondary-certif:hover {
			background: #1B1B1B;
			color: white;
		}
		
		.info-box {
			background: #e3f2fd;
			border-left: 4px solid #2196f3;
			padding: 20px;
			margin: 30px 0;
			border-radius: 4px;
			text-align: left;
		}
		
		.info-box strong {
			color: #1976d2;
		}

@media (max-width: 576px) {
	.login-container {
		margin: 30px 15px;
		padding: 35px 25px;
	}

	.login-title {
		font-size: 1.6rem;
	}

	.remember-forgot {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
	 .compte-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .compte-value {
        text-align: left;
    }
	
	.confirmation-container {
				padding: 40px 25px;
			}
			
			.confirmation-container h1 {
				font-size: 2rem;
			}
			
			.cta-buttons {
				flex-direction: column;
			}
			
	
			.btn-secondary-certif {
				width: 100%;
				text-align: center;
			}
}


@media (max-width: 480px) {
  #photosThumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}
