/* css utilisé pour  info produits d'épargne */
.content-section {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f4f4f4;
	border-radius: 5px;
}

.hbi-money-purse,
.calendar,
.avantage {
	background-size: cover;
	display: inline-block;
	width: 110px;
	height: 120px;
}

.horizontal-list {
	list-style-type: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}

.horizontal-list li {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 10px;
	padding: 10px;
	border-right: 1px solid #ccc;
	text-align: center;
}

.horizontal-list li:last-child {
	border-right: none;
}

.horizontal-list div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (max-width: 768px) {
	.horizontal-list {
		flex-direction: column !important;
	}

	.horizontal-list li {
		border-right: none;
		border-bottom: 1px solid #ccc;
	}

	.horizontal-list li:last-child {
		border-bottom: none;
	}
}

/* css utilisé pour simulateur dat  */
.custom-card-panel {
	border: 2px solid white !important;
	border-radius: 15px !important;
	margin: 10px !important;
	padding: 5px 0 !important;
}

.box-shadowed {
	box-shadow: rgba(14, 30, 37, 0.12) 0 2px 4px 0,
		rgba(14, 30, 37, 0.32) 0 2px 16px 0 !important;
}

.custom-h3 {
	color: white !important;
	font-weight: bold;
	font-size: x-large;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
		"Lucida Sans", Arial, sans-serif;
	background-color: #831717;
	padding: 7px;
	/* border-radius: 5px 5px 0 0; */
	text-align: center;
}

.ui-button-outlined {
	color: #283a5ae6;
	font-weight: bold;
	border: 1px solid #283a5ae6;
	background: none;
	padding: 0.5em 1em;
	border-radius: 4px;
	text-align: center;
	display: inline-block;
	text-decoration: none;
}

/* style pour les card  */
.cardSherpa {
	border: 2px solid var(--color-8);
	border-radius: 15px;
	padding: 2rem 0;
	margin: 10px;
	box-sizing: border-box;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.cardSherpa h3 {
	margin-bottom: 0.5rem;
}

.cardSherpa img {
	height: 160px;
	/* fixe la taille des images */


	margin: 0;
}

.cardSherpa ul {
	padding-left: 1.2rem;
	text-align: left;
	margin-top: 0.5rem;
}

.cardSherpa ul li {
	word-break: break-word;
	overflow-wrap: break-word;
	margin-bottom: 0.3rem;
}

.cardSherpa p {
	margin: 0.5rem 0;
	text-align: center;
	flex-grow: 0;
}

/* style pour rendre responsif img dans card  */
.responsive-img {
	width: 90%;
	max-width: 100%;
	height: auto;
}

/* style pour rib */
.rib-dialog-panel.ui-dialog {
	border-radius: 12px !important;
	overflow: hidden !important;
}

/* Header */
.rib-dialog-panel .ui-dialog-titlebar {
	/* background: #f8f9fa !important; */
	border-top-left-radius: 12px !important;
	border-top-right-radius: 12px !important;
	padding: 15px 20px !important;
	border: none !important;
	text-align: center;
}

/* Contenu */
.rib-dialog-panel .ui-dialog-content {
	border-left: 1px solid #e9ecef !important;
	border-right: 1px solid #e9ecef !important;
	padding: 20px !important;
}

/* Footer */
.rib-dialog-panel .ui-dialog-footer {
	background: #f8f9fa !important;
	border-bottom-left-radius: 12px !important;
	border-bottom-right-radius: 12px !important;
	padding: 15px !important;
	border: none !important;
}

/* Image du header */
.rib-profile-photo {
	display: inline-block;
	width: 40px;
	height: 40px;
	vertical-align: middle;
	margin-right: 15px;
}

.profile-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* Titre */
.rib-title {
	display: inline-block;
	margin: 0;
	vertical-align: middle;
}

.centered-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
}

.stack-primary {
	font-weight: bold;
}

.stack-secondary {
	margin-top: 5px;
	font-size: 0.9em;
	color: #666;
}

/* Pour éviter le débordement sur mobile */
@media (max-width: 768px) {
	.flex-nowrap {
		flex-wrap: wrap !important;
	}

	.col-auto {
		width: 50%;
		margin-bottom: 15px;
	}
}