/* ML picker footer (device-audit tablo_intezmeny T01 HIGH + T02 MED).
 * Core sunshine.css:698 renders .sunshine--multi-image-select--header as a
 * viewport-fixed bottom bar (width 65% right, 100% in some modals), one flex
 * row, no wrap, 40px side padding. Live picker = our warm-editorial footer
 * ("0 / 10 kép kiválasztva" + "Kiválasztott képek alkalmazása"). Result:
 * T01: on phones the long button is pushed past the right edge and the modal
 * clips it (no scroll); T02: on desktop the bar misses the centered 750px
 * modal (core :563) and overlaps content behind it. Core stays untouched:
 * inside the modal the picker becomes a flex column (sources top, list
 * scrolls, footer pinned at the picker bottom = modal width), wrapping,
 * 44px button, safe-area padding. Non-modal pickers keep core behavior. */
#sunshine--modal .sunshine--multi-image-select {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
#sunshine--modal .sunshine--multi-image-select--sources {
	flex: 0 0 auto;
}
#sunshine--modal .sunshine--multi-image-select--list {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}
#sunshine--modal .sunshine--multi-image-select--header {
	position: static;
	left: auto;
	right: auto;
	width: auto;
	max-width: 100%;
	margin: 0;
	flex: 0 0 auto;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: #FFF;
	box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}
#sunshine--modal .sunshine--multi-image-select--header p {
	margin: 0;
}
#sunshine--modal .sunshine--multi-image-select--header .button {
	min-height: 44px;
}
#sunshine--modal .ml-picker-limit-note {
	flex: 0 0 auto;
	margin: 0;
	padding: 8px 16px;
	background: #FFF8E1;
	border-top: 1px solid #F0E0B0;
	font-size: 14px;
}
@media (max-width: 600px) {
	#sunshine--modal .sunshine--multi-image-select--header {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
	}
	#sunshine--modal .sunshine--multi-image-select--header .button {
		width: 100%;
	}
}
