/* Hero section avec fond spécifique à la page membres */
.header-section {
	margin-bottom: 0 !important;	
	background: url('../img/membre.webp') center center / cover no-repeat;
	padding: 1.5rem 0 1rem 0;
}

/* Fallback si l'image n'existe pas */
.header-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
	z-index: -1;
}

.membre-container {
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 15px;
	padding: 15px;
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	border: 2px solid transparent;
}

.membre-container:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.15);
	border-color: var(--primary-color);
}

.membre-photo {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}

.membre-container:hover .membre-photo {
	transform: scale(1.05);
}

.membre-nom {
	color: #333;
	font-weight: 600;
	font-size: 1rem;
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}

.badge-custom {
	font-size: 0.75rem;
	padding: 0.4em 0.8em;
	border-radius: 12px;
	margin: 0.2rem;
	font-weight: 500;
}

.stats-badge {
	background: rgba(255,255,255,0.2);
	color: white;
	font-size: 0.85rem;
	padding: 0.5em 1em;
	border-radius: 25px;
	margin: 0.3rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.3);
	transition: all 0.3s ease;
}

.stats-badge:hover {
	background: rgba(255,255,255,0.3);
	transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.header-section {
		padding: 60px 0 40px 0;
		min-height: 300px;
	}
	
	.membre-photo {
		width: 120px;
		height: 120px;
	}
	
	.stats-badge {
		font-size: 0.8rem;
		padding: 0.4em 0.8em;
	}
}

/* Styles spécifiques à la page profil */

.settings-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(128, 128, 128, 0.3);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition: all 0.2s ease;
	cursor: pointer;
}

.settings-btn:hover {
	background: rgba(128, 128, 128, 0.5);
	backdrop-filter: blur(15px);
	transform: scale(1.05);
	color: white;
}

.profile-info {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.profile-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255,255,255,0.2);
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.profile-name-container {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.profile-details h2 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 400;
	color: white;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
	letter-spacing: 0.5px;
}

.profile-separator {
	height: 1px;
	background: rgba(255,255,255,0.3);
	margin: 1.5rem 0;
	border-radius: 0;
}

.about-section h4 {
	color: white;
	font-weight: 600;
	margin-bottom: 0.8rem;
	font-size: 1.2rem;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.about-text {
	color: rgba(255,255,255,0.9);
	font-size: 0.8rem;
	line-height: 1.6;
	margin: 0;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* Bulles statistiques */
.stats-container {
	max-width: 1200px;
	margin: 1.5rem auto;
	padding: 0 2rem;
}

.stats-bubbles {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Version Bootstrap pour mobile */
@media (max-width: 767px) {
	.stats-bubbles {
		display: block;
	}
	
	.stats-bubbles .row {
		margin: 0;
	}
	
	.stats-bubbles .col-6 {
		padding: 0.5rem;
	}
}

.stat-bubble {
	border: none;
	border-radius: 15px;
	padding: 1rem 2rem;
	text-align: center;
	min-width: 180px;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
}

.stat-bubble:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	color: inherit;
}

.stat-bubble .icon {
	font-size: 2rem;
	color: white;
	flex-shrink: 0;
}

.stat-bubble .content {
	text-align: left;
}

.stat-bubble .number {
	font-size: 1.5rem;
	font-weight: 700;
	color: white;
	margin-bottom: 0.2rem;
	line-height: 1;
}

.stat-bubble .label {
	font-size: 0.85rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1;
}

.stat-bubble.avis {
	background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
}

.stat-bubble.avis:hover {
	background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
}

.stat-bubble.favoris {
	background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.stat-bubble.favoris:hover {
	background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

.form-section {
	background: white;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-section h3 {
	color: #242424;
	font-weight: 600;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid #f8f9fa;
	padding-bottom: 0.8rem;
}

.form-control {
	border: 2px solid #e9ecef;
	border-radius: 12px;
	padding: 0.75rem 1rem;
	transition: all 0.2s ease;
}

.form-control:focus {
	border-color: #242424;
	box-shadow: 0 0 0 3px rgba(36, 36, 36, 0.1);
}

.btn-primary {
	background: linear-gradient(135deg, #242424 0%, #1a1a1a 100%);
	border: none;
	border-radius: 12px;
	padding: 0.8rem 2rem;
	font-weight: 600;
	transition: all 0.2s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(36, 36, 36, 0.3);
}

@media (max-width: 768px) {
	.stats-bubbles {
		gap: 0.8rem;
	}
	
	.stat-bubble {
		min-width: auto;
		width: 100%;
		padding: 0.8rem 1rem;
		gap: 0.8rem;
	}
	
	.stat-bubble .icon {
		font-size: 1.8rem;
	}
	
	.stat-bubble .number {
		font-size: 1.3rem;
	}
	
	.stat-bubble .label {
		font-size: 0.8rem;
	}
} 

/* Correction couleur bouton */
.btn-connexion {
	background-color: #242424 !important;
	border-color: #242424 !important;
	color: white !important;
}

.btn-connexion:hover {
	background-color: #1a1a1a !important;
	border-color: #1a1a1a !important;
	color: white !important;
}

/* Ajustements pour la nouvelle structure */
.content {
	position: relative;
	z-index: 2;
}

/* Nouvelles bulles pour les points et récompenses */
.stat-bubble.points {
	background: linear-gradient(135deg, #9c27b0 0%, #8e24aa 100%);
}

.stat-bubble.points:hover {
	background: linear-gradient(135deg, #8e24aa 0%, #7b1fa2 100%);
}

.stat-bubble.recompenses {
	background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.stat-bubble.recompenses:hover {
	background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
}

/* Styles pour les récompenses dans la page membre */
.recompense-card {
	background: white;
	border-radius: 15px;
	padding: 1rem;
	text-align: center;
	box-shadow: 0 3px 15px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.recompense-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.recompense-card .recompense-icon {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

.recompense-card .recompense-nom {
	font-weight: 600;
	margin-bottom: 0.3rem;
	color: #333;
}

.recompense-card .recompense-date {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 0.3rem;
}

.recompense-card .recompense-points {
	font-size: 0.85rem;
	color: #f39c12;
	font-weight: 500;
}

/* Styles pour les badges gastronautes avec images rondes */
.badge-gastronaute {
	display: inline-block;
	text-align: center;
	margin: 0.25rem;
}

.badge-image-rond {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	display: block;
	margin: 0 auto 0.25rem auto;
}

.badge-image-rond:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.badge-text {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 0.25rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Variante plus petite pour les contextes compacts */
.badge-gastronaute.small .badge-image-rond {
	width: 30px;
	height: 30px;
}

.badge-gastronaute.small .badge-text {
	font-size: 0.65rem;
}

/* Variante plus grande pour les profils */
.badge-gastronaute.large .badge-image-rond {
	width: 60px;
	height: 60px;
}

.badge-gastronaute.large .badge-text {
	font-size: 0.9rem;
}

/* Styles pour les récompenses avec tooltips */
.recompense-image-container {
	transition: all 0.3s ease;
	padding: 0.5rem;
}

.recompense-image-container:hover {
	transform: translateY(-5px);
}

.recompense-image-container:hover .recompense-image-rond {
	transform: scale(1.1);
	box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

.recompense-image-rond {
	transition: all 0.3s ease;
}

.recompense-title {
	transition: all 0.3s ease;
}

.recompense-image-container:hover .recompense-title {
	transform: scale(1.05);
}

/* Personnalisation des tooltips Bootstrap */
.tooltip-inner {
	background-color: rgba(0, 0, 0, 0.9) !important;
	border-radius: 8px !important;
	padding: 10px !important;
	max-width: 250px !important;
	text-align: center !important;
	font-size: 0.85rem !important;
}

.tooltip .tooltip-arrow {
	opacity: 0.9 !important;
}

/* Styles pour les images dans les récompenses */
.recompense-image-rond img {
	transition: all 0.3s ease;
}

.recompense-image-container:hover .recompense-image-rond img {
	transform: scale(1.1);
	filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}

/* Styles pour les images directes (sans div rond) */
.recompense-image-container img {
	transition: all 0.3s ease;
}

.recompense-image-container:hover img {
	transform: scale(1.1);
	filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}

/* Assurer que les images restent bien centrées */
.recompense-image-rond {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Style spécifique pour les images de récompenses dans les cards */
.recompense-card img {
	transition: all 0.3s ease;
}

.recompense-card:hover img {
	transform: scale(1.1);
	filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}