/* Banki Reviews UI – „Vélemény írása” gomb és felugró ablak, a bankihitelkarosultak.com arculatához (#16163F, #D3B574, Merriweather/Montserrat). */
.bhk-review-cta { display: flex; justify-content: center; margin: 8px 0 32px; }
.bhk-review-button {
	background: #D3B574;
	color: #fff;
	border: 0;
	border-radius: 0;
	padding: 16px 36px;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease;
}
.bhk-review-button:hover, .bhk-review-button:focus-visible { background: #16163F; color: #fff; }
.bhk-review-button:focus-visible { outline: 3px solid #D3B574; outline-offset: 3px; }

html.bhk-dialog-open { overflow: hidden; }

.bhk-review-dialog {
	width: min(640px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-top: 4px solid #D3B574;
	box-shadow: 0 24px 64px rgba(22, 22, 63, .35);
	overflow: auto;
	color: #545353;
	font-family: "Montserrat", sans-serif;
}
.bhk-review-dialog::backdrop { background: rgba(22, 22, 63, .6); }
.bhk-review-dialog__inner { position: relative; padding: 32px 36px 28px; }
/* A × görgetés közben is a látható terület tetején marad (sticky), így kis kijelzőn is mindig bezárható */
.bhk-review-dialog__close {
	position: sticky; top: 6px; z-index: 3;
	float: right; margin: -20px -22px -44px 0;
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255, 255, 255, .92) !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0;
	font-size: 30px; line-height: 1; color: #16163F !important; cursor: pointer;
}
.bhk-review-dialog__close:hover, .bhk-review-dialog__close:focus-visible { color: #B8963F !important; }
.bhk-review-dialog__close:focus { outline: none; }
.bhk-review-dialog__close:focus-visible { outline: 2px solid #D3B574; outline-offset: 2px; }
.bhk-review-dialog__title { margin: 0 40px 20px 0; font-family: "Merriweather", serif; font-size: 24px; color: #16163F; }
.bhk-review-dialog__title:focus { outline: none; }

/* Űrlap – világos, lekerekített mezők, átlátható elrendezés */
.bhk-review-dialog .glsr-form { display: flex; flex-direction: column; gap: 18px; }
.bhk-review-dialog .glsr-field { margin: 0 !important; }
.bhk-review-dialog .glsr-label, .bhk-review-dialog .glsr-label span {
	display: block; margin: 0 0 6px; padding: 0;
	font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 600; color: #16163F;
}
/* Kötelező mezők jelölése: * */
.bhk-review-dialog .glsr-required > .glsr-label > span::after,
.bhk-review-dialog .glsr-field-choice.glsr-required label::after { content: " *"; color: #b3261e; font-weight: 600; }
/* Mezők: legalább 16 px betű (iPhone-on különben a Safari ránagyít), legalább 48 px magas érintési felület */
.bhk-review-dialog input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
.bhk-review-dialog textarea {
	width: 100%; box-sizing: border-box;
	min-height: 48px !important; height: auto !important;
	padding: 12px 14px !important;
	font-family: "Montserrat", sans-serif; font-size: 16px !important; line-height: 1.5; color: #222;
	background: #fafafb !important;
	border: 1px solid #d9d9df !important; border-radius: 10px !important;
	box-shadow: none !important;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.bhk-review-dialog input::placeholder, .bhk-review-dialog textarea::placeholder { color: #8a8a94; opacity: 1; }
.bhk-review-dialog input:focus, .bhk-review-dialog textarea:focus {
	outline: none; background: #fff !important;
	border-color: #D3B574 !important; box-shadow: 0 0 0 3px rgba(211, 181, 116, .25) !important;
}
/* Vélemény: nagy, többsoros, görgethető, függőlegesen nagyítható mező – karakterkorlát nincs */
.bhk-review-dialog textarea { min-height: 200px !important; resize: vertical; overflow-y: auto; }
/* Csillagok: nagyobb, ujjal biztosan eltalálható célpontok */
.bhk-review-dialog .glsr, .bhk-review-dialog .glsr-form, .bhk-review-dialog .glsr-star-rating { --glsr-form-star: 44px; }
/* Hozzájárulás */
.bhk-review-dialog .glsr-field-choice label { min-height: 44px; font-size: 14px; line-height: 1.5; font-weight: 400; color: #444; }
/* Beküldés */
.bhk-review-dialog button[type=submit] {
	min-height: 52px; padding: 14px 28px !important;
	border-radius: 10px !important;
	background: #D3B574 !important; color: #fff !important; border: 0 !important;
	font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
}
.bhk-review-dialog button[type=submit]:hover, .bhk-review-dialog button[type=submit]:focus-visible { background: #16163F !important; }
/* Visszajelző üzenet: az ikonbetűtípus nélkül megjelenő üres négyzet helyett egyszerű pipa */
.bhk-review-dialog .glsr-form-message::before { content: none !important; }
.bhk-review-dialog .glsr-form-success::before { content: "\2714\00a0" !important; font-family: Arial, sans-serif !important; }
.bhk-review-dialog .glsr-form-message { margin: 16px 0; padding: 12px 14px; font-size: 15px; line-height: 1.5; background: #f3f8f4; border-left: 3px solid #2e7d4f; }
.bhk-review-dialog .glsr-form-failed { background: #fbf1f1; border-left-color: #b3261e; }
/* Az ablakban lévő űrlap ne kapjon még egy kártyakeretet */
.bhk-review-dialog .glsr-form { margin: 0 !important; padding: 0 !important; box-shadow: none !important; background: transparent !important; }
.bhk-review-dialog { border-radius: 14px; }

@media (max-width: 767px) {
	.bhk-review-button { width: 100%; padding: 16px 20px; }
	.bhk-review-dialog {
		width: 100vw; max-width: 100vw;
		height: 100dvh; max-height: 100dvh;
		margin: 0;
		border-top-width: 3px;
		border-radius: 0;
	}
	.bhk-review-dialog textarea { min-height: 180px !important; }
	/* A névmező példaszövege keskeny telefonon is teljes hosszában kiférjen (a beírt szöveg 16 px marad) */
	.bhk-review-dialog .glsr-field-text input::placeholder { font-size: clamp(12px, 3.4vw, 16px); }
	.bhk-review-dialog__inner { padding: 24px 18px calc(32px + env(safe-area-inset-bottom)); }
	.bhk-review-dialog__close { margin: -16px -10px -44px 0; }
	.bhk-review-dialog { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.bhk-review-dialog button[type=submit] { width: 100%; }
	.bhk-review-dialog__title { font-size: 20px; }
}
