/* order: siirretty WordPressistä (scripts/wp/import-widgets.mjs). Älä muokkaa käsin ilman syytä. */

/* order fi: WordPressin <style> sellaisenaan */
#oun-order-fi {
 font-family: inherit;
 max-width: 680px;
 margin: 0 auto;
}
#oun-order-fi .oun-field-group { margin-bottom: 1rem; }

/* Labels valkoisiksi */
#oun-order-fi label.oun-label {
 display: block;
 font-weight: 600;
 margin-bottom: 0.3rem;
 font-size: 0.95rem;
 color: #ffffff;
}
#oun-order-fi input[type="text"],
#oun-order-fi input[type="email"],
#oun-order-fi input[type="tel"] {
 width: 100%;
 padding: 0.6rem 0.8rem;
 border: 1px solid #d1d5db;
 border-radius: 6px;
 font-size: 1rem;
 box-sizing: border-box;
 background: rgba(255,255,255,0.07);
 color: #ffffff;
}
#oun-order-fi input[type="text"]::placeholder,
#oun-order-fi input[type="email"]::placeholder,
#oun-order-fi input[type="tel"]::placeholder { color: rgba(255,255,255,0.4); }
#oun-order-fi input:focus { outline: 2px solid #00CBBA; border-color: #00CBBA; }
#oun-order-fi select.oun-select { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1rem; box-sizing: border-box; background: rgba(255,255,255,0.07); color: #ffffff; }
#oun-order-fi select.oun-select option { color: #0f172a; background: #ffffff; }
#oun-order-fi select.oun-select:focus { outline: 2px solid #00CBBA; border-color: #00CBBA; }

/* Paketit */
#oun-order-fi .oun-packages { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
#oun-order-fi .oun-package {
 display: flex; align-items: flex-start; gap: 0.75rem;
 border: 2px solid rgba(255,255,255,0.15);
 border-radius: 8px; padding: 0.9rem 1rem;
 cursor: pointer; transition: border-color 0.15s;
}
#oun-order-fi .oun-package:hover { border-color: #00CBBA; }
#oun-order-fi .oun-package.selected { border-color: #00CBBA; background: rgba(0,203,186,0.08); }
#oun-order-fi .oun-package input[type="checkbox"] {
 margin-top: 3px; accent-color: #00CBBA; width: 18px; height: 18px; flex-shrink: 0;
}
#oun-order-fi .oun-package-info { flex: 1; }
#oun-order-fi .oun-package-name { font-weight: 600; font-size: 0.97rem; color: #ffffff; }
#oun-order-fi .oun-package-desc { font-size: 0.85rem; color: #94a3b8; margin-top: 2px; }
#oun-order-fi .oun-package-price { font-weight: 700; font-size: 1rem; color: #ffffff; white-space: nowrap; }

/* Alennusbadget — keskitetty */
#oun-order-fi .oun-discount-info {
 display: flex; flex-wrap: wrap; gap: 0.5rem;
 margin-bottom: 1.25rem;
 justify-content: center;
}
#oun-order-fi .oun-discount-badge {
 font-size: 0.8rem; padding: 0.25rem 0.6rem;
 border-radius: 20px; background: rgba(255,255,255,0.08);
 color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15);
}
#oun-order-fi .oun-discount-badge.active {
 background: rgba(0,203,186,0.15); color: #00CBBA;
 border-color: #00CBBA; font-weight: 700;
}

/* Yhteensä-laatikko */
#oun-order-fi .oun-total {
 border-radius: 8px; margin-bottom: 1.25rem;
 border: 1px solid rgba(255,255,255,0.15);
 background: rgba(255,255,255,0.05);
 overflow: hidden;
}
#oun-order-fi .oun-total-main {
 display: flex; justify-content: space-between; align-items: center;
 font-size: 1.1rem; font-weight: 700;
 padding: 0.9rem 1rem;
 color: #ffffff;
}
#oun-order-fi .oun-total-amount { display: flex; align-items: center; gap: 0.5rem; }
#oun-order-fi .oun-total-original {
 text-decoration: line-through; color: #94a3b8;
 font-size: 0.9rem; font-weight: 400;
}
#oun-order-fi .oun-total-vat-row {
 display: none;
 justify-content: space-between;
 padding: 0.4rem 1rem 0.7rem;
 font-size: 0.82rem; color: #64748b; font-weight: 400;
 border-top: 1px solid rgba(255,255,255,0.07);
}

/* Checkboxit valkoisiksi */
#oun-order-fi .oun-consent {
 display: flex; align-items: flex-start; gap: 0.6rem;
 margin-bottom: 0.75rem; font-size: 0.88rem;
 color: #ffffff; line-height: 1.5;
}
#oun-order-fi .oun-consent input[type="checkbox"] {
 margin-top: 3px; accent-color: #00CBBA; width: 16px; height: 16px; flex-shrink: 0;
}
#oun-order-fi .oun-consent a { color: #00CBBA; text-decoration: underline; }

/* Peruutusoikeus-info — navy, pyöristetyt kulmat kuten Yhteensä */
#oun-order-fi .oun-withdrawal-info {
 font-size: 0.82rem; color: #0f172a;
 background: #e2e8f0;
 border-radius: 8px;
 padding: 0.7rem 1rem;
 margin-bottom: 1.25rem; line-height: 1.5;
}

/* Maksunappi */
#oun-order-fi .oun-submit-btn {
 width: 100%; padding: 0.9rem;
 background: #00CBBA; color: #0f172a;
 border: none; border-radius: 8px;
 font-size: 1.05rem; font-weight: 700;
 cursor: pointer; transition: background 0.15s, opacity 0.15s;
 letter-spacing: 0.03em;
}
#oun-order-fi .oun-submit-btn:hover:not(:disabled) { background: #00b5a6; }
#oun-order-fi .oun-submit-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Virheviesti & lataus */
#oun-order-fi .oun-error { display: none; color: #f87171; font-size: 0.88rem; margin-top: 0.5rem; }
#oun-order-fi .oun-loading { display: none; text-align: center; padding: 1rem; color: #94a3b8; font-size: 0.95rem; }

/* Vahvistusteksti */
#oun-order-fi .oun-confirm-text {
 text-align: center; font-size: 0.8rem; color: #94a3b8;
 margin-top: 0.6rem; line-height: 1.5;
}

/* Valitse kaikki */
#oun-order-fi .oun-select-all {
 font-size: 0.85rem; color: #00CBBA; cursor: pointer;
 text-decoration: underline; margin-bottom: 0.75rem; display: inline-block;
}

/* Valitse analyysit label */
#oun-order-fi .oun-packages-label { color: #ffffff; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; display: block; }

/* Tekoäly- ja tietosuojainfo (DPIA T5, 1.11.2026) */
#oun-order-fi .oun-ai-info {
 font-size: 0.82rem; color: #cbd5e1; line-height: 1.5;
 margin-bottom: 1rem;
}
#oun-order-fi .oun-ai-info a { color: #00CBBA; text-decoration: underline; }

/* order en: WordPressin <style> sellaisenaan */
#oun-order-en {
  font-family: inherit;
  max-width: 680px;
  margin: 0 auto;
}
#oun-order-en .oun-field-group { margin-bottom: 1rem; }

#oun-order-en label.oun-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: #ffffff;
}
#oun-order-en input[type="text"],
#oun-order-en input[type="email"],
#oun-order-en input[type="tel"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
}
#oun-order-en input[type="text"]::placeholder,
#oun-order-en input[type="email"]::placeholder,
#oun-order-en input[type="tel"]::placeholder { color: rgba(255,255,255,0.4); }
#oun-order-en input:focus { outline: 2px solid #00CBBA; border-color: #00CBBA; }
#oun-order-en select.oun-select { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1rem; box-sizing: border-box; background: rgba(255,255,255,0.07); color: #ffffff; }
#oun-order-en select.oun-select option { color: #0f172a; background: #ffffff; }
#oun-order-en select.oun-select:focus { outline: 2px solid #00CBBA; border-color: #00CBBA; }

#oun-order-en .oun-packages { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
#oun-order-en .oun-package {
  display: flex; align-items: flex-start; gap: 0.75rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 0.9rem 1rem;
  cursor: pointer; transition: border-color 0.15s;
}
#oun-order-en .oun-package:hover { border-color: #00CBBA; }
#oun-order-en .oun-package.selected { border-color: #00CBBA; background: rgba(0,203,186,0.08); }
#oun-order-en .oun-package input[type="checkbox"] {
  margin-top: 3px; accent-color: #00CBBA; width: 18px; height: 18px; flex-shrink: 0;
}
#oun-order-en .oun-package-info { flex: 1; }
#oun-order-en .oun-package-name { font-weight: 600; font-size: 0.97rem; color: #ffffff; }
#oun-order-en .oun-package-desc { font-size: 0.85rem; color: #94a3b8; margin-top: 2px; }
#oun-order-en .oun-package-price { font-weight: 700; font-size: 1rem; color: #ffffff; white-space: nowrap; }

#oun-order-en .oun-discount-info {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}
#oun-order-en .oun-discount-badge {
  font-size: 0.8rem; padding: 0.25rem 0.6rem;
  border-radius: 20px; background: rgba(255,255,255,0.08);
  color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15);
}
#oun-order-en .oun-discount-badge.active {
  background: rgba(0,203,186,0.15); color: #00CBBA;
  border-color: #00CBBA; font-weight: 700;
}

#oun-order-en .oun-total {
  border-radius: 8px; margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
#oun-order-en .oun-total-main {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.1rem; font-weight: 700;
  padding: 0.9rem 1rem;
  color: #ffffff;
}
#oun-order-en .oun-total-amount { display: flex; align-items: center; gap: 0.5rem; }
#oun-order-en .oun-total-original {
  text-decoration: line-through; color: #94a3b8;
  font-size: 0.9rem; font-weight: 400;
}
#oun-order-en .oun-total-vat-row {
  display: none;
  justify-content: space-between;
  padding: 0.4rem 1rem 0.7rem;
  font-size: 0.82rem; color: #64748b; font-weight: 400;
  border-top: 1px solid rgba(255,255,255,0.07);
}

#oun-order-en .oun-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.75rem; font-size: 0.88rem;
  color: #ffffff; line-height: 1.5;
}
#oun-order-en .oun-consent input[type="checkbox"] {
  margin-top: 3px; accent-color: #00CBBA; width: 16px; height: 16px; flex-shrink: 0;
}
#oun-order-en .oun-consent a { color: #00CBBA; text-decoration: underline; }

#oun-order-en .oun-withdrawal-info {
  font-size: 0.82rem; color: #0f172a;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.25rem; line-height: 1.5;
}

#oun-order-en .oun-submit-btn {
  width: 100%; padding: 0.9rem;
  background: #00CBBA; color: #0f172a;
  border: none; border-radius: 8px;
  font-size: 1.05rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s, opacity 0.15s;
  letter-spacing: 0.03em;
}
#oun-order-en .oun-submit-btn:hover:not(:disabled) { background: #00b5a6; }
#oun-order-en .oun-submit-btn:disabled { opacity: 0.35; cursor: not-allowed; }

#oun-order-en .oun-error { display: none; color: #f87171; font-size: 0.88rem; margin-top: 0.5rem; }
#oun-order-en .oun-loading { display: none; text-align: center; padding: 1rem; color: #94a3b8; font-size: 0.95rem; }

#oun-order-en .oun-confirm-text {
  text-align: center; font-size: 0.8rem; color: #94a3b8;
  margin-top: 0.6rem; line-height: 1.5;
}

#oun-order-en .oun-select-all {
  font-size: 0.85rem; color: #00CBBA; cursor: pointer;
  text-decoration: underline; margin-bottom: 0.75rem; display: inline-block;
}

#oun-order-en .oun-packages-label { color: #ffffff; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; display: block; }
/* AI and privacy info (DPIA T5, 5.11.2026) */
#oun-order-en .oun-ai-info {
  font-size: 0.82rem; color: #cbd5e1; line-height: 1.5;
  margin-bottom: 1rem;
}
#oun-order-en .oun-ai-info a { color: #00CBBA; text-decoration: underline; }

/* order sv: WordPressin <style> sellaisenaan */
#oun-order-sv {
  font-family: inherit;
  max-width: 680px;
  margin: 0 auto;
}
#oun-order-sv .oun-field-group { margin-bottom: 1rem; }

#oun-order-sv label.oun-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: #ffffff;
}
#oun-order-sv input[type="text"],
#oun-order-sv input[type="email"],
#oun-order-sv input[type="tel"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  background: rgba(255,255,255,0.07);
  color: #ffffff;
}
#oun-order-sv input[type="text"]::placeholder,
#oun-order-sv input[type="email"]::placeholder,
#oun-order-sv input[type="tel"]::placeholder { color: rgba(255,255,255,0.4); }
#oun-order-sv input:focus { outline: 2px solid #00CBBA; border-color: #00CBBA; }
#oun-order-sv select.oun-select { width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #d1d5db; border-radius: 6px; font-size: 1rem; box-sizing: border-box; background: rgba(255,255,255,0.07); color: #ffffff; }
#oun-order-sv select.oun-select option { color: #0f172a; background: #ffffff; }
#oun-order-sv select.oun-select:focus { outline: 2px solid #00CBBA; border-color: #00CBBA; }

#oun-order-sv .oun-packages { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
#oun-order-sv .oun-package {
  display: flex; align-items: flex-start; gap: 0.75rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 0.9rem 1rem;
  cursor: pointer; transition: border-color 0.15s;
}
#oun-order-sv .oun-package:hover { border-color: #00CBBA; }
#oun-order-sv .oun-package.selected { border-color: #00CBBA; background: rgba(0,203,186,0.08); }
#oun-order-sv .oun-package input[type="checkbox"] {
  margin-top: 3px; accent-color: #00CBBA; width: 18px; height: 18px; flex-shrink: 0;
}
#oun-order-sv .oun-package-info { flex: 1; }
#oun-order-sv .oun-package-name { font-weight: 600; font-size: 0.97rem; color: #ffffff; }
#oun-order-sv .oun-package-desc { font-size: 0.85rem; color: #94a3b8; margin-top: 2px; }
#oun-order-sv .oun-package-price { font-weight: 700; font-size: 1rem; color: #ffffff; white-space: nowrap; }

#oun-order-sv .oun-discount-info {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}
#oun-order-sv .oun-discount-badge {
  font-size: 0.8rem; padding: 0.25rem 0.6rem;
  border-radius: 20px; background: rgba(255,255,255,0.08);
  color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15);
}
#oun-order-sv .oun-discount-badge.active {
  background: rgba(0,203,186,0.15); color: #00CBBA;
  border-color: #00CBBA; font-weight: 700;
}

#oun-order-sv .oun-total {
  border-radius: 8px; margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
#oun-order-sv .oun-total-main {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.1rem; font-weight: 700;
  padding: 0.9rem 1rem;
  color: #ffffff;
}
#oun-order-sv .oun-total-amount { display: flex; align-items: center; gap: 0.5rem; }
#oun-order-sv .oun-total-original {
  text-decoration: line-through; color: #94a3b8;
  font-size: 0.9rem; font-weight: 400;
}
#oun-order-sv .oun-total-vat-row {
  display: none;
  justify-content: space-between;
  padding: 0.4rem 1rem 0.7rem;
  font-size: 0.82rem; color: #64748b; font-weight: 400;
  border-top: 1px solid rgba(255,255,255,0.07);
}

#oun-order-sv .oun-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.75rem; font-size: 0.88rem;
  color: #ffffff; line-height: 1.5;
}
#oun-order-sv .oun-consent input[type="checkbox"] {
  margin-top: 3px; accent-color: #00CBBA; width: 16px; height: 16px; flex-shrink: 0;
}
#oun-order-sv .oun-consent a { color: #00CBBA; text-decoration: underline; }

#oun-order-sv .oun-withdrawal-info {
  font-size: 0.82rem; color: #0f172a;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.25rem; line-height: 1.5;
}

#oun-order-sv .oun-submit-btn {
  width: 100%; padding: 0.9rem;
  background: #00CBBA; color: #0f172a;
  border: none; border-radius: 8px;
  font-size: 1.05rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s, opacity 0.15s;
  letter-spacing: 0.03em;
}
#oun-order-sv .oun-submit-btn:hover:not(:disabled) { background: #00b5a6; }
#oun-order-sv .oun-submit-btn:disabled { opacity: 0.35; cursor: not-allowed; }

#oun-order-sv .oun-error { display: none; color: #f87171; font-size: 0.88rem; margin-top: 0.5rem; }
#oun-order-sv .oun-loading { display: none; text-align: center; padding: 1rem; color: #94a3b8; font-size: 0.95rem; }

#oun-order-sv .oun-confirm-text {
  text-align: center; font-size: 0.8rem; color: #94a3b8;
  margin-top: 0.6rem; line-height: 1.5;
}

#oun-order-sv .oun-select-all {
  font-size: 0.85rem; color: #00CBBA; cursor: pointer;
  text-decoration: underline; margin-bottom: 0.75rem; display: inline-block;
}

#oun-order-sv .oun-packages-label { color: #ffffff; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; display: block; }
/* AI- och dataskyddsinfo (DPIA T5, 5.11.2026) */
#oun-order-sv .oun-ai-info {
  font-size: 0.82rem; color: #cbd5e1; line-height: 1.5;
  margin-bottom: 1rem;
}
#oun-order-sv .oun-ai-info a { color: #00CBBA; text-decoration: underline; }

/* Inline-tyylit luokkina */
.ws-3a1745a1 { overflow: visible !important; }
.ws-c0736d08 { overflow: visible !important; --spectra-background-color: var(--ast-global-color-5) !important; }
.ws-acfe0860 { display: flex; flex-direction: column !important; align-items: center !important; gap: 0.9rem !important; padding: 0.75rem 1rem !important; }
.ws-4f35428b { display: flex; align-items: center !important; justify-content: center !important; gap: 0.9rem !important; flex-wrap: wrap !important; }
.ws-de2e6f19 { display: inline-block; width: 207px !important; height: 30px !important; overflow: hidden !important; line-height: 0 !important; }
.ws-44384829 { display: block; max-width: none !important; height: 49px !important; width: 226.2px !important; margin: -9.5px 0 0 -9.5px !important; }
.ws-229e1448 { display: inline-block; width: 46.8px !important; height: 30px !important; overflow: hidden !important; line-height: 0 !important; }
.ws-b5e9b0a7 { display: block; max-width: none !important; height: 35.2px !important; width: 52.1px !important; margin: -2.6px 0 0 -2.7px !important; }
.ws-c9db9590 { display: inline-block; width: 56.2px !important; height: 30px !important; overflow: hidden !important; line-height: 0 !important; }
.ws-46b9f39e { display: block; max-width: none !important; height: 55.5px !important; width: 81.7px !important; margin: -12.6px 0 0 -12.7px !important; }
/* MobilePayn uusi logo 25.11.2026 (WP 2026/10/MobilePay-new.webp, neliö 256 x 256): 32 px kuten muut logot, ei rajausta. */
.ws-910a9da9 { display: inline-block; width: 32px !important; height: 32px !important; line-height: 0 !important; }
.ws-78708a27 { display: block; max-width: none !important; height: 32px !important; width: 32px !important; }
.ws-298c73e2 { display: inline-flex; align-items: center !important; gap: 0.4rem !important; height: 30px !important; padding: 0 0.6rem !important; border: 1px solid #d1d5db !important; border-radius: 6px !important; background: #ffffff !important; color: #0f172a !important; font-size: 0.85rem !important; font-weight: 600 !important; line-height: 1 !important; }
.ws-0ba3545d { display: inline-block; line-height: 0 !important; }
.ws-931b591d { height: 26px !important; width: auto !important; }
.ws-7919ba39 { font-size: 1.1rem !important; margin-bottom: 0.5rem !important; }
.ws-6f65c737 { color: #94a3b8 !important; font-size: 0.9rem !important; }
.ws-43aa283a { font-size: 2rem !important; margin-bottom: 1rem !important; }
.ws-16ea7814 { font-size: 1.2rem !important; font-weight: 700 !important; margin-bottom: 0.5rem !important; }
.ws-37c51fe8 { font-size: 1.1rem !important; font-weight: 700 !important; }
.ws-0a7f7a7c { margin-top: 0.5rem !important; }
.ws-560ba5fb { color: #00CBBA !important; }

/* Alun perin display:none (nyt hidden). Lomakkeen ID-säännöt eivät saa näyttää sitä, mutta skripti voi
   (el.style.display kirjoittaa style-attribuutin). */
[hidden]:not([style*='display']) { display: none !important; }

/* Maksun paluuviesti (alkuperäinen inline-tyyli, import-widgets.mjs PATCHES) */
.oun-return { text-align: center; padding: 3rem 1rem; color: #ffffff; }
.oun-return--error { color: #f87171; }

/* Luottamustiedot maksunapin yläpuolella (12/2026): peruutus ja toimitusaika */
.oun-trust { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.82rem; color: #cbd5e1; line-height: 1.5; }
.oun-trust li + li { margin-top: 0.35rem; }
.oun-trust a { color: #00CBBA; text-decoration: underline; }

/* Porrastettu lisähinta (12/2026): kapealla näytöllä selite omalle rivilleen, ettei paketin nimi ahtaudu */
#oun-order-fi .oun-package-price,
#oun-order-en .oun-package-price,
#oun-order-sv .oun-package-price { text-align: right; }
@media (max-width: 520px) {
  #oun-order-fi .oun-package-price,
  #oun-order-en .oun-package-price,
  #oun-order-sv .oun-package-price { white-space: normal; max-width: 5.5em; font-size: 0.9rem; line-height: 1.3; }
}
