/* =========================================================
   ISKA Québec — TEXTES PMPRO STABLES FINAL
========================================================= */

/* Base */
.pmpro p,
.pmpro li,
.pmpro td,
.pmpro th,
.pmpro_account p,
.pmpro_account li,
.pmpro_account td,
.pmpro_account th {
	line-height: 1.7;
}

/* Sections foncées */
.pmpro_account,
.pmpro_checkout,
.pmpro_login_wrap,
.pmpro_invoice_wrap,
.pmpro_section {
	color: #ffffff !important;
}

/* Paragraphes et textes */
.pmpro_account p,
.pmpro_account li,
.pmpro_account td,
.pmpro_account th,
.pmpro_checkout p,
.pmpro_checkout li,
.pmpro_checkout td,
.pmpro_checkout th,
.pmpro_login_wrap p,
.pmpro_login_wrap li,
.pmpro_invoice_wrap p,
.pmpro_invoice_wrap li,
.pmpro_section p,
.pmpro_section li {
	color: rgba(255,255,255,.82) !important;
}

/* Titres */
.pmpro_account h1,
.pmpro_account h2,
.pmpro_account h3,
.pmpro_checkout h1,
.pmpro_checkout h2,
.pmpro_checkout h3,
.pmpro_login_wrap h1,
.pmpro_login_wrap h2,
.pmpro_login_wrap h3,
.pmpro_section h1,
.pmpro_section h2,
.pmpro_section h3 {
	color: #ffffff !important;
}

/* Cartes internes */
.pmpro_box,
.pmpro_card,
.pmpro_section {
	color: #ffffff !important;
}

/* Inputs */
.pmpro input,
.pmpro textarea,
.pmpro select {
	color: #ffffff !important;
}

/* Placeholders */
.pmpro input::placeholder,
.pmpro textarea::placeholder {
	color: rgba(255,255,255,.52) !important;
}

/* Tableaux */
.pmpro table th {
	color: #d4af37 !important;
}

.pmpro table td {
	color: rgba(255,255,255,.84) !important;
}

/* Liens */
.pmpro a,
.pmpro_account a,
.pmpro_checkout a,
.pmpro_login_wrap a,
.pmpro_invoice_wrap a {
	color: #f4d77a !important;
}

.pmpro a:hover,
.pmpro_account a:hover,
.pmpro_checkout a:hover,
.pmpro_login_wrap a:hover,
.pmpro_invoice_wrap a:hover {
	color: #ffffff !important;
}

/* Boutons */
.pmpro_btn,
.pmpro button,
.pmpro input[type="submit"] {
	color: #050505 !important;
}
/* =========================================================
   ISKA Québec — FIX FINAL PAGE COMPTE D’ADHÉRENT
========================================================= */

/* Corrigé : ne plus rendre tous les fonds de pages transparents globalement. */
body .entry-content .pmpro,
body .bt_bb_wrapper .pmpro {
	position: relative;
}

/* Conteneur central de la page compte */
body .bt_bb_wrapper .pmpro,
body .bt_bb_wrapper .pmpro_account,
body .bt_bb_wrapper .pmpro_section,
body .entry-content .pmpro,
body .entry-content .pmpro_account,
body .entry-content .pmpro_section {
	background:
		radial-gradient(circle at top left, rgba(212,175,55,.14), transparent 34%),
		linear-gradient(145deg, #050505, #111111) !important;
	color: #ffffff !important;
	border: 1px solid rgba(212,175,55,.28) !important;
	border-radius: 28px !important;
	box-shadow: 0 24px 70px rgba(0,0,0,.42) !important;
}

/* Cartes PMPro */
body .entry-content .pmpro_card,
body .entry-content .pmpro_box,
body .bt_bb_wrapper .pmpro_card,
body .bt_bb_wrapper .pmpro_box {
	background: rgba(255,255,255,.055) !important;
	border: 1px solid rgba(212,175,55,.20) !important;
	border-radius: 22px !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

/* Tous les textes utiles */
body .entry-content .pmpro,
body .entry-content .pmpro *,
body .bt_bb_wrapper .pmpro,
body .bt_bb_wrapper .pmpro * {
	color: rgba(255,255,255,.86) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Titres */
body .entry-content .pmpro h1,
body .entry-content .pmpro h2,
body .entry-content .pmpro h3,
body .bt_bb_wrapper .pmpro h1,
body .bt_bb_wrapper .pmpro h2,
body .bt_bb_wrapper .pmpro h3 {
	color: #ffffff !important;
}

/* Liens */
body .entry-content .pmpro a,
body .bt_bb_wrapper .pmpro a {
	color: #f4d77a !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

/* Boutons/liens d’action */
body .entry-content .pmpro_card_actions a,
body .bt_bb_wrapper .pmpro_card_actions a,
body .entry-content .pmpro a#pmpro_actionlink-profile,
body .entry-content .pmpro a#pmpro_actionlink-change-password,
body .entry-content .pmpro a#pmpro_actionlink-logout {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 6px 8px 6px 0 !important;
	padding: 12px 18px !important;
	border-radius: 999px !important;
	background: rgba(212,175,55,.12) !important;
	border: 1px solid rgba(212,175,55,.32) !important;
	color: #f4d77a !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
}

body .entry-content .pmpro_card_actions a:hover,
body .bt_bb_wrapper .pmpro_card_actions a:hover,
body .entry-content .pmpro a#pmpro_actionlink-profile:hover,
body .entry-content .pmpro a#pmpro_actionlink-change-password:hover,
body .entry-content .pmpro a#pmpro_actionlink-logout:hover {
	background: linear-gradient(135deg,#d4af37,#f4d77a) !important;
	color: #050505 !important;
}

/* Avatar */
body .entry-content .pmpro img.avatar,
body .bt_bb_wrapper .pmpro img.avatar {
	width: 78px !important;
	height: 78px !important;
	border-radius: 50% !important;
	border: 3px solid rgba(212,175,55,.70) !important;
	box-shadow: 0 12px 32px rgba(0,0,0,.40) !important;
}

/* Inputs si présents */
body .entry-content .pmpro input,
body .entry-content .pmpro textarea,
body .entry-content .pmpro select,
body .bt_bb_wrapper .pmpro input,
body .bt_bb_wrapper .pmpro textarea,
body .bt_bb_wrapper .pmpro select {
	background: rgba(255,255,255,.08) !important;
	color: #ffffff !important;
	border: 1px solid rgba(212,175,55,.30) !important;
	border-radius: 14px !important;
}
/* =========================================================
   ISKA Québec — COMPTE ADHÉRENT FINAL POLISH
========================================================= */

/* Fond général limité aux blocs PMPro seulement : évite de casser le design global du site. */
body .entry-content .pmpro,
body .bt_bb_wrapper .pmpro {
	background-clip: padding-box !important;
}

/* Sections titres : Profil / Mes adhésions / Commandes — scope PMPro seulement */
body .bt_bb_wrapper .pmpro h1,
body .bt_bb_wrapper .pmpro h2,
body .bt_bb_wrapper .pmpro h3,
body .entry-content .pmpro h1,
body .entry-content .pmpro h2,
body .entry-content .pmpro h3 {
	color: #ffffff !important;
}

/* Conteneur PMPro */
body .pmpro,
body .pmpro_account,
body .pmpro_section {
	background:
		radial-gradient(circle at top left, rgba(212,175,55,.12), transparent 34%),
		linear-gradient(145deg, #050505, #111111) !important;
	border: 1px solid rgba(212,175,55,.28) !important;
	border-radius: 28px !important;
	box-shadow: 0 24px 70px rgba(0,0,0,.42) !important;
	color: #ffffff !important;
}

/* Titres internes PMPro */
body .pmpro h1,
body .pmpro h2,
body .pmpro h3,
body .pmpro_account h1,
body .pmpro_account h2,
body .pmpro_account h3,
body .pmpro_section h1,
body .pmpro_section h2,
body .pmpro_section h3 {
	color: #ffffff !important;
}

/* Cartes internes */
body .pmpro_card,
body .pmpro_box,
body .pmpro_section_content {
	background: rgba(255,255,255,.045) !important;
	border: 1px solid rgba(212,175,55,.18) !important;
	border-radius: 22px !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

/* Texte des cartes */
body .pmpro_card *,
body .pmpro_box *,
body .pmpro_section_content * {
	color: rgba(255,255,255,.86) !important;
}

/* Liens d’action */
body .pmpro_card_actions a,
body .pmpro a#pmpro_actionlink-profile,
body .pmpro a#pmpro_actionlink-change-password,
body .pmpro a#pmpro_actionlink-logout,
body .pmpro a#pmpro_actionlink-cancel {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 6px 8px 6px 0 !important;
	padding: 12px 18px !important;
	border-radius: 999px !important;
	background: rgba(212,175,55,.12) !important;
	border: 1px solid rgba(212,175,55,.32) !important;
	color: #f4d77a !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
	text-decoration: none !important;
}

body .pmpro_card_actions a:hover,
body .pmpro a#pmpro_actionlink-profile:hover,
body .pmpro a#pmpro_actionlink-change-password:hover,
body .pmpro a#pmpro_actionlink-logout:hover,
body .pmpro a#pmpro_actionlink-cancel:hover {
	background: linear-gradient(135deg,#d4af37,#f4d77a) !important;
	color: #050505 !important;
}

/* Avatar */
body .pmpro img.avatar {
	width: 78px !important;
	height: 78px !important;
	border-radius: 50% !important;
	border: 3px solid rgba(212,175,55,.70) !important;
	box-shadow: 0 12px 32px rgba(0,0,0,.40) !important;
}

/* Table commandes */
body .pmpro table,
body .pmpro_account table,
body .pmpro_invoice_wrap table {
	background: rgba(255,255,255,.04) !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	border: 1px solid rgba(212,175,55,.16) !important;
}

body .pmpro table thead,
body .pmpro table th {
	background: rgba(212,175,55,.12) !important;
	color: #d4af37 !important;
}

body .pmpro table td {
	background: rgba(255,255,255,.025) !important;
	color: rgba(255,255,255,.86) !important;
	border-bottom: 1px solid rgba(212,175,55,.12) !important;
}

/* Status payé */
body .pmpro_tag,
body .pmpro_tag-success {
	background: rgba(34,197,94,.18) !important;
	border: 1px solid rgba(34,197,94,.35) !important;
	color: #8ff5b1 !important;
	border-radius: 999px !important;
	padding: 7px 14px !important;
	font-weight: 900 !important;
}

/* Corriger les grands espacements blancs */
body .pmpro_section {
	margin-top: 28px !important;
	margin-bottom: 38px !important;
	padding: 28px !important;
}

/* Responsive */
@media (max-width: 768px) {
	body .pmpro_section {
		padding: 20px !important;
	}

	body .pmpro_card_actions a {
		width: 100%;
	}
}
/* =========================================================
   ISKA Québec — PAGE MODIFIER MON PROFIL
   URL : /modifier-mon-profil/
========================================================= */

body.page .iska-profile-edit-wrap,
body .iska-profile-edit-wrap {
	max-width: 1180px !important;
	margin: 40px auto 70px !important;
	padding: 42px !important;
	background:
		radial-gradient(circle at top left, rgba(212,175,55,.16), transparent 34%),
		linear-gradient(145deg, #050505, #111111) !important;
	border: 1px solid rgba(212,175,55,.28) !important;
	border-radius: 28px !important;
	box-shadow: 0 28px 80px rgba(0,0,0,.45) !important;
	color: #ffffff !important;
}

body .iska-profile-edit-header {
	text-align: center !important;
	margin-bottom: 38px !important;
}

body .iska-profile-edit-header span {
	display: inline-flex !important;
	margin-bottom: 14px !important;
	padding: 8px 18px !important;
	border-radius: 999px !important;
	background: rgba(212,175,55,.12) !important;
	border: 1px solid rgba(212,175,55,.35) !important;
	color: #d4af37 !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: .12em !important;
}

body .iska-profile-edit-header h2,
body .iska-profile-section-title h3 {
	color: #ffffff !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
}

body .iska-profile-edit-header h2 {
	font-size: clamp(38px, 5vw, 64px) !important;
	line-height: 1 !important;
	margin: 0 0 14px !important;
}

body .iska-profile-edit-header p {
	max-width: 760px !important;
	margin: 0 auto !important;
	color: rgba(255,255,255,.78) !important;
	font-size: 16px !important;
	line-height: 1.75 !important;
}

body .iska-profile-edit-photo {
	display: flex !important;
	align-items: center !important;
	gap: 24px !important;
	margin-bottom: 34px !important;
	padding: 24px !important;
	background: rgba(255,255,255,.05) !important;
	border: 1px solid rgba(212,175,55,.18) !important;
	border-radius: 22px !important;
}

body .iska-profile-edit-photo img,
body .iska-profile-edit-photo-placeholder {
	width: 110px !important;
	height: 110px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	border: 3px solid rgba(212,175,55,.72) !important;
	background: #111 !important;
}

body .iska-profile-edit-photo label,
body .iska-profile-edit-grid label {
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 850 !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
}

body .iska-profile-edit-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 22px !important;
}

body .iska-profile-section-title {
	grid-column: 1 / -1 !important;
	margin: 34px 0 8px !important;
	padding: 16px 18px !important;
	background: rgba(212,175,55,.10) !important;
	border: 1px solid rgba(212,175,55,.28) !important;
	border-radius: 18px !important;
}

body .iska-profile-section-title h3 {
	margin: 0 !important;
	color: #d4af37 !important;
	font-size: 22px !important;
	letter-spacing: .05em !important;
}

body .iska-profile-edit-help {
	display: block !important;
	margin-top: 8px !important;
	color: rgba(255,255,255,.65) !important;
	font-size: 12px !important;
	line-height: 1.55 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

body .iska-profile-edit-grid input,
body .iska-profile-edit-grid select,
body .iska-profile-edit-grid textarea,
body .iska-profile-edit-photo input[type="file"] {
	width: 100% !important;
	min-height: 54px !important;
	margin-top: 8px !important;
	padding: 14px 16px !important;
	background: #ffffff !important;
	color: #111111 !important;
	border: 1px solid rgba(212,175,55,.35) !important;
	border-radius: 14px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	outline: none !important;
}

body .iska-profile-edit-grid textarea {
	min-height: 130px !important;
	resize: vertical !important;
}

body .iska-profile-edit-grid select[multiple] {
	min-height: 180px !important;
}

body .iska-profile-edit-grid input:focus,
body .iska-profile-edit-grid select:focus,
body .iska-profile-edit-grid textarea:focus {
	border-color: #d4af37 !important;
	box-shadow: 0 0 0 4px rgba(212,175,55,.16) !important;
}

body .iska-profile-edit-actions {
	margin-top: 40px !important;
	text-align: center !important;
}

body .iska-profile-edit-actions button,
body .iska-profile-edit-actions input[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 54px !important;
	padding: 0 34px !important;
	background: linear-gradient(135deg,#d4af37,#f4d77a) !important;
	color: #050505 !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 950 !important;
	text-transform: uppercase !important;
	letter-spacing: .08em !important;
	cursor: pointer !important;
	box-shadow: 0 16px 38px rgba(212,175,55,.22) !important;
}

body .iska-profile-edit-actions button:hover,
body .iska-profile-edit-actions input[type="submit"]:hover {
	transform: translateY(-2px) !important;
	filter: brightness(1.05) !important;
}

body .iska-profile-edit-success,
body .iska-profile-edit-error,
body .iska-profile-edit-alert {
	margin: 0 0 25px !important;
	padding: 16px 18px !important;
	border-radius: 16px !important;
	font-weight: 850 !important;
	text-align: center !important;
}

body .iska-profile-edit-success {
	background: rgba(34,197,94,.16) !important;
	border: 1px solid rgba(34,197,94,.35) !important;
	color: #8ff5b1 !important;
}

body .iska-profile-edit-error,
body .iska-profile-edit-alert {
	background: rgba(239,68,68,.14) !important;
	border: 1px solid rgba(239,68,68,.35) !important;
	color: #fecaca !important;
}

@media (max-width: 768px) {
	body .iska-profile-edit-wrap {
		margin: 24px 14px 60px !important;
		padding: 28px 18px !important;
		border-radius: 22px !important;
	}

	body .iska-profile-edit-grid {
		grid-template-columns: 1fr !important;
	}

	body .iska-profile-edit-photo {
		flex-direction: column !important;
		text-align: center !important;
	}

	body .iska-profile-edit-actions button,
	body .iska-profile-edit-actions input[type="submit"] {
		width: 100% !important;
	}
}
/* =========================================================
   ISKA Québec — PAGE PROFIL MEMBRE
========================================================= */

.iska-profile-view-wrap {
	position: relative;
	overflow: hidden;
	padding: 70px 0 90px;
	background:
		radial-gradient(circle at top center, rgba(212,175,55,.16), transparent 34%),
		linear-gradient(180deg, #050505 0%, #0b0b0b 55%, #000 100%);
}

.iska-profile-view-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: .14;
	pointer-events: none;
}

.iska-profile-view-hero {
	position: relative;
	z-index: 2;
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto 42px;
}

.iska-profile-view-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 999px;
	background: rgba(212,175,55,.12);
	border: 1px solid rgba(212,175,55,.35);
	color: #d4af37;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.iska-profile-view-hero h1 {
	margin: 0 0 20px;
	color: #ffffff;
	font-size: clamp(42px, 6vw, 76px);
	font-weight: 950;
	line-height: .95;
	text-transform: uppercase;
	letter-spacing: -.05em;
}

.iska-profile-view-hero p {
	max-width: 860px;
	margin: 0;
	color: rgba(255,255,255,.78);
	font-size: 17px;
	line-height: 1.8;
	font-weight: 600;
}

.iska-profile-view-hero strong {
	color: #ffffff;
}

.iska-profile-view-card {
	position: relative;
	z-index: 2;
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
}

@media (max-width: 768px) {

	.iska-profile-view-wrap {
		padding: 50px 0 70px;
	}

	.iska-profile-view-hero,
	.iska-profile-view-card {
		width: calc(100% - 28px);
	}

	.iska-profile-view-hero h1 {
		font-size: 42px;
	}

	.iska-profile-view-hero p {
		font-size: 15px;
	}
}

/* =========================================================
   ISKA Québec — PATCH STABILITÉ PMPro
   Évite les textes invisibles et garde les correctifs dans PMPro seulement.
========================================================= */
body .entry-content .pmpro input,
body .entry-content .pmpro textarea,
body .entry-content .pmpro select,
body .bt_bb_wrapper .pmpro input,
body .bt_bb_wrapper .pmpro textarea,
body .bt_bb_wrapper .pmpro select {
	background: rgba(255,255,255,.08) !important;
	color: #ffffff !important;
}

body .entry-content .pmpro input[type="submit"],
body .entry-content .pmpro button,
body .bt_bb_wrapper .pmpro input[type="submit"],
body .bt_bb_wrapper .pmpro button {
	color: #050505 !important;
}
