/* ============================================================================
   OSP upgrade popup (the "fullaccess" modal) — EA port of OSPUpgradePopup.cshtml.
   The legacy view themed per-portal via @baseViewModel.* bindings; EA uses ONE
   universal palette (business decision): primary #83FFC1, secondary #E3FDEE,
   text #434343. Self-contained — does not depend on common-osp-sp.css.
   ============================================================================ */

/* Base control styles the popup relies on (ported from common-osp-sp.css, greened). */
.fullaccess .i-button,
.ezi-popup .i-button {
  font-size: 16px !important; color: #434343 !important; min-width: 120px; padding: 5px 20px !important;
  border-radius: 20px !important; background-color: #83FFC1 !important; border-color: #83FFC1 !important;
  outline: none; box-shadow: none !important; cursor: pointer !important; text-decoration: none;
}
.fullaccess .i-textbox { border-radius: 6px; padding: 10px 14px; background-color: #f3f3f3; height: auto !important;
  width: 100%; border: solid 1px #f3f3f3; color: #434343 !important; appearance: none; outline: none !important;
  box-shadow: none; }
.fullaccess .i-textbox:focus { border: solid 1px #83FFC1 !important; }
.fullaccess .i-tooltip-icon { background: none; border: none; cursor: pointer; }
.field-error { color: #d23; font-size: 12px; margin: 2px 0 6px; display: none; }

.form-group { padding: 2px !important; margin-bottom: 8px; }
.modal-header { padding: 0; }
.control-label { font-size: 14px; padding: 0; margin: 2px 0; }
.form-control { height: 32px; font-size: 14px !important; }
.fullaccess textarea { height: auto !important; }
.close { margin-top: -2px !important; margin-right: 0px !important; font-size: 30px; }
#toast-container > .toast { opacity: 1; }

.user-input-wrp { position: relative; }
.user-input-wrp .inputText { width: 100%; padding: 10px 10px 2px 8px !important; border: solid 1px #ddd; border-radius: 6px; margin-bottom: 4px; margin-top: 3px; background-color: #fff; }
.user-input-wrp .inputText:invalid { box-shadow: none !important; }
.user-input-wrp .inputText:focus { color: #555; padding-bottom: 2px !important; outline: none; box-shadow: none !important; }
.user-input-wrp .floating-label { position: absolute; pointer-events: none; top: 11px; left: 10px; transition: 0.3s ease all; opacity: 1; color: #9D9D9D; font-size: 14px; line-height: normal !important; }
.user-input-wrp input:focus ~ .floating-label,
.user-input-wrp input:not(:focus):valid ~ .floating-label { top: 7px; left: 10px; font-size: 9px; opacity: 1; }
.user-input-wrp textarea:focus ~ .floating-label,
.user-input-wrp textarea:not(:focus):valid ~ .floating-label { top: -2px; left: 10px; font-size: 0px; opacity: 1; }

.fullaccess__textbox { border-radius: 6px !important; background-color: #f3f3f3; border: solid 1px #ddd; height: auto !important; line-height: unset !important; }
.fullaccess__button { background-color: #83FFC1; border-radius: 30px; width: 60%; font-size: 14px; font-weight: bold; padding: 10px 0; margin: 0 auto; display: block; margin-top: 8px !important; color: #434343; border: none; line-height: unset !important; }
.fullaccess__icon { width: 55px; }
.fullaccess__testimonial { background-color: #f3f3f3; padding: 10px 20px; border-radius: 10px; position: relative; width: 80%; margin: 0 auto; margin-bottom: 20px; }
.fullaccess__testimonialtext { font-size: 14px; line-height: 1.3em; font-style: italic; }
.fullaccess__testimoniallogo { width: 90px; float: right; margin-top: 5px; }

/* OVERWRITE */
.floatright { z-index: 100 !important; }
.fullaccess { width: 80%; max-width: 1000px; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -53%) !important; z-index: 9 !important; transition: all 0.1s !important; }
.fullaccess .modal-body { padding: 0px 0px; }
.fullaccess .modal-content { border-radius: 15px !important; overflow: hidden; }

.popscreen { box-sizing: border-box; height: 620px !important; max-height: 620px !important; }
.popscreen.step1 { display: flex; flex-wrap: wrap; }

.popscreen-left { flex: 0 0 40%; max-width: 40%; padding: 20px 20px; border-right: solid 0px #434343; position: relative; font-size: 14px; box-sizing: border-box; line-height: 1.5em !important; }
.popscreen-left.first { display: block; font-size: 15px; position: relative; box-sizing: border-box; }
.popscreen-left.second { display: none; position: relative; box-sizing: border-box; }
.popscreen-left.third { display: none; position: relative; box-sizing: border-box; }
/* Right panel: was a per-portal coloured ribbon image; now the EA light secondary colour. */
.popscreen-right { flex: 0 0 60%; max-width: 60%; padding: 25px 20px; font-size: 14px; background-color: #E3FDEE !important; width: 100%; }

.row-item { margin-top: 30px; padding-left: 15px; display: flex; align-items: center; justify-content: left; }
.row-item > .fa-handshake, .row-item > .fa-box-open, .row-item > .fa-check-circle, .row-item > .fa-chart-line { color: #434343; font-size: 22px !important; margin-right: 5px; text-align: center; width: 40px; flex-shrink: 0; }

.header-small { font-size: 18px; font-weight: bold; }
.header-medium { font-size: 24px; font-weight: bold; text-align: center; }
.header-large { font-size: 30px; font-weight: bold; margin: 35px 0; text-align: center; }

.youtube-link { text-decoration: underline !important; color: #434343 !important; font-size: 14px !important; }
.fa-youtube { font-size: 32px !important; color: #ff0000; margin-right: 10px; }

.btnScreen1Upgrade { display: block; font-weight: bold; font-size: 18px; text-align: center; margin-top: 40px !important; margin-bottom: 15px !important; }

.embed-container { overflow: hidden; clip-path: inset(2px); text-align: center; padding-bottom: unset !important; }
.embed-container iframe { width: 80% !important; height: 300px !important; position: unset !important; }

.subscription-group { margin-top: 5px; border: none !important; display: flex !important; width: 100% !important; box-sizing: border-box !important; }
.subscription-group-item { padding: 8px 0px; background-color: #fff; color: #434343; border: solid 1px #83FFC1 !important; flex-grow: 1 !important; font-size: 14px !important; box-sizing: border-box !important; width: 25% !important; }
.subscription-group-item:first-child { border-radius: 8px 0 0 8px; }
.subscription-group-item:last-child { border-radius: 0 8px 8px 0; }
.subscription-group-item:hover { background-color: #E3FDEE; color: #434343; border: solid 1px #83FFC1; }
.subscription-group-item:focus, .subscription-group-item:active { outline: none !important; box-shadow: none !important; background-color: #E3FDEE !important; color: #434343 !important; border: solid 1px #83FFC1 !important; }
/* Keep the interaction highlight strictly inside the button — no focus ring / glow spilling
   outside the segmented control (covers :hover / :focus-visible / .focus in every browser). */
.subscription-group-item:hover,
.subscription-group-item:focus-visible,
.subscription-group-item.focus { outline: none !important; box-shadow: none !important; }
.subscription-group-item > .saving { font-style: italic; font-size: 13px; font-weight: bold; }
.subscription-group-item > .guarantee .MoneyBackGuarantee { font-size: 7px; text-transform: uppercase; }

.sfactive { background-color: #E3FDEE; border: solid 1px #83FFC1 !important; }

/* In-popup industry selector (3 buttons) — same look as the term group, sized for three. */
.osp-industry-group { margin-top: 0; }
.osp-industry-group .subscription-group-item { width: 33.33% !important; }
.osp-industry-item .term { font-size: 12px; }
/* Row = the 3-button group + an info tooltip to its right. */
.osp-industry-row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.osp-industry-row .osp-industry-group { flex: 1 1 auto; }
.osp-industry-info { background: none !important; border: none !important; cursor: pointer; padding: 0 2px; flex: 0 0 auto; line-height: 1; }
.osp-industry-info i { font-size: 16px; color: #434343; }

.sf-package-item { margin: 15px 0; text-align: left; padding-left: 0px; display: flex; align-items: flex-start; }
.sf-package-item:first-child { margin-bottom: 30px; }
.sf-package-item:last-child { margin-bottom: 5px; }
.sf-package-item .desciption { font-style: italic; font-size: 14px; }
.sf-package-item .popular { color: #1aa363; font-weight: bold; margin-left: 10px; font-style: normal; background: none !important; font-size: 13px; }
.sf-package-item .price { font-size: 14px; }
.sf-package-item .form-check-input { margin-right: 5px; }
.sf-package-item .form-check-label { font-weight: normal; }

.sf-package-static-link { text-decoration: underline; color: #434343 !important; font-size: 14px; }
.sf-package-static-link:hover { color: #83FFC1 !important; }

.btnScreen2Next { display: block; font-weight: bold; font-size: 18px; text-align: center; margin-top: 20px !important; margin-bottom: 15px !important; }

.billing-wrapper { padding: 0 15px; font-size: 14px; margin-top: 5px; }
.billing-sf-package { font-weight: bold; }
.debit-wrapper { padding: 0 15px; font-size: 13px; line-height: 1.2em; margin-top: 5px; }

.ezi-term-wrapper { padding: 20px 20px; background-color: #EFEFEF; border-radius: 20px; height: 60vh; overflow-y: scroll; font-size: 14px; }
.ezi-popup { width: 70%; max-width: 700px; padding-right: 0 !important; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 9999 !important; }
.ezi-popup .modal-body { padding: 20px 30px; }
.ezi-term-header { font-weight: bold; }

.processing-wrapper { padding: 25px 30px; width: 100%; display: none; font-size: 18px !important; height: 590px !important; max-height: 590px !important; }
.processing-title { font-weight: bold; font-size: 24px; line-height: 1.2em; margin: 30px 0 20px 40px; }
.processing-list { padding: 0 40px; }
.processing-list-item { display: flex; flex-wrap: wrap; padding: 13px 0; width: 90%; margin: 0 auto; }
.processing-list-item .text { flex: 0 0 70%; max-width: 70%; }
.processing-list-item .icon { flex: 0 0 20%; max-width: 20%; }

.btnCloseSubscriptionPopup { font-size: 18px; position: absolute; right: 18px; top: 10px; color: #434343 !important; display: none; }
.btnCloseSubscriptionPopupRight { font-size: 18px; position: absolute; right: 18px; top: 10px; color: #434343 !important; }
.btnCloseSubscriptionPopupRight:hover { color: #83FFC1 !important; }

.btnBack { text-decoration: none !important; color: #434343 !important; position: absolute; top: -1px; left: 0px; }
.btnBack:hover { color: #83FFC1 !important; }

.processing-intouch { font-weight: bold; width: 70%; margin: 20px auto 0; text-align: center; }
.processing-workingtime { text-align: center; margin: 10px auto 0; }

.pop1-youtube-wrapper { display: none !important; }

.textbox-grey { background-color: #efefef !important; border: solid 1px #efefef !important; }
.min-term-saving { margin-left: 0px; font-style: italic; }

.btn-upgrade-common { position: absolute !important; bottom: 20px !important; margin: 0 !important; left: 50%; transform: translateX(-50%); width: 80%; padding: 6px 0 !important; border: solid 0px #83FFC1 !important; transition: all 0.1s; }
/* Hover feedback belongs on the button pill (.i-button) itself, not the taller/wider wrapper —
   otherwise the translucent green fills the empty space above the pill as a big hue. */
.btn-upgrade-common:hover { text-decoration: none; }
.fullaccess .i-button:hover { background-color: rgba(131, 255, 193, 0.5) !important; }

.bp-upgrade-accept-button { border: none !important; }

.loading-base { width: 100px; height: 50px; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -55%) !important; background: none !important; display: none; }

.std-link-1 { text-decoration: underline; color: #434343 !important; }
.std-link-1:hover { color: #83FFC1 !important; }

.logo-wrapper { display: flex; justify-content: space-evenly; align-items: center; background-color: #fff; height: 50px; }
.logo-item { width: 90px; }
.logo-intro-text { text-align: center; font-weight: bold; margin: 24px 0 25px 0; font-size: 18px; }

.payment-tooltip { position: relative; right: 3px !important; top: -7px !important; background-color: #fff !important; border: none !important; line-height: 1em; }
.payment-tooltip i { font-size: 10px !important; border: none !important; }

.tooltip { background-color: transparent !important; border: none !important; box-shadow: none !important; z-index: 9999 !important; max-width: min(400px, 92vw) !important; width: auto !important; font-size: 13px !important; overflow: visible !important; }
.tooltip-inner { background-color: #fff !important; color: #434343 !important; border: 1px solid #ddd; font-weight: normal; width: auto !important; max-width: none !important; z-index: 99999 !important; overflow: visible !important; }
.tooltip .arrow, .tooltip .arrow::before { display: none !important; }

.form-check-input { height: auto !important; width: auto !important; }

.new-pricing-format { font-size: 14px; font-weight: bold; }
sup { top: -0.4em; margin-right: 1px; }
sub { font-weight: normal; margin-left: 5px; bottom: 0; }
.package-hint { background-color: #E3FDEE !important; color: #434343 !important; border-radius: 6px; padding: 5px 10px; width: 94%; font-size: 14px; display: block; margin: 12px auto 0; font-style: italic; position: absolute; left: 50%; transform: translateX(-50%); }
.s1-para1 { margin: 25px 0; }
.package-name { font-size: 14px; }
.s2-title1 { margin-top: 25px; margin-bottom: 20px; }
.package-hint-wrapper { min-height: 94px; }
/* No-minimum term has no hint text — collapse the reserved space so Package sits directly below. */
.package-hint-wrapper.no-hint { min-height: 0; }
.package-form-group { margin-top: 10px; }

@media screen and (max-width: 500px) {
  .fullaccess { display: block; width: 100% !important; box-sizing: border-box; padding: 0 !important; margin: 0 !important; transform: translate(-50%, -50%) !important; }
  .fullaccess__testimonial { width: 85%; }
  .fullaccess .modal-body { padding: 10px 10px; }
  .popscreen-left { flex: 0 0 100%; max-width: 100%; padding: 20px 0px; border: none; height: 100vh !important; max-height: 100% !important; }
  .popscreen-right { display: none; }
  .processing-list-item { padding: 5px 0; width: 100%; font-size: 15px; }
  .processing-list-item .text { flex: 0 0 95%; max-width: 95%; padding-right: 10px; }
  .processing-list-item .icon { flex: 0 0 5%; max-width: 5%; }
  .processing-wrapper { height: auto !important; max-height: none !important; padding: 25px 20px; }
  .processing-title { margin: 20px 0; }
  .processing-list { padding: 0 20px; }
  .btnCloseSubscriptionPopup { right: 8px; display: inline-block; }
  .ezi-popup { width: 100%; max-width: 100%; top: 0 !important; left: 0 !important; transform: translate(0, 0) !important; margin: 0 !important; }
  .subscription-group { margin-top: 15px; width: 100%; justify-content: center; }
  .pop1-youtube-wrapper { display: flex !important; align-items: center; }
  .btn-upgrade-common { margin-top: 15px !important; width: 87%; bottom: -10px !important; }
  .row-item { margin-top: 22px; }
}

/* ── Portal filter on the packages section ── */
.osp-portal-filter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0 auto 22px; }
.osp-portal-filter__label { font-weight: bold; font-size: 15px; color: #434343; }
.osp-portal-filter__btn { font-size: 14px; font-weight: bold; color: #434343; background-color: #fff; border: solid 2px #83FFC1; border-radius: 24px; padding: 7px 20px; cursor: pointer; transition: all 0.12s; }
.osp-portal-filter__btn:hover { background-color: #E3FDEE; }
.osp-portal-filter__btn.active { background-color: #83FFC1; color: #434343; }
.osp-filter-info { background: none; border: none; cursor: pointer; padding: 0 2px; line-height: 1; align-self: center; }
.osp-filter-info i { font-size: 15px; color: #434343; }

/* ── Right-panel video carousel (all marketplaces, slow auto-rotate) ── */
.osp-vid-carousel { position: relative; }
.osp-vid-slide { display: none; }
.osp-vid-slide.is-active { display: block; animation: ospFade 0.5s ease; }
@keyframes ospFade { from { opacity: 0; } to { opacity: 1; } }
.osp-vid-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.osp-vid-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: solid 1px #83FFC1; background: #fff; cursor: pointer; transition: background 0.15s; }
.osp-vid-dot:hover { background: #E3FDEE; }
.osp-vid-dot.is-active { background: #83FFC1; }
