/* GoUni Online Application V2 */
.gu-apply-hero p { max-width: 760px; color: var(--gu-muted); }
.gu-apply-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gu-apply-hero__chips span { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 11px; border: 1px solid var(--gu-line); border-radius: 999px; background: var(--gu-white); color: var(--gu-navy); font-size: .88rem; font-weight: 600; }

.gu-application-v2 { background: var(--gu-bg-soft); }
.gu-application-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 30px; align-items: start; }
.gu-application-main { min-width: 0; }
.gu-application-sidebar { display: grid; gap: 18px; position: sticky; top: 104px; }

.gu-apply-market-note, .gu-apply-prefill { margin: 0 0 22px; border-radius: 16px; padding: 16px 18px; background: var(--gu-white); border: 1px solid var(--gu-line); box-shadow: var(--gu-shadow-sm); }
.gu-apply-market-note { border-left: 4px solid var(--gu-amber); }
.gu-apply-prefill { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.gu-apply-prefill > div { display: grid; gap: 3px; }
.gu-apply-prefill strong { color: var(--gu-ink); font-size: 1.03rem; }
.gu-apply-prefill span:not(.gu-eyebrow):not(.gu-apply-prefill__badge) { color: var(--gu-muted); font-size: .9rem; }
.gu-apply-prefill__badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--gu-bg-tint); color: var(--gu-blue-600); font-size: .78rem; font-weight: 700; }

.gu-apply-progress { background: var(--gu-white); border: 1px solid var(--gu-line); border-radius: 18px 18px 0 0; padding: 20px 22px 16px; }
.gu-apply-progress__bar { height: 5px; overflow: hidden; background: var(--gu-line); border-radius: 999px; margin-bottom: 15px; }
.gu-apply-progress__bar span { display: block; width: 0; height: 100%; background: var(--gu-blue); border-radius: inherit; transition: width .25s ease; }
.gu-apply-progress ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; }
.gu-apply-progress li { display: flex; align-items: center; gap: 7px; color: var(--gu-muted); font-size: .78rem; min-width: 0; }
.gu-apply-progress li span { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid var(--gu-line); border-radius: 50%; background: var(--gu-white); font-weight: 700; }
.gu-apply-progress li b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.gu-apply-progress li.is-active { color: var(--gu-ink); }
.gu-apply-progress li.is-active span { background: var(--gu-blue); border-color: var(--gu-blue); color: var(--gu-white); }
.gu-apply-progress li.is-done { color: var(--gu-blue-600); }
.gu-apply-progress li.is-done span { background: var(--gu-bg-tint); border-color: var(--gu-blue); color: var(--gu-blue-600); }

.gu-apply-form { background: var(--gu-white); border: 1px solid var(--gu-line); border-top: 0; border-radius: 0 0 18px 18px; box-shadow: var(--gu-shadow); padding: 30px; }
.gu-apply-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.gu-apply-step[hidden] { display: none !important; }
.gu-apply-step legend { width: 100%; color: var(--gu-ink); font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.2; font-weight: 700; padding: 0; margin: 0 0 8px; }
.gu-apply-step legend span { display: block; color: var(--gu-blue-600); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.gu-apply-step__intro { color: var(--gu-muted); margin-bottom: 24px; max-width: 680px; }
.gu-apply-form .gu-field small { display: block; margin-top: 6px; color: var(--gu-muted); font-size: .78rem; line-height: 1.45; }
.gu-apply-form input[type="file"] { padding: 12px; background: var(--gu-bg-soft); }
.gu-apply-form input:invalid:focus, .gu-apply-form select:invalid:focus, .gu-apply-form textarea:invalid:focus { border-color: var(--gu-amber-600); }

.gu-conditional-panel { margin: 18px 0; padding: 18px; border: 1px solid var(--gu-line); border-radius: 14px; background: var(--gu-bg-soft); }
.gu-conditional-panel[hidden] { display: none !important; }
.gu-conditional-panel h3 { font-size: 1rem; margin-bottom: 2px; }
.gu-conditional-panel > p { color: var(--gu-muted); font-size: .85rem; margin-bottom: 14px; }

.gu-apply-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--gu-line); }
.gu-apply-actions .gu-btn { min-width: 128px; }
.gu-apply-submit-note { margin: 13px 0 0; color: var(--gu-muted); font-size: .78rem; text-align: right; }

.gu-doc-safety { display: grid; gap: 4px; padding: 14px 16px; margin-bottom: 18px; background: var(--gu-bg-tint); border: 1px solid var(--gu-line); border-radius: 12px; }
.gu-doc-safety strong { color: var(--gu-ink); }
.gu-doc-safety span { color: var(--gu-body); font-size: .88rem; }
.gu-upload-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.gu-upload-list li { padding: 8px 10px; border-radius: 9px; background: var(--gu-bg-soft); color: var(--gu-body); font-size: .82rem; overflow-wrap: anywhere; }

.gu-application-review { display: grid; gap: 14px; margin-bottom: 20px; }
.gu-application-review section { border: 1px solid var(--gu-line); border-radius: 14px; padding: 16px; background: var(--gu-bg-soft); }
.gu-application-review h3 { font-size: 1rem; margin-bottom: 10px; }
.gu-application-review dl { display: grid; grid-template-columns: minmax(110px, .6fr) minmax(0, 1.4fr); gap: 7px 14px; margin: 0; }
.gu-application-review dt { color: var(--gu-muted); font-size: .82rem; }
.gu-application-review dd { margin: 0; color: var(--gu-ink); font-size: .88rem; overflow-wrap: anywhere; }
.gu-consent-box { display: grid; gap: 11px; padding: 17px; border: 1px solid var(--gu-line); border-radius: 14px; }
.gu-consent-box .gu-check { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--gu-body); font-size: .88rem; line-height: 1.5; }
.gu-consent-box .gu-check input { flex: 0 0 auto; margin-top: 4px; }
.gu-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.gu-apply-error { margin-top: 18px; background: #fff4f1; border-color: #efc8bd; }

.gu-apply-side-card { background: var(--gu-white); border: 1px solid var(--gu-line); border-radius: 16px; box-shadow: var(--gu-shadow-sm); padding: 20px; }
.gu-apply-side-card h3 { font-size: 1.05rem; }
.gu-apply-side-card p { color: var(--gu-muted); font-size: .88rem; }
.gu-apply-side-card--muted { background: var(--gu-bg-tint); }
.gu-apply-next-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 16px; }
.gu-apply-next-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.gu-apply-next-list li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gu-bg-tint); color: var(--gu-blue-600); font-size: .8rem; font-weight: 800; }
.gu-apply-next-list strong { color: var(--gu-ink); font-size: .9rem; }
.gu-apply-next-list p { margin: 2px 0 0; font-size: .8rem; line-height: 1.5; }

.gu-application-success { background: var(--gu-white); border: 1px solid var(--gu-line); border-radius: 20px; box-shadow: var(--gu-shadow); padding: clamp(28px, 5vw, 46px); text-align: center; }
.gu-application-success[hidden] { display: none !important; }
.gu-success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--gu-bg-tint); color: var(--gu-blue-600); font-size: 1.7rem; font-weight: 800; }
.gu-reference { display: inline-block; margin: 4px 0 18px; padding: 10px 18px; border-radius: 12px; background: var(--gu-navy); color: var(--gu-white); font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; }
.gu-application-success > p { max-width: 620px; margin-left: auto; margin-right: auto; color: var(--gu-muted); }
.gu-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.gu-success-email-note { margin-top: 14px !important; font-size: .78rem; }

@media (max-width: 980px) {
	.gu-application-layout { grid-template-columns: 1fr; }
	.gu-application-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gu-application-sidebar .gu-apply-side-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
	.gu-application-v2 .gu-container { padding-left: 14px; padding-right: 14px; }
	.gu-apply-progress { padding: 16px 14px 12px; }
	.gu-apply-progress ol { gap: 3px; }
	.gu-apply-progress li { justify-content: center; }
	.gu-apply-progress li b { display: none; }
	.gu-apply-form { padding: 22px 16px; }
	.gu-apply-prefill { align-items: flex-start; }
	.gu-application-sidebar { grid-template-columns: 1fr; }
	.gu-application-sidebar .gu-apply-side-card:first-child { grid-column: auto; }
	.gu-apply-actions { align-items: stretch; }
	.gu-apply-actions .gu-btn { flex: 1; min-width: 0; }
	.gu-application-review dl { grid-template-columns: 1fr; gap: 2px; }
	.gu-application-review dd { margin-bottom: 9px; }
	.gu-success-actions { flex-direction: column; }
	.gu-success-actions .gu-btn { width: 100%; }
	.gu-apply-submit-note { text-align: left; }
}
