/*
 * The waiting-list form on the Oscar page (fluentora.com/oscar). Since task 5.1p (Umer, 15 November 2026) the page is
 * an ordinary Elementor page and the plugin draws only the form, as a white card inside an Elementor Shortcode widget:
 * [oscar_waiting_list_form kind="hero"] and kind="final". Everything is scoped to .osw (the card carries "osw os"),
 * so the theme and Elementor do not clash with it, and nothing outside the card is changed.
 */
.osw {
	--ink: #231F20; --muted: #5E5A58; --orange: #FF4D04; --orange-hover: #EE4400; --deep: #BC3500;
	--paper: #FAF7F2; --line: rgba(35,31,32,.1); --error: #C5281F; --r-s: 12px;
	--ease-out: cubic-bezier(.23, 1, .32, 1);
	position: relative; display: block; width: 100%; max-width: 560px; margin: 0 auto; padding: 26px 26px 24px;
	border-radius: 24px; background: #fff; color: var(--ink); text-align: left;
	box-shadow: 0 1px 2px rgba(35,31,32,.06), 0 24px 48px -28px rgba(35,31,32,.45);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.osw.osw-final { max-width: 620px; padding: 28px; }
.osw *, .osw *::before, .osw *::after { box-sizing: border-box; }
.osw.os p, .osw.os strong, .osw.os span, .osw.os a, .osw.os label, .osw.os button, .osw.os input, .osw.os select, .osw.os form {
	font-family: inherit; letter-spacing: normal; text-transform: none;
}
.osw.os p { margin: 0; padding: 0; color: inherit; }
.osw.os img, .osw.os svg { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
.osw.os a { color: inherit; }
.osw.os button { margin: 0; box-shadow: none; text-shadow: none; }
.osw.os button, .osw.os input, .osw.os select { font: inherit; color: inherit; }
.osw [hidden] { display: none !important; }
.osw.os :focus-visible { outline: 3px solid rgba(255,77,4,.55); outline-offset: 3px; border-radius: 6px; }

/* ----- the form ----- */
.osw.os .osw-form, .osw.os .osw-fields { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.osw.os .osw-form-head { display: flex; flex-direction: column; gap: 4px; }
.osw.os .osw-form-head strong { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.osw.os .osw-sub { font-size: 14px; line-height: 1.5; color: var(--muted); }
.osw.os .osw-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.osw.os .osw-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.osw.os .osw-field > span:first-child { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.osw.os .osw-field input, .osw.os .osw-field select {
	display: block; width: 100%; height: 48px; min-height: 0; margin: 0; padding: 0 14px; border-radius: var(--r-s); border: 1.5px solid #D7D9DD;
	background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4; font-weight: 400; box-shadow: none; outline: none;
	-webkit-appearance: none; appearance: none; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.osw.os .osw-field input::placeholder { color: #8E9399; opacity: 1; }
.osw.os .osw-field input:focus, .osw.os .osw-field select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,77,4,.14); outline: none; }
.osw.os .osw-field input.is-wrong { border-color: var(--error); }
.osw.os .osw-select { position: relative; display: block; }
.osw.os .osw-select select { padding-right: 40px; cursor: pointer; }
.osw.os .osw-select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #5C636B; }
.osw.os .osw-consent { position: relative; display: flex; gap: 10px; align-items: flex-start; }
.osw.os .osw-consent input { position: absolute; left: -12px; top: -12px; width: 44px; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.osw.os .osw-box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #969AA0; background: #fff; display: flex; align-items: center; justify-content: center; transition: background-color 120ms ease, border-color 120ms ease; }
.osw.os .osw-box svg { opacity: 0; transition: opacity 120ms ease; }
.osw.os .osw-consent input:checked + .osw-box { background: var(--orange); border-color: var(--orange); }
.osw.os .osw-consent input:checked + .osw-box svg { opacity: 1; }
.osw.os .osw-consent input:focus-visible + .osw-box { outline: 3px solid rgba(255,77,4,.55); outline-offset: 2px; }
.osw.os .osw-consent-text { font-size: 13px; line-height: 1.5; color: var(--muted); }
.osw.os .osw-consent-text label { cursor: pointer; margin: 0; font-size: inherit; font-weight: 400; color: inherit; }
.osw.os .osw-consent-text a, .osw.os .osw-success a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.osw.os .osw-error { font-size: 13px; line-height: 1.4; color: var(--error); }
.osw.os .osw-ts:empty { display: none; }
.osw.os .osw-ts { max-width: 100%; overflow: hidden; min-height: 65px; margin: 2px 0 4px; }
.osw.os .osw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.osw.os .osw-actions { display: flex; flex-direction: column; gap: 10px; }
.osw.os .osw-nospam { font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }

/* ----- the button ----- */
.osw.os .osw-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 6px 6px 6px 24px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font-size: 16px; line-height: 1.2; font-weight: 600; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform 160ms var(--ease-out), background-color 150ms ease; }
.osw.os .osw-btn .osw-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; transition: transform 200ms var(--ease-out), background-color 150ms ease; }
.osw.os .osw-btn.osw-block { width: 100%; }
.osw.os .osw-btn.osw-light { background: #fff; color: var(--ink); }
.osw.os .osw-btn.osw-light .osw-ic { background: var(--orange); color: #fff; }
.osw.os .osw-btn:active { transform: scale(.97); }
.osw.os .osw-btn[disabled] { opacity: .7; cursor: default; }
@media (hover: hover) and (pointer: fine) {
	.osw.os .osw-btn:hover { background: var(--orange-hover); color: #fff; }
	.osw.os .osw-btn.osw-light:hover { background: #FFF4EE; color: var(--ink); }
	.osw.os .osw-btn:hover .osw-ic { transform: translate(2px, -2px); }
}

/* ----- after sending, and the message after the email links ----- */
.osw.os .osw-success { display: flex; gap: 14px; align-items: center; }
.osw.os .osw-success img { flex: none; width: 72px; height: 72px; border-radius: 50%; }
.osw.os .osw-success div { display: flex; flex-direction: column; gap: 4px; }
.osw.os .osw-success strong { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--deep); }
.osw.os .osw-success span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.osw.os .osw-final-done { display: block; font-size: 18px; font-weight: 600; color: var(--deep); text-align: center; }
.osw.os .osw-wait { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.osw.os .osw-wait-done { margin-top: 14px; }
.osw.os .osw-wait .osw-btn { flex: none; min-height: 44px; padding-left: 18px; font-size: 14px; background: var(--ink); color: #fff; }
.osw.os .osw-wait .osw-btn .osw-ic { width: 32px; height: 32px; }
.osw.os .osw-notice { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 15px; line-height: 1.5; font-weight: 500; }
.osw.os .osw-notice .osw-wait { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.osw.os .osw-notice .osw-wait .osw-btn { background: #fff; color: var(--ink); }

@media (max-width: 720px) {
	.osw { padding: 22px 16px 20px; border-radius: 20px; }
	.osw.osw-final { padding: 22px 18px; }
	.osw.os .osw-pair { grid-template-columns: minmax(0, 1fr); }
	.osw.os .osw-btn { font-size: 15px; gap: 10px; padding-left: 18px; }
	.osw.os .osw-btn .osw-ic { width: 36px; height: 36px; }
	.osw.os .osw-wait { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
	.osw.os .osw-success, .osw.os .osw-final-done, .osw.os .osw-wait-done { animation: oswRise 240ms var(--ease-out) both; }
	@keyframes oswRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
