/* =========================================================================
   MyTeam BHC – frontend (nevezés + szurkolói oldal)
   Letisztult, modern arculat: türkiz (#0097b2) + arany (#f2b705) akcent.
   Minden szabály a .bhc-dash alá scope-olva, hogy ne ütközzön a Divi témával.
   ========================================================================= */

.bhc-dash {
	--bhc-teal: #0097b2;
	--bhc-teal-d: #007a91;
	--bhc-ink: #1e2a3a;      /* sötét fejléc-szín (mockup) */
	--bhc-slate: #3a4757;    /* label szöveg */
	--bhc-gold: #f2b705;
	--bhc-bg: #f6f9fb;
	--bhc-line: #e4e9ef;
	--bhc-text: #2b3441;
	--bhc-muted: #8a94a3;
	--bhc-ok: #1f9d55;
	--bhc-err: #d64545;

	max-width: 1000px;
	margin: 0 auto;
	color: var(--bhc-text);
	font-family: inherit;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.bhc-dash * { box-sizing: border-box; }

/* --- eyebrow / brand (logó helyett letisztult szöveg) ------------------ */
.bhc-eyebrow {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 12px;
	font-weight: 700;
	color: var(--bhc-teal);
	margin: 0 0 20px;
}

/* --- hero (Online registration) --------------------------------------- */
.bhc-hero { text-align: center; margin-bottom: 26px; }
.bhc-hero-title {
	font-size: clamp(26px, 4vw, 34px);
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--bhc-ink);
	margin: 0 0 8px;
	line-height: 1.1;
}
.bhc-hero-sub { color: var(--bhc-muted); margin: 0; font-size: 15px; }

/* --- üzenetek ---------------------------------------------------------- */
.bhc-msg { padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; font-size: 14px; }
.bhc-msg--ok   { background: #e9f7ef; color: #157347; border: 1px solid #bfe6cd; }
.bhc-msg--err  { background: #fdecec; color: #b02a2a; border: 1px solid #f5c6c0; }
.bhc-msg--warn { background: #fff8e6; color: #8a6d00; border: 1px solid #f3e3a6; }
.bhc-msg--info { background: #e6f6fa; color: #036785; border: 1px solid #b8e5ef; }
.bhc-msg strong { font-weight: 700; }
.bhc-opt { color: #94a3ad; font-weight: 400; font-size: 12px; }
.bhc-copy.is-copied { background: #157347; border-color: #157347; color: #fff; }

/* --- kártyák ----------------------------------------------------------- */
.bhc-card {
	background: #fff;
	border: 1px solid var(--bhc-line);
	border-radius: 16px;
	padding: 30px 32px;
	margin-bottom: 20px;
	box-shadow: 0 6px 24px rgba(30, 42, 58, .06);
}
@media (max-width: 560px) { .bhc-card { padding: 22px 18px; } }
.bhc-card h3 { margin: 0 0 6px; color: var(--bhc-ink); font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.bhc-muted { color: var(--bhc-muted); font-size: 14px; }

/* szekciócím a hosszú űrlapon */
.bhc-legend {
	margin: 26px 0 14px;
	color: var(--bhc-teal-d);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	display: flex; align-items: center; gap: 10px;
}
.bhc-legend::after { content: ""; flex: 1; height: 1px; background: var(--bhc-line); }
.bhc-legend:first-of-type { margin-top: 6px; }

.bhc-count { background: var(--bhc-gold); color: var(--bhc-ink); border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 800; }

/* minmax(0,1fr): a sávok a tartalom „min-content" szélessége ALÁ is zsugorodhatnak,
   így egy dátum-mező vagy hosszú legördülő SEM tolja ki a rácsot a képernyőn túl. */
.bhc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
@media (max-width: 760px) { .bhc-grid { grid-template-columns: minmax(0,1fr); } }

/* --- mezők ------------------------------------------------------------- */
.bhc-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 20px; }
@media (max-width: 560px) { .bhc-fields { grid-template-columns: minmax(0,1fr); } }
.bhc-col2 { grid-column: 1 / -1; }
.bhc-fields > label { min-width: 0; }
/* A <fieldset> alapból min-width:min-content – ez mobilon kitolja az űrlapot a
   képernyőn túl. Nullázzuk, hogy a rács rendesen zsugorodhasson. */
.bhc-dash fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.bhc-teamform { min-width: 0; }

.bhc-dash label { display: block; font-size: 13.5px; font-weight: 600; color: var(--bhc-slate); margin-bottom: 0; }
.bhc-dash input[type="text"],
.bhc-dash input[type="email"],
.bhc-dash input[type="password"],
.bhc-dash input[type="number"],
.bhc-dash input[type="date"],
.bhc-dash select,
.bhc-dash textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;          /* enged zsugorodni a rács-cellában (mobil kilógás ellen) */
	box-sizing: border-box; /* a téma (Divi) esetleges content-box beállítása ellen */
	padding: 12px 14px;
	border: 1px solid var(--bhc-line);
	border-radius: 11px;
	font-size: 15px;
	font-weight: 400;
	color: var(--bhc-text);
	background-color: #fff;
	margin-top: 7px;
	transition: border-color .15s, box-shadow .15s;
	appearance: none;
	-webkit-appearance: none;
}
.bhc-dash textarea { min-height: 56px; resize: vertical; }
.bhc-dash input::placeholder, .bhc-dash textarea::placeholder { color: #b6bfca; }
.bhc-dash input:disabled { background: #f2f5f8; color: var(--bhc-muted); }
.bhc-dash input:focus, .bhc-dash select:focus, .bhc-dash textarea:focus {
	outline: none;
	border-color: var(--bhc-teal);
	box-shadow: 0 0 0 3px rgba(0,151,178,.16);
}

/* select nyíl */
.bhc-dash select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 18px;
	padding-right: 40px;
}

/* ikonos mezők (mockup): bal oldali ikon a mező belsejében */
.bhc-ico {
	background-repeat: no-repeat;
	background-position: 13px center;
	background-size: 18px;
	padding-left: 42px !important;
}
/* Ikonos SELECT (pl. Country): bal oldali ikon + jobb oldali nyíl együtt. */
.bhc-dash select.bhc-ico--globe {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20 15.3 15.3 0 0 1 0-20'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: 13px center, right 13px center;
	background-size: 18px, 18px;
	background-repeat: no-repeat, no-repeat;
}
.bhc-ico--email  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.bhc-ico--team   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.bhc-ico--globe  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20 15.3 15.3 0 0 1 0-20'/%3E%3C/svg%3E"); }
.bhc-ico--layers { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5'/%3E%3Cpath d='m3 17 9 5 9-5'/%3E%3C/svg%3E"); }
.bhc-ico--user   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.bhc-ico--phone  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); }
.bhc-ico--lock   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.bhc-ico--home   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E"); }
.bhc-ico--hash   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16M4 15h16M10 3 8 21M16 3l-2 18'/%3E%3C/svg%3E"); }
.bhc-ico--tag    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 12 22l-9-9V4a1 1 0 0 1 1-1h8Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.3'/%3E%3C/svg%3E"); }

/* --- gombok ------------------------------------------------------------ */
.bhc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--bhc-teal); color: #fff; border: none;
	border-radius: 11px; padding: 13px 26px; font-size: 15px; font-weight: 700;
	letter-spacing: .2px; cursor: pointer; margin-top: 20px; text-decoration: none;
	transition: background .15s, transform .05s, box-shadow .15s;
	box-shadow: 0 4px 14px rgba(0,151,178,.25);
	max-width: 100%; white-space: normal; /* egy gomb se lóghasson ki a konténerből */
}
.bhc-btn:hover { background: var(--bhc-teal-d); box-shadow: 0 6px 18px rgba(0,151,178,.32); }
.bhc-btn:active { transform: translateY(1px); }
.bhc-btn--block { display: flex; width: 100%; }
.bhc-btn--gold { background: var(--bhc-gold); color: var(--bhc-ink); box-shadow: 0 4px 14px rgba(242,183,5,.3); }
.bhc-btn--gold:hover { background: #dda603; }
.bhc-btn--ghost { background: #fff; color: var(--bhc-teal); border: 1.5px solid var(--bhc-line); box-shadow: none; }
.bhc-btn--ghost:hover { background: var(--bhc-bg); border-color: var(--bhc-teal); }
.bhc-btn--sm { padding: 9px 15px; margin-top: 0; font-size: 14px; box-shadow: none; }
.bhc-btn--lg { padding: 16px 34px; font-size: 16px; }

.bhc-link { color: var(--bhc-teal); background: none; border: none; cursor: pointer; font-weight: 600; text-decoration: none; padding: 0; font-size: 13.5px; }
.bhc-link:hover { text-decoration: underline; }
.bhc-link--del { color: var(--bhc-err); }

/* --- top bar (bejelentkezve) ------------------------------------------- */
.bhc-top {
	display: flex; justify-content: space-between; align-items: center;
	background: #fff; padding: 16px 22px; border: 1px solid var(--bhc-line);
	border-radius: 14px; margin-bottom: 18px; box-shadow: 0 4px 16px rgba(30,42,58,.05);
}
.bhc-top strong { color: var(--bhc-teal); }
.bhc-top-brand { font-weight: 800; color: var(--bhc-ink); font-size: 16px; }
.bhc-top-brand span { color: var(--bhc-muted); font-weight: 600; font-size: 13px; }
.bhc-top-user { display: flex; align-items: center; gap: 16px; font-size: 14px; }
@media (max-width: 560px) { .bhc-top { flex-direction: column; gap: 10px; align-items: flex-start; } .bhc-top-brand span { display: none; } }

/* --- dashboard home ---------------------------------------------------- */
.bhc-back { display: inline-block; margin-bottom: 14px; color: var(--bhc-teal); text-decoration: none; font-weight: 600; font-size: 14px; }
.bhc-back:hover { text-decoration: underline; }
.bhc-greet { margin-bottom: 18px; }
.bhc-greet h2 { margin: 0 0 4px; color: var(--bhc-ink); font-size: 24px; font-weight: 800; }

.bhc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
@media (max-width: 680px) { .bhc-stats { grid-template-columns: repeat(2, 1fr); } }
.bhc-stat { background: #fff; border: 1px solid var(--bhc-line); border-radius: 14px; padding: 18px 20px; box-shadow: 0 4px 16px rgba(30,42,58,.05); }
.bhc-stat-num { font-size: 30px; font-weight: 800; color: var(--bhc-teal); line-height: 1.1; }
.bhc-stat-label { color: var(--bhc-muted); font-size: 13px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.bhc-stat--soon { background: var(--bhc-bg); }
.bhc-stat--soon .bhc-stat-num { color: var(--bhc-muted); }
.bhc-soon { background: var(--bhc-gold); color: var(--bhc-ink); border-radius: 999px; padding: 1px 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }

.bhc-section-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 14px; }
.bhc-section-head h3 { margin: 0; color: var(--bhc-ink); font-size: 18px; font-weight: 800; }

.bhc-teamgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
@media (max-width: 860px) { .bhc-teamgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bhc-teamgrid { grid-template-columns: 1fr; } }
.bhc-teamcard {
	display: flex; flex-direction: column; gap: 10px;
	background: #fff; border: 1px solid var(--bhc-line); border-radius: 14px;
	padding: 18px; text-decoration: none; color: var(--bhc-text);
	box-shadow: 0 4px 16px rgba(30,42,58,.05); transition: transform .12s, box-shadow .12s, border-color .12s;
}
.bhc-teamcard { position: relative; cursor: pointer; }
.bhc-teamcard:hover { box-shadow: 0 10px 26px rgba(30,42,58,.10); border-color: var(--bhc-teal); }
.bhc-teamcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bhc-teamcard-club { color: var(--bhc-muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.bhc-teamcard-name { font-size: 18px; font-weight: 800; color: var(--bhc-ink); line-height: 1.2; text-decoration: none; }
.bhc-teamcard-name:hover { color: var(--bhc-teal); }
/* Az egész kártya kattintható (a névre mutató link kiterjesztve az egészre). */
.bhc-teamcard-name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* A "Players & staff" és az "Open" külön link a felület fölött marad. */
.bhc-teamcard-players, .bhc-teamcard-open { position: relative; z-index: 2; }
.bhc-teamcard-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.bhc-chip { background: var(--bhc-bg); border: 1px solid var(--bhc-line); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--bhc-slate); }
.bhc-teamcard-players {
	display: flex; align-items: center; gap: 8px; text-decoration: none;
	background: var(--bhc-bg); border: 1px solid var(--bhc-line); border-radius: 10px;
	padding: 9px 12px; color: var(--bhc-teal); font-weight: 700; font-size: 13.5px;
}
.bhc-teamcard-players:hover { border-color: var(--bhc-teal); background: #eef7f9; }
.bhc-teamcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--bhc-line); }
.bhc-teamcard-price { font-weight: 800; color: var(--bhc-teal); font-size: 15px; }
.bhc-teamcard-open { color: var(--bhc-muted); font-weight: 700; font-size: 13px; text-decoration: none; }
.bhc-teamcard-open:hover { color: var(--bhc-teal); }
.bhc-teamcard--new {
	align-items: center; justify-content: center; text-align: center;
	border: 2px dashed var(--bhc-line); background: transparent; box-shadow: none;
	color: var(--bhc-muted); font-weight: 700; min-height: 150px;
}
.bhc-teamcard--new:hover { border-color: var(--bhc-teal); color: var(--bhc-teal); transform: none; box-shadow: none; }
.bhc-teamcard-plus { font-size: 34px; font-weight: 300; line-height: 1; }

/* --- csapatváltó ------------------------------------------------------- */
.bhc-teamswitch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bhc-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 17px; border-radius: 999px;
	background: #fff; border: 1px solid var(--bhc-line); color: var(--bhc-slate);
	text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s;
}
.bhc-pill:hover { border-color: var(--bhc-teal); color: var(--bhc-teal); }
.bhc-pill.is-active { background: var(--bhc-teal); color: #fff; border-color: var(--bhc-teal); }
.bhc-pill--new { border-style: dashed; color: var(--bhc-muted); }
.bhc-dot { color: var(--bhc-gold); font-size: 10px; }

/* --- későbbi lépés: roszter -------------------------------------------- */
.bhc-later-tag { background: var(--bhc-bg); color: var(--bhc-muted); border: 1px solid var(--bhc-line); border-radius: 999px; padding: 2px 11px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.bhc-subcard { background: var(--bhc-bg); border: 1px solid var(--bhc-line); border-radius: 12px; padding: 18px; }
.bhc-subcard h4 { margin: 0 0 12px; color: var(--bhc-ink); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.bhc-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.bhc-table td { padding: 10px 6px; border-bottom: 1px solid var(--bhc-line); vertical-align: middle; }
.bhc-sub { display: block; color: var(--bhc-muted); font-size: 12px; font-weight: 400; }
.bhc-row-actions { text-align: right; white-space: nowrap; }
.bhc-row-actions .bhc-link { margin-left: 12px; }
.bhc-empty { color: var(--bhc-muted); font-style: italic; }
.bhc-addform { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bhc-addform input, .bhc-addform select { margin-top: 0; flex: 1 1 120px; min-width: 90px; }
.bhc-addform input[name="name"] { flex: 2 1 160px; }

/* --- nevezés / státusz ------------------------------------------------- */
.bhc-reg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.bhc-reg-head h3 { margin: 0; }
.bhc-status { padding: 5px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.bhc-status--draft     { background: #eef1f5; color: var(--bhc-muted); }
.bhc-status--submitted { background: #fff8e6; color: #8a6d00; }
.bhc-status--confirmed { background: #e9f7ef; color: var(--bhc-ok); }
.bhc-status--cancelled { background: #fdecec; color: var(--bhc-err); }

/* --- árbecslés --------------------------------------------------------- */
.bhc-pricebox { background: var(--bhc-bg); border: 1px solid var(--bhc-line); border-radius: 12px; padding: 16px 18px; margin: 8px 0 0; }
.bhc-price { width: 100%; border-collapse: collapse; font-size: 14px; }
.bhc-price td { padding: 6px 4px; }
/* A szám-oszlopok tartalom-szélesek (width:1%), így a szöveges (label) oszlop
   kapja a maradék helyet – a hosszú sávnevek (pl. „Super Early Bird") nem
   préselődnek betűnkénti tördelésre. */
.bhc-price .num { text-align: right; white-space: nowrap; width: 1%; }
.bhc-price td:first-child { overflow-wrap: normal; word-break: normal; }
.bhc-price-sec td { font-weight: 700; color: var(--bhc-teal); padding-top: 14px; border-bottom: 1px solid var(--bhc-line); }
.bhc-price-note td { color: var(--bhc-muted); font-style: italic; font-size: 13px; }
.bhc-price-total td { border-top: 2px solid var(--bhc-teal); font-weight: 800; font-size: 17px; color: var(--bhc-ink); padding-top: 12px; }
.bhc-price-vat td { color: var(--bhc-muted); font-size: 13px; }
.bhc-price-disc td { color: var(--bhc-ok); font-weight: 700; }

/* --- fizetés ----------------------------------------------------------- */
.bhc-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bhc-pay { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.bhc-pay--pending { background: #fff8e6; color: #8a6d00; border: 1px solid #f3e3a6; }
.bhc-pay--paid { background: #e9f7ef; color: var(--bhc-ok); border: 1px solid #bfe6cd; }
.bhc-teamcard-pay { margin-top: 2px; }
.bhc-bankbox { background: var(--bhc-bg); border: 1px solid var(--bhc-line); border-radius: 12px; padding: 14px 16px; margin-top: 8px; }
.bhc-bankbox-title { font-weight: 800; color: var(--bhc-ink); margin-bottom: 8px; font-size: 14px; }
.bhc-bank { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bhc-bank td { padding: 4px 6px; border-bottom: 1px solid var(--bhc-line); }
.bhc-bank td:first-child { color: var(--bhc-muted); font-weight: 600; width: 40%; }
.bhc-bank tr:last-child td { border-bottom: none; }
.bhc-payref { background: #fff8e6; border: 1px solid #f3e3a6; border-radius: 10px; padding: 10px 14px; margin-top: 8px; font-size: 13.5px; color: var(--bhc-slate); }
.bhc-payref-code { display: inline-block; font-weight: 800; color: var(--bhc-teal); background: #fff; border: 1px dashed var(--bhc-teal); padding: 2px 9px; border-radius: 6px; }
.bhc-deleteteam { margin-top: 14px; text-align: right; }

/* --- EU VAT (VIES) ----------------------------------------------------- */
.bhc-info {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; border-radius: 50%; background: var(--bhc-teal);
	color: #fff; font-size: 12px; font-weight: 800; font-style: normal; line-height: 1;
	margin-left: 6px; cursor: help; position: relative; vertical-align: middle;
}
.bhc-info::after {
	content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 9px);
	width: 280px; max-width: 70vw; background: var(--bhc-ink); color: #fff;
	padding: 10px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 500;
	line-height: 1.45; text-transform: none; letter-spacing: 0; white-space: normal;
	opacity: 0; visibility: hidden; transition: opacity .12s; z-index: 30;
	box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.bhc-info:hover::after, .bhc-info:focus::after { opacity: 1; visibility: visible; }
.bhc-vies-wrap { display: flex; gap: 8px; align-items: stretch; margin-top: 7px; flex-wrap: wrap; }
.bhc-vies-wrap input { margin-top: 0; min-width: 0; }
.bhc-vies-check { margin-top: 0; white-space: nowrap; }
.bhc-vies-result { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.bhc-vies-result.is-ok { color: var(--bhc-ok); }
.bhc-vies-result.is-err { color: var(--bhc-err); }
.bhc-vies-result.is-warn { color: #8a6d00; }
.bhc-price-foot { margin: 12px 0 0; font-size: 12px; color: var(--bhc-muted); font-style: italic; }

.bhc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bhc-submitcard { text-align: center; border: 2px solid var(--bhc-gold); background: linear-gradient(180deg, #fffdf5, #fff); }
.bhc-submitcard h3 { justify-content: center; }

/* --- auth: kétoszlopos fotós elrendezés -------------------------------- */
.bhc-split {
	display: flex;
	background: #fff;
	border: 1px solid var(--bhc-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(30,42,58,.10);
	min-height: 600px;
}
.bhc-split-media { position: relative; flex: 0 0 42%; display: flex; flex-direction: column; min-height: 260px; background: #fff; }
.bhc-split-photo {
	position: relative; flex: 1;
	background-size: cover; background-position: 50% center; background-repeat: no-repeat;
	min-height: 200px;
}
.bhc-split-logobar { background: #fff; padding: 20px 24px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--bhc-line); }
.bhc-split-logobar img { max-width: 80%; max-height: 66px; width: auto; height: auto; display: block; }
.bhc-split-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,32,.12) 0%, rgba(6,26,32,.04) 45%, rgba(4,20,25,.72) 100%); }
.bhc-split-brand { position: absolute; left: 30px; bottom: 28px; z-index: 2; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.bhc-split-brand .b1 { display: block; font-weight: 800; font-size: 27px; letter-spacing: .5px; line-height: 1; }
.bhc-split-brand .b2 { display: block; font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--bhc-gold); }
.bhc-split-brand .b3 { display: block; font-weight: 600; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; margin-top: 5px; opacity: .9; }
.bhc-split-form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 46px 42px; }
.bhc-split-inner { width: 100%; max-width: 440px; }
.bhc-hero--left, .bhc-hero--left .bhc-hero-title { text-align: left; }
.bhc-split .bhc-tabs { margin-left: 0; }
.bhc-panel.bhc-panel--flat { border: none; box-shadow: none; padding: 0; border-radius: 0; background: transparent; }
@media (max-width: 820px) {
	.bhc-split { flex-direction: column; min-height: 0; }
	.bhc-split-media { flex-basis: auto; min-height: 200px; }
	.bhc-split-form { padding: 28px 22px; }
	.bhc-split-inner { max-width: 100%; }
}

/* --- auth (belépés / regisztráció) ------------------------------------ */
.bhc-auth { max-width: 480px; margin: 0 auto; }
.bhc-tabs {
	display: flex; gap: 4px; margin: 0 auto 22px; padding: 5px;
	background: #eef2f6; border-radius: 12px; max-width: 320px;
}
.bhc-tab {
	flex: 1; padding: 10px 12px; border: none; background: transparent; color: var(--bhc-muted);
	font-weight: 700; font-size: 14px; cursor: pointer; border-radius: 9px; transition: all .15s;
}
.bhc-tab.is-active { background: #fff; color: var(--bhc-teal); box-shadow: 0 2px 8px rgba(30,42,58,.1); }
.bhc-panel.is-hidden, .is-hidden { display: none; }
.bhc-panel {
	background: #fff; border: 1px solid var(--bhc-line); border-radius: 16px;
	padding: 30px 30px 32px; box-shadow: 0 6px 24px rgba(30,42,58,.06);
}
@media (max-width: 560px) { .bhc-panel { padding: 22px 18px 24px; } }
.bhc-panel label { margin-bottom: 16px; }
.bhc-panel label:last-of-type { margin-bottom: 4px; }
.bhc-forgot { text-align: center; margin: 16px 0 0; font-size: 13.5px; }

/* --- szurkolói (fan) oldal --------------------------------------------- */
.bhc-fan { max-width: 640px; }
.bhc-program { list-style: none; margin: 0; padding: 0; }
.bhc-program li { padding: 11px 0; border-bottom: 1px solid var(--bhc-line); }
.bhc-program li:last-child { border-bottom: none; }
.bhc-program-date { display: inline-block; min-width: 140px; color: var(--bhc-teal); font-weight: 700; }

/* --- Hűségpont (Loyalty) ---------------------------------------------- */
.bhc-stat--loyalty { text-decoration: none; display: block; transition: box-shadow .15s, transform .05s; border-color: var(--bhc-gold); }
.bhc-stat--loyalty:hover { box-shadow: 0 8px 22px rgba(242,183,5,.22); transform: translateY(-1px); }
.bhc-stat--loyalty .bhc-stat-num { color: var(--bhc-gold-d, #b8860b); }
.bhc-stat-go { background: var(--bhc-gold); color: var(--bhc-ink); border-radius: 999px; padding: 2px 10px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
/* A „Loyalty points" felirat + VIEW gomb: ahol nem fér el egy sorban (mobil),
   a gomb TÖRJÖN a felirat alá – ne nyomódjon össze a szöveggel. */
.bhc-stat--loyalty .bhc-stat-label { flex-wrap: wrap; align-items: center; row-gap: 6px; column-gap: 6px; }

.bhc-loyalty { border: 1px solid var(--bhc-line); }
.bhc-loyalty-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bhc-loyalty-head h3 { margin: 0 0 4px; }
.bhc-loyalty-total { text-align: center; background: linear-gradient(135deg, #fff9e8, #fff); border: 1px solid #f3e3a6; border-radius: 14px; padding: 10px 22px; min-width: 120px; }
.bhc-loyalty-total-num { display: block; font-size: 34px; font-weight: 800; color: #b8860b; line-height: 1.05; }
.bhc-loyalty-total-lbl { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--bhc-muted); }
.bhc-loyalty-teams { margin-top: 16px; }
.bhc-loyalty-teams td { vertical-align: middle; }
.bhc-loyalty-pts { display: inline-block; background: #fff8e6; color: #8a6d00; border: 1px solid #f3e3a6; border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 14px; }
.bhc-loyalty-teams .bhc-vies-wrap { flex-wrap: wrap; }
.bhc-loyalty-teams .bhc-vies-wrap input { max-width: 150px; }

.bhc-rewards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 12px; }
.bhc-reward { border: 1px solid var(--bhc-line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: 0 3px 12px rgba(30,42,58,.05); }
.bhc-reward-media { aspect-ratio: 3 / 2; background: #eef3f6; overflow: hidden; }
.bhc-reward-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bhc-reward-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.bhc-reward-cost { color: var(--bhc-teal); font-weight: 800; font-size: 17px; }
.bhc-reward-cost span { color: var(--bhc-muted); font-weight: 600; font-size: 12px; }
.bhc-reward-name { color: var(--bhc-ink); font-weight: 600; font-size: 14px; line-height: 1.35; }
.bhc-reward-note { color: var(--bhc-muted); font-size: 12px; }

.bhc-loyalty-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .bhc-loyalty-rules { grid-template-columns: 1fr; } }
.bhc-loyalty-rules h4 { margin: 0 0 8px; color: var(--bhc-teal); font-size: 14px; }
.bhc-loyalty-rules ul { margin: 0; padding-left: 18px; }
.bhc-loyalty-rules li { margin-bottom: 7px; color: var(--bhc-slate); font-size: 14px; line-height: 1.5; }

.bhc-loyalty-ledger { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.bhc-loyalty-ledger span { background: var(--bhc-bg); border: 1px solid var(--bhc-line); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--bhc-muted); }
.bhc-loyalty-ledger strong { color: var(--bhc-ink); }

/* --- Beváltás (redemption) --------------------------------------------- */
.bhc-redeem-team { display: block; margin-bottom: 14px; font-weight: 600; color: var(--bhc-slate); }
.bhc-redeem-team select { max-width: 340px; }
.bhc-reward-qty { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.bhc-qty-btn { width: 30px; height: 30px; border: 1px solid var(--bhc-line); background: #fff; border-radius: 8px; font-size: 18px; line-height: 1; font-weight: 700; color: var(--bhc-teal); cursor: pointer; flex: none; }
.bhc-qty-btn:hover { background: var(--bhc-bg); }
.bhc-reward-qty input[data-qty] { width: 58px; text-align: center; margin: 0; padding: 6px 4px; }
.bhc-redeem-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 14px 16px; background: #fffdf5; border: 1px solid #f3e3a6; border-radius: 12px; }
.bhc-redeem-sum { font-size: 15px; color: var(--bhc-ink); }
.bhc-redeem-sum strong { color: var(--bhc-teal); }
.bhc-redeem-sum .bhc-sub { display: inline; color: var(--bhc-muted); font-weight: 400; margin-left: 6px; }
.bhc-redeem-over { display: block; color: var(--bhc-err); font-size: 13px; font-weight: 600; margin-top: 4px; }
.bhc-redeem-bar .bhc-btn { margin-top: 0; }
.bhc-redeem-bar .bhc-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* --- Mobil reszponzivitás (sticky sáv + kód-sorok + kis táblák) -------- */
@media (max-width: 600px) {
	/* A beváltó sáv ne legyen sticky mobilon (ne takarjon tartalmat), és álljon oszlopba. */
	.bhc-redeem-bar { position: static; flex-direction: column; align-items: stretch; }
	.bhc-redeem-bar .bhc-btn { width: 100%; }
	.bhc-redeem-sum { text-align: center; }

	/* A kód + Copy/Share sorok teljes szélességben törjenek. */
	.bhc-vies-wrap { gap: 6px; }
	.bhc-vies-wrap input { flex: 1 1 100%; max-width: 100%; }
	.bhc-vies-wrap .bhc-btn { flex: 1 1 auto; }

	/* A kártyás (stack) táblák – hűségpont-csapatok, beváltási előzmények,
	   nagyköveti nevezések, roszter – mobilon soronként blokká törnek. */
	.bhc-loyalty-teams, .bhc-loyalty-teams tbody, .bhc-loyalty-teams tr, .bhc-loyalty-teams td,
	.bhc-table--stack, .bhc-table--stack tbody, .bhc-table--stack tr, .bhc-table--stack td {
		display: block; width: 100%;
	}
	.bhc-loyalty-teams tr, .bhc-table--stack tr { border-bottom: 1px solid var(--bhc-line); padding: 8px 0; }
	.bhc-loyalty-teams td, .bhc-table--stack td { border: none; padding: 3px 0; }
	.bhc-loyalty-teams .bhc-vies-wrap input { max-width: 100%; }
	.bhc-table--stack .bhc-row-actions { text-align: left; white-space: normal; }
	.bhc-table--stack .bhc-row-actions .bhc-link { margin: 0 14px 0 0; }

	/* Kis táblák és a beváltási előzmények is férjenek el – szavaknál törjön
	   (overflow-wrap: break-word), NE betűnként. A price-label sose törjön erővel. */
	.bhc-table td { padding: 8px 6px; overflow-wrap: break-word; }
	.bhc-payref-code { overflow-wrap: break-word; }
	.bhc-bank td:last-child { overflow-wrap: anywhere; }   /* hosszú, szóköz nélküli IBAN */
	.bhc-reward-qty input[data-qty] { width: 52px; }

	/* Árazó-tábla mobilon: kisebb betű/padding, hogy a nagy összeg-sorok se
	   feszítsék szélesebbre a dobozt (az „€" összegek ne vágódjanak le a szélén).
	   overflow-x: auto = végső védőháló, hogy SOHA ne lógjon ki az oldalon. */
	.bhc-pricebox { padding: 12px 12px; overflow-x: auto; }
	.bhc-price { font-size: 13px; }
	.bhc-price td { padding: 5px 3px; }
	.bhc-price .num { padding-left: 6px; }
	.bhc-price-sec td, .bhc-price-note td, .bhc-price-vat td { font-size: 12.5px; }
	.bhc-price-total td { font-size: 14.5px; padding-top: 9px; }

	/* Roszter felvivő űrlap: a mezők teljes szélességben törjenek. */
	.bhc-addform input, .bhc-addform select { flex: 1 1 100%; min-width: 0; }
	.bhc-addform .bhc-btn { flex: 1 1 auto; }

	/* A price estimate ALATTI gombok (Save team / Save & add another team stb.):
	   egymás alatt, teljes szélességben – a hosszú feliratú gombok se lógjanak ki. */
	.bhc-actions { flex-direction: column; align-items: stretch; }
	.bhc-actions .bhc-btn { width: 100%; margin-top: 0; }
	.bhc-actions .bhc-btn + .bhc-btn { margin-top: 10px; }
}

/* Bármely széles tartalom (readonly kód/URL) ne lógjon ki a kártyából. */
.bhc-dash input[readonly] { text-overflow: ellipsis; }
/* Általános védőháló a vízszintes kilógás ellen (a sticky sávot nem érinti). */
.bhc-dash { max-width: 100%; }
.bhc-dash table { max-width: 100%; }
.bhc-dash img { max-width: 100%; height: auto; }

.bhc-redeem-status { padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.bhc-redeem-status--received  { background: #fff8e6; color: #8a6d00; }
.bhc-redeem-status--approved  { background: #e6f6fa; color: #036785; }
.bhc-redeem-status--fulfilled { background: #e9f7ef; color: #157347; }
.bhc-redeem-status--rejected  { background: #fdecec; color: #b02a2a; }

/* --- Group & stay finomítások (dátum, éjszaka-figyelmeztetés, megosztás) --- */
/* Dátumválasztó: natív naptár marad (kattintásra), de a látható mező „26 March 2027" formátumú.
   A magas specificitás kell, hogy verje az általános .bhc-dash input[type=date] szabályt. */
.bhc-datepick { position: relative; display: block; margin-top: 7px; }
.bhc-dash .bhc-datepick input.bhc-date-native {
	position: absolute; inset: 0; width: 100%; height: 100%;
	margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; background: transparent;
}
.bhc-dash .bhc-datepick input.bhc-date-display { margin-top: 0; cursor: pointer; background-color: #fff; }
.bhc-field-warn { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #b02a2a; }
.bhc-field-warn[hidden] { display: none; }
.bhc-field-note { display: block; margin-top: 6px; font-size: 12.5px; color: #8a6d00; }
.bhc-field-note[hidden] { display: none; }
.bhc-infobox { margin: 4px 0 6px; padding: 12px 14px; background: #e6f6fa; border: 1px solid #b7e3ee; border-left: 3px solid #0097b2; border-radius: 8px; }
.bhc-infobox p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: #234; }
.bhc-infobox p:last-child { margin-bottom: 0; }
.bhc-share { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.bhc-shareicon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; color: #fff; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.bhc-shareicon:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.bhc-shareicon svg { width: 20px; height: 20px; fill: #fff; display: block; }
.bhc-shareicon--native { background: #0097b2; }
.bhc-shareicon--wa { background: #25d366; }
.bhc-shareicon--mail { background: #6b7280; }
.bhc-shareicon--tg { background: #29a9ea; }
.bhc-shareicon--vb { background: #7360f2; }
.bhc-shareicon--fb { background: #1877f2; }

/* --- Kettős szerep nézetváltó (csapat / nagykövet) --- */
.bhc-viewswitch { display: inline-flex; gap: 4px; background: #eef3f5; padding: 4px; border-radius: 12px; margin: 0 0 16px; }
.bhc-viewswitch-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: 14px; color: #40525a; text-decoration: none; }
.bhc-viewswitch-btn.is-active { background: #fff; color: #0097b2; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* --- Nagyköveti pont-beváltási lista (képek később) --- */
.bhc-amb-tiers { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bhc-amb-tiers li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--bhc-line, #e2e8ec); border-radius: 12px; background: #fbfdfe; }
.bhc-amb-cost { flex: 0 0 auto; min-width: 58px; text-align: center; font-weight: 800; font-size: 20px; color: #fff; background: #0097b2; border-radius: 10px; padding: 8px 6px; line-height: 1.05; }
.bhc-amb-cost small { display: block; font-size: 11px; font-weight: 700; opacity: .9; }
.bhc-amb-info { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.bhc-amb-tiers .bhc-reward-qty { flex: 0 0 auto; margin: 0; }
.bhc-amb-info strong { color: var(--bhc-ink, #12303a); font-size: 15px; }
.bhc-amb-info .bhc-sub { font-size: 13px; color: var(--bhc-muted, #5a6b73); }
