/* IBAN Checker — scoped styles. Override the variables below from Elementor → Custom CSS if needed. */
.ibanc {
	--ibanc-accent: #F5A623;
	--ibanc-accent-hover: #E8961A;
	--ibanc-text: #1b1b1b;
	--ibanc-muted: #6b6b6b;
	--ibanc-border: #e7e3dd;
	--ibanc-surface: #ffffff;
	--ibanc-chip-bg: #ffffff;
	--ibanc-ok: #1e8a4c;
	--ibanc-ok-bg: #e7f5ed;
	--ibanc-bad: #c23b2e;
	--ibanc-bad-bg: #fcebe9;
	--ibanc-warn: #9a6a00;
	--ibanc-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--ibanc-radius: 22px;

	box-sizing: border-box;
	max-width: 680px;
	margin: 0 auto;
	padding: 28px 26px 22px;
	background: var(--ibanc-surface);
	border: 1px solid var(--ibanc-border);
	border-radius: var(--ibanc-radius);
	box-shadow: 0 18px 50px -24px rgba(60, 40, 10, .18), 0 2px 6px rgba(0, 0, 0, .03);
	color: var(--ibanc-text);
	font-family: inherit;
	line-height: 1.4;
	text-align: left;
}
.ibanc *, .ibanc *::before, .ibanc *::after { box-sizing: border-box; }

.ibanc .ibanc__form { margin: 0; }

.ibanc .ibanc__label {
	display: block;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #5a5a5a;
}

.ibanc .ibanc__row { display: flex; gap: 10px; align-items: stretch; }

.ibanc .ibanc__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 56px;
	margin: 0;
	padding: 0 18px;
	background: #fff;
	border: 1px solid var(--ibanc-border);
	border-radius: 12px;
	box-shadow: none;
	color: var(--ibanc-text);
	font-family: var(--ibanc-mono);
	font-size: 20px;
	letter-spacing: .06em;
	text-transform: uppercase;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.ibanc .ibanc__input::placeholder { color: #b9b4ad; text-transform: none; }
.ibanc .ibanc__input:focus {
	border-color: var(--ibanc-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ibanc-accent) 22%, transparent);
}

.ibanc .ibanc__btn {
	flex: 0 0 auto;
	height: 56px;
	min-width: 112px;
	margin: 0;
	padding: 0 26px;
	background: var(--ibanc-accent);
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color .15s, transform .05s;
}
.ibanc .ibanc__btn:hover, .ibanc .ibanc__btn:focus { background: var(--ibanc-accent-hover); color: #fff; }
.ibanc .ibanc__btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--ibanc-accent) 35%, transparent); outline-offset: 2px; }
.ibanc .ibanc__btn:active { transform: translateY(1px); }
.ibanc .ibanc__btn[disabled] { opacity: .75; cursor: progress; }
.ibanc .ibanc__btn.is-loading .ibanc__btn-text { visibility: hidden; }
.ibanc .ibanc__btn.is-loading { position: relative; }
.ibanc .ibanc__btn.is-loading::after {
	content: ""; position: absolute; inset: 0; margin: auto;
	width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
	animation: ibanc-spin .7s linear infinite;
}
@keyframes ibanc-spin { to { transform: rotate(360deg); } }

.ibanc .ibanc__chips {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	margin: 16px 0 0;
}
.ibanc .ibanc__chip {
	margin: 0;
	padding: 8px 14px;
	background: var(--ibanc-chip-bg);
	border: 1px solid var(--ibanc-border);
	border-radius: 999px;
	box-shadow: none;
	color: #3a3a3a;
	font-family: var(--ibanc-mono);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
.ibanc .ibanc__chip:hover, .ibanc .ibanc__chip:focus { background: #faf8f5; border-color: #d6d0c7; color: #1b1b1b; }

/* Result */
.ibanc .ibanc__result {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--ibanc-border);
	animation: ibanc-in .2s ease-out;
}
.ibanc .ibanc__result[hidden] { display: none; }
@keyframes ibanc-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.ibanc .ibanc__badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 14px; font-weight: 700;
	background: var(--ibanc-ok-bg); color: var(--ibanc-ok);
}
.ibanc .ibanc__badge svg { width: 14px; height: 14px; flex: none; }
.ibanc .ibanc__badge.is-bad { background: var(--ibanc-bad-bg); color: var(--ibanc-bad); }

.ibanc .ibanc__iban {
	margin: 18px 0 16px;
	font-family: var(--ibanc-mono);
	font-size: 19px;
	letter-spacing: .08em;
	color: var(--ibanc-text);
	word-break: break-all;
}

.ibanc .ibanc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ibanc .ibanc__cell {
	padding: 15px 16px;
	border: 1px solid var(--ibanc-border);
	border-radius: 12px;
	background: #fff;
	min-width: 0;
}
.ibanc .ibanc__k {
	display: block; margin-bottom: 8px;
	font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--ibanc-muted);
}
.ibanc .ibanc__v { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--ibanc-text); overflow-wrap: anywhere; }
.ibanc .ibanc__v.is-ok { color: var(--ibanc-ok); }
.ibanc .ibanc__v.is-bad { color: var(--ibanc-bad); }
.ibanc .ibanc__v.is-muted { color: var(--ibanc-muted); font-weight: 600; }
.ibanc .ibanc__cc {
	display: inline-block; padding: 3px 6px;
	background: #f3f1ee; border: 1px solid #e6e2dc; border-radius: 4px;
	font-family: var(--ibanc-mono); font-size: 11px; font-weight: 700; color: #333; line-height: 1.2;
}

.ibanc .ibanc__msg {
	margin: 14px 0 0;
	padding: 11px 14px;
	border-radius: 10px;
	background: #faf7f2;
	font-size: 13.5px;
	color: #4a4a4a;
}
.ibanc .ibanc__msg.is-bad { background: var(--ibanc-bad-bg); color: #8e2a20; }

.ibanc .ibanc__note {
	margin: 20px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--ibanc-muted);
	text-align: center;
}
.ibanc .ibanc__result:not([hidden]) ~ .ibanc__note { margin-top: 18px; }

@media (max-width: 560px) {
	.ibanc { padding: 22px 16px 18px; border-radius: 18px; }
	.ibanc .ibanc__row { flex-direction: column; }
	.ibanc .ibanc__input { font-size: 15px; letter-spacing: .03em; height: 52px; padding: 0 14px; }
	.ibanc .ibanc__btn { width: 100%; height: 50px; }
	.ibanc .ibanc__grid { grid-template-columns: 1fr; }
	.ibanc .ibanc__iban { font-size: 16px; }
}
