/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

/* =========================================================
   KÖNYVELŐZÓNA – KOMPAKT DEVIZAÁRFOLYAMOK
   ========================================================= */

.kz-fx-card,
.kz-fx-card * {
	box-sizing: border-box;
}

.kz-fx-card {
	width: 100%;
	margin: 0;
	padding: 0;
	color: #3d3d3f;
	background: transparent;
	font-family: inherit;
}

/* Táblázat */

.kz-fx-table {
	width: 100%;
	margin: 18px 0 10px;
	border-top: 1px solid #b8b8b8;
	border-left: 1px solid #b8b8b8;
	background: #ffffff;
}

.kz-fx-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 142px;
	align-items: stretch;
	width: 100%;
	min-height: 50px;
	border-right: 1px solid #b8b8b8;
	border-bottom: 1px solid #b8b8b8;
}

/* Devizanév */

.kz-fx-currency {
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 9px 12px;
	color: #3d3d3f;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.kz-fx-code {
	flex: 0 0 auto;
	font-weight: 500;
}

.kz-fx-separator {
	flex: 0 0 auto;
	margin: 0 5px;
}

.kz-fx-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Árfolyam és változás */

.kz-fx-value-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px;
	align-items: center;
	gap: 5px;
	min-width: 0;
	padding: 7px 9px;
	border-left: 1px solid #b8b8b8;
	text-align: right;
}

.kz-fx-rate {
	color: #3d3d3f;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.kz-fx-change {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	font-weight: 700;
	line-height: 1;
}

.kz-fx-arrow {
	display: block;
	font-size: 15px;
	line-height: 1;
}

.kz-fx-percentage {
	display: block;
	margin-top: 3px;
	font-size: 9px;
	line-height: 1;
	white-space: nowrap;
}

.kz-fx-change.is-up {
	color: #2f8f6b;
}

.kz-fx-change.is-down {
	color: #c5483d;
}

.kz-fx-change.is-same {
	color: #777777;
}

/* Forrás és dátum */

.kz-fx-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 0 1px;
	color: #777777;
	font-size: 10px;
	line-height: 1.4;
}

.kz-fx-source {
	font-weight: 600;
}

.kz-fx-footer-separator {
	color: #aaa39a;
}

.kz-fx-stale {
	color: #9d6e00;
	font-weight: 600;
}

/* Hibaüzenet */

.kz-fx-error {
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	color: #6b5400;
	background: #fff9df;
	border: 1px solid #d9bd45;
	font-size: 13px;
	line-height: 1.4;
}

.kz-fx-debug {
	display: block;
	margin-top: 7px;
	font-family: monospace;
	font-size: 11px;
	line-height: 1.4;
	word-break: break-word;
}

/* Mobil */

@media (max-width: 767px) {
	.kz-fx-row {
		grid-template-columns: minmax(0, 1fr) 128px;
		min-height: 48px;
	}

	.kz-fx-currency {
		padding: 8px 9px;
		font-size: 14px;
	}

	.kz-fx-value-group {
		grid-template-columns: minmax(0, 1fr) 38px;
		padding: 6px 7px;
	}

	.kz-fx-rate {
		font-size: 16px;
	}

	.kz-fx-arrow {
		font-size: 14px;
	}

	.kz-fx-percentage {
		font-size: 8px;
	}
}