/* Young Lions – Riviera Nights typography */
@font-face {
	font-family: 'Riviera Nights';
	src: url('../fonts/RivieraNights-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Riviera Nights';
	src: url('../fonts/RivieraNights-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Riviera Nights';
	src: url('../fonts/RivieraNights-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Riviera Nights';
	src: url('../fonts/RivieraNights-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* Young Lions palette */
:root {
	--yl-blue: #00A9E6;
	--yl-white: #FFFFFF;
	--yl-yellow: #FFC61E;
	--yl-red: #BA0011;
	--yl-text: #3B3B3B;
	--yl-border: #e0e0e0;
	--yl-bg: #FFFFFF;
	--yl-footer-bg: #00A9E6;
	--yl-font: 'Riviera Nights', -apple-system, BlinkMacSystemFont, sans-serif;
}

.yl-submission-wrap {
	font-family: var(--yl-font);
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--yl-text);
	background: var(--yl-bg);
	min-height: 100vh;
}

/* Hero: Young Lions blue logo */
.yl-submission-hero {
	text-align: center;
	padding: 2rem 1.5rem 1.5rem;
	background: var(--yl-white);
}

.yl-hero-logo {
	display: inline-block;
	max-width: 100%;
	height: auto;
	max-height: 5rem;
	width: auto;
	object-fit: contain;
}

.yl-wizard {
	max-width: 36rem;
	margin: 0 auto;
	padding: 2rem 1.5rem;
}

.yl-submission-card {
	background: var(--yl-white);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	padding: 2rem 1.75rem;
}

/* Footer: general partners (white logos on dark background) */
.yl-submission-footer {
	padding: 2rem 1.5rem;
	background: var(--yl-footer-bg);
	text-align: center;
}

.yl-footer-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 1.25rem;
}

.yl-footer-logos {
	display: block;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.yl-footer-logo {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.yl-wizard-steps {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 2px solid var(--yl-border);
}

.yl-wizard-step-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	flex: 1;
	text-align: center;
	opacity: 0.5;
	transition: opacity 0.25s ease, transform 0.2s ease;
}

.yl-wizard-step-indicator[aria-current="step"],
.yl-wizard-step-indicator.yl-step-active {
	opacity: 1;
}

.yl-wizard-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--yl-border);
	color: var(--yl-text);
	font-weight: 600;
	font-size: 0.9rem;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.yl-wizard-step-indicator[aria-current="step"] .yl-wizard-step-num,
.yl-wizard-step-indicator.yl-step-active .yl-wizard-step-num,
.yl-wizard-step-indicator.yl-step-done .yl-wizard-step-num {
	background: var(--yl-blue);
	color: var(--yl-white);
}

.yl-wizard-step-indicator[aria-current="step"] .yl-wizard-step-num {
	transform: scale(1.05);
}

.yl-wizard-step-label {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--yl-text);
}

@media (max-width: 480px) {
	.yl-wizard-steps {
		gap: 0.25rem;
		margin-bottom: 1.5rem;
		padding-bottom: 1rem;
	}

	.yl-wizard-step-label {
		display: none;
	}

	.yl-wizard-step-num {
		width: 1.75rem;
		height: 1.75rem;
		font-size: 0.8rem;
	}
}

.yl-wizard-panel {
	animation: yl-fadeIn 0.3s ease;
}

.yl-wizard-panel-hidden {
	display: none !important;
}

@keyframes yl-fadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.yl-wizard-panel-title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--yl-text);
}

.yl-wizard-panel-desc {
	margin: 0 0 1.5rem;
	font-weight: 300;
	color: var(--yl-text);
	opacity: 0.85;
}

.yl-wizard-block {
	margin-bottom: 1.75rem;
	padding: 1.25rem;
	background: var(--yl-bg);
	border-radius: 8px;
	border: 1px solid var(--yl-border);
}

.yl-wizard-block-title {
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--yl-blue);
}

.yl-wizard-field {
	margin: 0 0 1rem;
}

.yl-wizard-field:last-child {
	margin-bottom: 0;
}

.yl-wizard-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
	color: var(--yl-text);
}

.yl-wizard-field [id^="yl-label-"] {
	color: var(--yl-blue);
}

.yl-wizard-field input[type="text"],
.yl-wizard-field input[type="email"] {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--yl-text);
	background: var(--yl-white);
	border: 1px solid var(--yl-border);
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.yl-wizard-field input:focus {
	outline: none;
	border-color: var(--yl-blue);
	box-shadow: 0 0 0 3px rgba(0, 169, 230, 0.2);
}

.yl-wizard-field input::placeholder {
	color: #999;
}

.yl-wizard .yl-custom-select {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.yl-wizard .yl-custom-select-trigger {
	display: block;
	width: 100%;
	min-height: 2.75rem;
	height: auto;
	padding: 0.6rem 2.25rem 0.6rem 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
	color: var(--yl-text);
	background-color: var(--yl-white);
	border: 1px solid var(--yl-border);
	border-radius: 6px;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	font-family: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233B3B3B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yl-wizard .yl-custom-select-trigger:hover:not(:disabled) {
	border-color: #ccc;
}

.yl-wizard .yl-custom-select-trigger:focus {
	outline: none;
	border-color: var(--yl-blue);
	box-shadow: 0 0 0 3px rgba(0, 169, 230, 0.2);
}

.yl-wizard .yl-custom-select-disabled .yl-custom-select-trigger {
	background-color: var(--yl-bg);
	color: rgba(59, 59, 59, 0.7);
	cursor: not-allowed;
}

.yl-wizard .yl-custom-select-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100001;
	margin-top: 2px;
	max-height: 12rem;
	overflow-y: auto;
	overflow-x: hidden;
	background: var(--yl-white);
	border: 1px solid var(--yl-border);
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	display: none;
	box-sizing: border-box;
	padding-bottom: 0.75rem;
}

.yl-wizard .yl-custom-select-open .yl-custom-select-panel {
	display: block;
}

.yl-wizard .yl-custom-select-option {
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	text-align: left;
	color: var(--yl-text);
	background: transparent;
	border: none;
	cursor: pointer;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: inherit;
}

.yl-wizard .yl-custom-select-option:hover,
.yl-wizard .yl-custom-select-option:focus {
	background: var(--yl-bg);
	outline: none;
}

@media (max-width: 480px) {
	.yl-submission-hero {
		padding: 1.5rem 1rem 1rem;
	}

	.yl-hero-logo {
		max-height: 4rem;
	}

	.yl-submission-footer {
		padding: 1.5rem 1rem;
	}

	.yl-wizard {
		padding: 1.25rem 1rem;
	}

	.yl-submission-card {
		padding: 1.5rem 1.25rem;
		border-radius: 10px;
	}

	.yl-wizard-field input[type="text"],
	.yl-wizard-field input[type="email"] {
		min-height: 2.5rem;
		padding: 0.55rem 0.65rem;
	}

	.yl-wizard .yl-custom-select-trigger {
		min-height: 2.5rem;
		padding: 0.55rem 2rem 0.55rem 0.65rem;
		background-position: right 0.65rem center;
	}
}

.yl-hidden {
	display: none !important;
}

.yl-submit-progress-wrap {
	margin-top: 1.5rem;
	padding: 1rem 0;
}

.yl-submit-progress-bar {
	height: 6px;
	background: var(--yl-border);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.yl-submit-progress-fill {
	height: 100%;
	width: 0%;
	background: var(--yl-blue);
	border-radius: 3px;
	transition: width 0.15s ease;
}

.yl-submit-progress-text {
	font-size: 0.875rem;
	color: var(--yl-text);
	opacity: 0.9;
}

.yl-btn-submitting .yl-btn-submit {
	pointer-events: none;
}

.yl-wizard-actions {
	margin-top: 2rem;
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	flex-wrap: wrap;
}

.yl-wizard-actions-between {
	justify-content: space-between;
}

.yl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 24px;
	font-family: var(--yl-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.yl-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.7);
	outline-offset: 3px;
}

.yl-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.yl-btn-primary {
	background: #ffffff;
	color: var(--yl-blue);
	border-color: var(--yl-blue);
	box-shadow: 0 14px 32px rgba(11, 18, 32, 0.18);
}

.yl-btn-primary:hover:not(:disabled),
.yl-btn-primary:focus-visible {
	background: #FFC61E;
	color: var(--yl-blue);
	border-color: #FFC61E;
	transform: translateY(-2px);
	outline: none;
	box-shadow: 0 18px 44px rgba(11, 18, 32, 0.22);
}

.yl-btn-primary:focus-visible {
	outline: none;
}

.yl-btn-secondary {
	background: var(--yl-white);
	color: var(--yl-text);
	border: 1px solid var(--yl-border);
}

.yl-btn-secondary:hover:not(:disabled),
.yl-btn-secondary:focus {
	background: var(--yl-bg);
	border-color: #ccc;
}

.yl-btn-submit {
	min-width: 10rem;
}

.yl-drop-zone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 12rem;
	margin-bottom: 1.5rem;
	padding: 2rem;
	background: var(--yl-bg);
	border: 2px dashed var(--yl-border);
	border-radius: 8px;
	transition: border-color 0.2s ease, background 0.2s ease;
	cursor: pointer;
}

.yl-drop-zone:hover,
.yl-drop-zone:focus {
	outline: none;
	border-color: var(--yl-blue);
	background: rgba(0, 169, 230, 0.06);
}

.yl-drop-zone:focus {
	box-shadow: 0 0 0 3px rgba(0, 169, 230, 0.2);
}

.yl-drop-zone.yl-drop-zone-dragover {
	border-color: var(--yl-blue);
	background: rgba(0, 169, 230, 0.08);
}

.yl-drop-zone-input {
	position: absolute;
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}

.yl-drop-zone-text {
	font-weight: 500;
	color: var(--yl-text);
	margin-bottom: 0.35rem;
}

.yl-drop-zone-types {
	font-size: 0.875rem;
	color: var(--yl-text);
	opacity: 0.75;
}

.yl-file-list-wrap {
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: var(--yl-bg);
	border: 1px solid var(--yl-border);
	border-radius: 8px;
}

.yl-file-list-wrap.yl-file-list-empty .yl-file-list {
	display: none;
}

.yl-file-list-title {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--yl-text);
}

.yl-file-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yl-file-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--yl-border);
	font-size: 0.9rem;
	color: var(--yl-text);
}

.yl-file-list li:last-child {
	border-bottom: none;
}

.yl-file-list-name {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.yl-file-list-size {
	flex-shrink: 0;
	opacity: 0.8;
	font-size: 0.85rem;
}

.yl-file-list-remove {
	padding: 0.35rem 0.6rem;
	font-size: 0.8rem;
	color: var(--yl-red);
	background: transparent;
	border: 1px solid var(--yl-red);
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.yl-file-list-remove:hover {
	background: var(--yl-red);
	color: var(--yl-white);
}

.yl-file-list-remove:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(186, 0, 17, 0.3);
}

/* Reserve space so errors don't cause layout jump */
.yl-wizard-message {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 0.95rem;
	transition: opacity 0.2s ease;
	min-height: 3.25rem;
}

.yl-wizard-message-hidden {
	visibility: hidden;
	display: block !important;
}

.yl-wizard-message-error {
	background: rgba(186, 0, 17, 0.1);
	border: 1px solid var(--yl-red);
	color: var(--yl-red);
	visibility: visible;
}

.yl-wizard-message-success {
	background: rgba(0, 169, 230, 0.1);
	border: 1px solid var(--yl-blue);
	color: var(--yl-blue);
	visibility: visible;
}

/* Success modal */
body.yl-modal-open {
	overflow: hidden;
}

.yl-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	animation: yl-modalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.yl-modal.yl-modal-hidden {
	display: none !important;
}

@keyframes yl-modalFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.yl-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(59, 59, 59, 0.5);
	cursor: pointer;
	animation: yl-modalBackdropIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes yl-modalBackdropIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.yl-modal-content {
	position: relative;
	width: 100%;
	max-width: 24rem;
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 2rem;
	background: var(--yl-white);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	animation: yl-modalScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

@keyframes yl-modalScaleIn {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(8px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.yl-modal-icon {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: var(--yl-blue);
	color: var(--yl-white);
	font-size: 1.75rem;
	line-height: 3.5rem;
	text-align: center;
	font-weight: bold;
}

.yl-modal-icon::after {
	content: "✓";
}

.yl-modal-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--yl-text);
	line-height: 1.35;
}

.yl-modal-desc {
	margin: 0 0 1rem;
	color: var(--yl-text);
	opacity: 0.9;
	font-size: 0.95rem;
}

.yl-modal-id-wrap {
	margin: 0 0 1.5rem;
	padding: 0.75rem 1rem;
	background: var(--yl-bg);
	border-radius: 8px;
	border: 1px solid var(--yl-border);
	font-size: 0.9rem;
}

.yl-modal-id-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.8rem;
	opacity: 0.85;
}

.yl-modal-id-value {
	color: var(--yl-blue);
	font-family: ui-monospace, monospace;
	word-break: break-all;
}

.yl-modal-close {
	width: 100%;
}

.yl-modal-close:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 169, 230, 0.35);
}

.yl-footer-logo {
	transition: transform 0.2s ease, filter 0.2s ease;
}

.yl-footer-logo:hover {
	transform: scale(1.05);
	filter: brightness(1.2);
}