/* FestgeldAdmin - minimal table styles. ASCII comments only. */

.fga-wrap {
	margin: 0 0 2em;
}

/* Tab bar: arrow - scroller - arrow */
.fga-tabsbar {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid #d7dde5;
	margin-bottom: 1em;
}

.fga-tabs {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 4px;
	flex: 1 1 auto;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.fga-tabs::-webkit-scrollbar {
	display: none;
}

.fga-tab {
	flex: 0 0 auto;
	scroll-snap-align: start;
	appearance: none;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	padding: 10px 16px 12px;
	margin: 0;
	font: inherit;
	cursor: pointer;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	line-height: 1.2;
	white-space: nowrap;
}

.fga-tab-label {
	font-size: 16px;
	font-weight: 400;
	color: #ff9c11;
}

.fga-tab-max {
	font-size: 13px;
	font-weight: 400;
	color: #718096;
	white-space: nowrap;
}

.fga-tab:hover .fga-tab-label {
	color: #d47c05;
}

/* Active tab: solid blue block, all text white */
.fga-tab.is-active {
	background: #2d5ca4;
	border-color: #2d5ca4;
}

.fga-tab.is-active .fga-tab-label {
	color: #fff;
	font-weight: 600;
}

.fga-tab.is-active .fga-tab-max {
	color: #fff;
	opacity: 0.85;
}

.fga-tab.is-active:hover .fga-tab-label {
	color: #fff;
}

/* Scroll arrows */
.fga-arrow {
	flex: 0 0 auto;
	width: 34px;
	appearance: none;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	margin-right: 4px;
	font-size: 20px;
	line-height: 1;
	color: #4a5565;
	cursor: pointer;
}

.fga-arrow-next {
	margin-right: 0;
	margin-left: 4px;
}

.fga-arrow:hover:not(:disabled) {
	background: #f5f7fa;
	color: #000;
}

/* Disabled arrow: no hover feedback at all */
.fga-arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
	background: #fff;
	color: #4a5565;
}

.fga-arrow[hidden] {
	display: none;
}

.fga-intro {
	margin: 0 0 1em;
	color: #4a5565;
}

/* Rows */
.fga-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fga-row {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr 1.1fr 0.9fr;
	gap: 12px;
	align-items: center;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 4px;
	padding: 16px;
}

.fga-cell {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fga-bank img {
	max-width: 160px;
	height: auto;
	display: block;
}

/* Values */
.fga-value {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
}

.fga-pa {
	font-size: 14px;
	font-weight: 400;
	color: #718096;
	margin-left: 4px;
}

/* Labels below the values */
.fga-label {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	color: #718096;
	margin-top: 3px;
}

.fga-cta {
	align-items: stretch;
}

.fga-btn {
	display: block;
	text-align: center;
	background: #ff9c11;
	color: #fff;
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 3px;
	font-weight: 600;
	line-height: 1.2;
}

.fga-btn:hover,
.fga-btn:focus {
	background: #e58a08;
	color: #fff;
}

.fga-note {
	margin-top: 1.2em;
	font-size: 13px;
	line-height: 1.6;
	color: #718096;
}

/* Mobile */
@media (max-width: 900px) {
	.fga-row {
		grid-template-columns: 1fr 1fr;
	}

	.fga-bank {
		grid-column: 1 / -1;
	}

	.fga-cta {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.fga-arrow {
		display: none;
	}

	.fga-tab {
		padding: 9px 13px 11px;
	}

	.fga-tab-label {
		font-size: 15px;
	}

	.fga-tab-max {
		font-size: 12px;
	}
}
