/* 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: 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;
}

.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;
	}
}

/* Style page de fermeture de compte */
.closure-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 20px;
}

.closure-header {
	margin-bottom: 50px;
}

.content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.closure-card {
	background: white;
	border-radius: 12px;
	border: 2px solid #e8e8e8;
	padding: 35px;
	transition: all 0.3s ease;
}

.closure-card:hover {
	border-color: #1a1a2e;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-title-closure {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.card-title-icon {
	font-size: 1.5rem;
}

.risk-section {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.risk-section h3 {
	color: #856404;
	font-size: 0.95rem;
	margin-bottom: 8px;
	font-weight: 600;
}

.risk-section p {
	color: #856404;
	font-size: 0.9rem;
	line-height: 1.5;
}

.info-box-close-account {
	background: #e7f3ff;
	border-left: 4px solid #0066cc;
	padding: 18px;
	border-radius: 8px;
	margin-bottom: 25px;
}

.info-box-close-account p {
	color: #003d99;
	font-size: 0.95rem;
	line-height: 1.6;
}

.timeline {
	position: relative;
	padding-left: 30px;
	margin-bottom: 30px;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #831717;
}

.timeline-item {
	margin-bottom: 25px;
	position: relative;
}

.timeline-item::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 5px;
	width: 12px;
	height: 12px;
	background: #831717;
	border-radius: 50%;
	border: 3px solid white;
	box-shadow: 0 0 0 3px #831717;
}

.timeline-item h4 {
	color: #1a1a2e;
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 5px;
}

.timeline-item p {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
}

.benefits-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
	padding: 0;
}

.benefits-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 3px solid #831717;
	transition: all 0.3s ease;
}

.benefits-list li:hover {
	background: #f0f4ff;
	transform: translateX(5px);
}

.list-icon {
	color: #831717;
	font-weight: bold;
	font-size: 1.2rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.list-text {
	font-weight: 500;
	font-size: 0.95rem;
}

.highlights {
	background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
	border-radius: 12px;
	border: 2px solid #cce5ff;
	padding: 30px;
}

.highlights h3 {
	color: #1a1a2e;
	font-size: 1.1rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.highlight-item {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
}

.highlight-item:last-child {
	margin-bottom: 0;
}

.highlight-icon {
	color: #0066cc;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.highlight-text {
	color: #333;
	font-size: 0.95rem;
	line-height: 1.5;
}

.action-buttons {
	display: flex;
	gap: 15px;
	margin-top: 35px;
}

@media (max-width: 768px) {
	.content-grid {
		grid-template-columns: 1fr;
	}

	.action-buttons {
		flex-direction: column;
	}
}

/* Style page de fermeture de compte */
.closure-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 20px;
}

.closure-header {
	margin-bottom: 50px;
}

.content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.closure-card {
	background: white;
	border-radius: 12px;
	border: 2px solid #e8e8e8;
	padding: 35px;
	transition: all 0.3s ease;
}

.closure-card:hover {
	border-color: #1a1a2e;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-title-closure {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.card-title-icon {
	font-size: 1.5rem;
}

.risk-section {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.risk-section h3 {
	color: #856404;
	font-size: 0.95rem;
	margin-bottom: 8px;
	font-weight: 600;
}

.risk-section p {
	color: #856404;
	font-size: 0.9rem;
	line-height: 1.5;
}

.info-box-close-account {
	background: #e7f3ff;
	border-left: 4px solid #0066cc;
	padding: 18px;
	border-radius: 8px;
	margin-bottom: 25px;
}

.info-box-close-account p {
	color: #003d99;
	font-size: 0.95rem;
	line-height: 1.6;
}

.timeline {
	position: relative;
	padding-left: 30px;
	margin-bottom: 30px;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #831717;
}

.timeline-item {
	margin-bottom: 25px;
	position: relative;
}

.timeline-item::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 5px;
	width: 12px;
	height: 12px;
	background: #831717;
	border-radius: 50%;
	border: 3px solid white;
	box-shadow: 0 0 0 3px #831717;
}

.timeline-item h4 {
	color: #1a1a2e;
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 5px;
}

.timeline-item p {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
}

.benefits-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
	padding: 0;
}

.benefits-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 3px solid #831717;
	transition: all 0.3s ease;
}

.benefits-list li:hover {
	background: #f0f4ff;
	transform: translateX(5px);
}

.list-icon {
	color: #831717;
	font-weight: bold;
	font-size: 1.2rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.list-text {
	font-weight: 500;
	font-size: 0.95rem;
}

.highlights {
	background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
	border-radius: 12px;
	border: 2px solid #cce5ff;
	padding: 30px;
}

.highlights h3 {
	color: #1a1a2e;
	font-size: 1.1rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.highlight-item {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
}

.highlight-item:last-child {
	margin-bottom: 0;
}

.highlight-icon {
	color: #0066cc;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.highlight-text {
	color: #333;
	font-size: 0.95rem;
	line-height: 1.5;
}

.action-buttons {
	display: flex;
	gap: 15px;
	margin-top: 35px;
}

@media (max-width: 768px) {
	.content-grid {
		grid-template-columns: 1fr;
	}

	.action-buttons {
		flex-direction: column;
	}
}
