/* =========================================================
   Padrao Ambar – paginas de conta (cadastro / download)
   Usa as variaveis/tokens de css/person-profile.css (.bzc-pf)
   ========================================================= */

/* ---------- Indicador de etapas (1/2) ---------- */

.bzc-steps {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.bzc-step {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 14px 7px 8px;
	border: 1px solid var(--pf-line-2, rgba(255, 255, 255, .07));
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	color: var(--pf-mut, #a3988a);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .3px;
	white-space: nowrap;
	transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.bzc-step__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .10);
	color: var(--pf-mut, #a3988a);
	font-family: Georgia, serif;
	font-size: 12px;
	font-weight: 700;
}

.bzc-step.is-active {
	border-color: rgba(240, 177, 51, .5);
	background: linear-gradient(180deg, rgba(240, 177, 51, .16), rgba(240, 177, 51, .05));
	color: #ffe6b0;
	box-shadow: 0 10px 26px -18px rgba(240, 177, 51, .9);
}

.bzc-step.is-active .bzc-step__n {
	background: linear-gradient(180deg, var(--pf-gold-2, #ffd97a), var(--pf-gold, #f0b133));
	border-color: rgba(240, 177, 51, .7);
	color: #2a1c05;
	box-shadow: 0 0 16px -4px rgba(240, 177, 51, .9);
}

.bzc-step.is-done {
	border-color: rgba(74, 222, 128, .4);
	background: rgba(74, 222, 128, .10);
	color: #cdf7de;
}

.bzc-step.is-done .bzc-step__n {
	background: linear-gradient(180deg, #86efac, var(--pf-green, #4ade80));
	border-color: rgba(74, 222, 128, .6);
	color: #06301b;
}

.bzc-step__link {
	color: inherit;
	text-decoration: none;
}

.bzc-step__sep {
	width: 26px;
	height: 1px;
	background: linear-gradient(90deg, rgba(240, 177, 51, .55), rgba(255, 255, 255, .10));
	flex: 0 0 auto;
}

/* chips extras no hero */

.bzc-chip--ref {
	border-color: rgba(240, 177, 51, .45);
	background: rgba(240, 177, 51, .12);
	color: #ffe6b0;
}

/* ---------- Layout das paginas ---------- */

.bzc-hero--narrow {
	padding: 26px 30px 22px;
}

.bzc-hero--narrow .bzc-hero__name { font-size: 28px; }

.bzc-card__foot {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px dashed rgba(255, 255, 255, .07);
	color: var(--pf-mut, #a3988a);
	font-size: 13px;
}

.bzc-card__foot a {
	color: var(--pf-gold-2, #ffd97a);
	font-weight: 700;
	text-decoration: none;
}

.bzc-card__foot a:hover { text-decoration: underline; }

.bzc-card__text {
	margin: 0 0 12px;
	color: #d9d0c3;
	font-size: 13.5px;
	line-height: 1.6;
}

.bzc-card__text:last-child { margin-bottom: 0; }

.bzc-card__text b { color: var(--pf-gold-2, #ffd97a); font-weight: 700; }

.bzc-card__text a,
.bzc-list a {
	color: var(--pf-gold-2, #ffd97a);
	font-weight: 700;
	text-decoration: none;
}

.bzc-card__text a:hover,
.bzc-list a:hover { text-decoration: underline; }

.bzc-grid--side {
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
	.bzc-grid--side {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Formulario ---------- */

.bzc-form {
	display: block;
	width: 100%;
	border: 0;
	margin: 0;
	padding: 0;
}

.bzc-form tbody { display: block; }

.bzc-form tr {
	display: grid;
	grid-template-columns: 158px minmax(0, 1fr) 26px;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	border: 1px solid transparent;
	border-radius: 12px;
	transition: background .18s ease, border-color .18s ease;
}

.bzc-form tr:nth-child(odd) { background: rgba(255, 255, 255, .03); }

.bzc-form tr:focus-within {
	background: rgba(240, 177, 51, .06);
	border-color: rgba(240, 177, 51, .28);
}

.bzc-form td {
	display: block;
	border: 0 !important;
	padding: 0;
	vertical-align: middle;
}

.bzc-form td:first-child {
	color: var(--pf-mut, #a3988a);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	line-height: 1.3;
}

.bzc-form input[type="text"],
.bzc-form input[type="password"],
.bzc-form input[type="email"],
.bzc-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 13px;
	border: 1px solid var(--pf-line-2, rgba(255, 255, 255, .07));
	border-radius: 10px;
	background: rgba(0, 0, 0, .38);
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.bzc-form input::placeholder { color: #6f675b; }

.bzc-form input:focus {
	border-color: rgba(240, 177, 51, .55);
	box-shadow: 0 0 0 4px rgba(240, 177, 51, .13);
	background: rgba(0, 0, 0, .5);
}

.bzc-form input[disabled] { opacity: .55; }

/* mensagem de erro de cada campo (span#s<nome>) */
.bzc-form span[id^="s"] {
	display: none;
	color: var(--pf-red, #ff6b6b);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .2px;
	margin-top: 5px;
}

/* icone de status (td#l<nome>) */
.bzc-form td[id^="l"] {
	text-align: center;
	width: 26px;
}

.bzc-form td[id^="l"] img {
	width: 18px;
	height: 18px;
	border: 0 !important;
	margin: 0 !important;
	border-radius: 50%;
	vertical-align: middle;
}

/* ---------- Linha do captcha ---------- */

.bzc-form tr.bzc-form__captcha {
	grid-template-columns: minmax(0, 1fr) 26px;
}

.bzc-form__captcha td:first-child {
	grid-column: 1 / -1;
	margin-bottom: 2px;
}

.bzc-form__captcha > td:nth-child(2) {
	grid-column: 1 / 2;
}

.bzc-form__captcha > td[id^="l"] {
	grid-column: 2 / 3;
	grid-row: 2;
	align-self: center;
}

.bzc-captcha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px dashed rgba(240, 177, 51, .28);
	border-radius: 14px;
	background: rgba(0, 0, 0, .25);
}

.bzc-captcha__img {
	display: block;
	flex: 0 0 auto;
	width: 200px;
	height: 80px;
	max-width: none;
	border: 1px solid rgba(240, 177, 51, .25) !important;
	border-radius: 10px;
	background: #fff;
}

.bzc-captcha__reload {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border: 1px solid var(--pf-line-2, rgba(255, 255, 255, .1));
	border-radius: 10px;
	background: rgba(255, 255, 255, .05);
	color: var(--pf-gold-2, #ffd97a);
	font-size: 16px;
	line-height: 1;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.bzc-captcha__reload:hover {
	background: rgba(240, 177, 51, .16);
	border-color: rgba(240, 177, 51, .5);
	transform: rotate(18deg);
}

.bzc-captcha__box {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 130px;
	min-width: 110px;
}

.bzc-captcha__label {
	color: var(--pf-mut, #a3988a);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.bzc-captcha input {
	max-width: 150px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* ---------- Acoes do formulario ---------- */

.bzc-form tr.bzc-form__actions {
	grid-template-columns: minmax(0, 1fr) 26px;
	padding-top: 16px;
}

.bzc-form__actions td:first-child,
.bzc-form__actions td:last-child { display: none; }

.bzc-form__actions td:nth-child(2) {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.bzc-form__submit {
	min-width: 210px;
}

.bzc-form__submit[disabled] {
	pointer-events: none;
	opacity: .45;
}

.bzc-form__hint {
	margin: 12px 0 0 !important;
	color: var(--pf-mut, #a3988a);
	font-size: 12px;
	text-align: right;
}

/* ---------- Download: CTA principal ---------- */

.bzc-dl {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	padding: 22px;
	border: 1px solid rgba(240, 177, 51, .25);
	border-radius: 16px;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(240, 177, 51, .12), transparent 55%),
		rgba(0, 0, 0, .25);
}

.bzc-dl__ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 217, 122, .95), rgba(240, 177, 51, .8));
	color: #2a1c05;
	box-shadow: 0 14px 30px -14px rgba(240, 177, 51, .9);
}

.bzc-dl__ico svg { width: 30px; height: 30px; fill: currentColor; }

.bzc-dl__body { flex: 1 1 220px; min-width: 200px; }

.bzc-dl__name {
	margin: 0 0 4px;
	font-family: Georgia, serif;
	font-size: 19px;
	color: #fff;
}

.bzc-dl__desc { margin: 0; color: var(--pf-mut, #a3988a); font-size: 13px; }

.bzc-dl__btn { min-width: 210px; }

/* ---------- Download: cards de apoio ---------- */

.bzc-grid--duo {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.bzc-grid--duo { grid-template-columns: minmax(0, 1fr); }
	.bzc-dl { gap: 16px; padding: 18px; }
	.bzc-dl__btn { width: 100%; min-width: 0; }
}

/* ---------- Requerimento do sistema ---------- */

.bzc-req {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.bzc-req th,
.bzc-req td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	text-align: left;
}

.bzc-req thead th {
	background: rgba(240, 177, 51, .10);
	color: var(--pf-gold-2, #ffd97a);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.bzc-req tbody th {
	width: 26%;
	color: var(--pf-mut, #a3988a);
	font-weight: 700;
}

.bzc-req tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .03); }

.bzc-req tbody tr:last-child th,
.bzc-req tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 640px) {
	.bzc-req th, .bzc-req td { padding: 8px 9px; font-size: 12.5px; }
}

/* ---------- Divulgadores (referral) ---------- */

/* Ranking de divulgadores (#divulgadores): 1 coluna de dados + botao.
   A coluna do botao e fixa (senao o 1fr do meio absorve a diferenca entre
   a guild vazia do cabecalho e o botao da linha e o rotulo sai de lugar). */
#divulgadores .bzc-rankhead,
#divulgadores .bzc-rank {
	grid-template-columns: 44px 24px minmax(0, 1fr) 120px 150px;
}

#divulgadores .bzc-rank__meta,
#divulgadores .bzc-rankhead .bzc-rank__meta {
	grid-template-columns: 1fr;
}

#divulgadores .bzc-rank__guild {
	justify-self: center;
}

#bzc-ref .bzc-rankhead,
#bzc-ref .bzc-rank {
	grid-template-columns: 44px 24px minmax(0, 1fr) 430px 40px;
}

#bzc-ref .bzc-rank__meta,
#bzc-ref .bzc-rankhead .bzc-rank__meta {
	grid-template-columns: 70px 90px 82px 70px 100px;
}

@media (max-width: 1100px) {
	#divulgadores .bzc-rankhead,
	#divulgadores .bzc-rank {
		grid-template-columns: 40px 24px minmax(0, 1fr) 110px 142px;
	}
	#bzc-ref .bzc-rankhead,
	#bzc-ref .bzc-rank {
		grid-template-columns: 44px 24px minmax(0, 1fr) 380px 40px;
	}
	#bzc-ref .bzc-rank__meta,
	#bzc-ref .bzc-rankhead .bzc-rank__meta {
		grid-template-columns: 62px 78px 72px 60px 90px;
		font-size: 12.5px;
	}
}

@media (max-width: 860px) {
	#bzc-ref .bzc-rankhead { display: none; }
	#bzc-ref .bzc-rank {
		grid-template-columns: 36px 20px minmax(0, 1fr);
		gap: 8px;
		padding: 10px 12px;
	}
	#bzc-ref .bzc-rank__meta {
		grid-column: 1 / -1;
		grid-template-columns: repeat(5, 1fr);
		gap: 6px;
		font-size: 11.5px;
	}
	#bzc-ref .bzc-rank__meta > span[data-label]::before {
		content: attr(data-label);
		display: block;
		font-size: 9.5px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .5px;
		color: var(--pf-mut, #a3988a);
		margin-bottom: 1px;
	}

	/* Ranking de divulgadores: sem as 5 colunas fixas do desktop,
	   senao a coluna do nome (1fr) encolhe a 0 e some. */
	#divulgadores .bzc-rankhead { display: none; }
	#divulgadores .bzc-rank {
		grid-template-columns: 36px 24px minmax(0, 1fr);
		gap: 8px 10px;
		padding: 10px 12px;
	}
	#divulgadores .bzc-rank__meta {
		grid-column: 1 / -1;
		grid-template-columns: 1fr;
		font-size: 12.5px;
	}
	#divulgadores .bzc-rank__guild {
		grid-area: 1 / 4 / 2 / 5;
		justify-self: end;
	}
}

/* ---------- Aside / beneficios ---------- */

.bzc-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bzc-list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 11px 13px;
	border: 1px solid var(--pf-line-2, rgba(255, 255, 255, .07));
	border-radius: 12px;
	background: rgba(255, 255, 255, .03);
	color: var(--pf-text, #f4eee3);
	font-size: 13.5px;
	line-height: 1.45;
	transition: border-color .18s ease, background .18s ease;
}

.bzc-list li:hover {
	border-color: rgba(240, 177, 51, .3);
	background: rgba(240, 177, 51, .06);
}

.bzc-list__ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(255, 217, 122, .9), rgba(240, 177, 51, .75));
	color: #2a1c05;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.bzc-list b { color: var(--pf-gold-2, #ffd97a); font-weight: 700; }

/* ---------- Responsivo ---------- */

@media (max-width: 760px) {
	.bzc-form tr:not(.bzc-form__captcha):not(.bzc-form__actions) {
		grid-template-columns: minmax(0, 1fr) 26px;
		row-gap: 7px;
		padding: 10px;
	}

	.bzc-form tr:not(.bzc-form__captcha):not(.bzc-form__actions) td:first-child {
		grid-column: 1 / 2;
		grid-row: 1;
	}

	.bzc-form tr:not(.bzc-form__captcha):not(.bzc-form__actions) td:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.bzc-form tr:not(.bzc-form__captcha):not(.bzc-form__actions) td[id^="l"] {
		grid-column: 2 / 3;
		grid-row: 1;
	}

	.bzc-form tr.bzc-form__captcha {
		grid-template-columns: minmax(0, 1fr) 26px;
	}

	.bzc-captcha { gap: 10px; padding: 12px; }

	.bzc-captcha input { max-width: 100%; }

	.bzc-form__actions td:nth-child(2) {
		justify-content: stretch;
	}

	.bzc-form__submit { width: 100%; min-width: 0; }

	.bzc-form__hint { text-align: left; }

	.bzc-step { font-size: 11.5px; padding: 6px 11px 6px 7px; }

	.bzc-step__sep { width: 14px; }
}
