:root {
  --guru-fv-valid: #28a745;
  --guru-fv-invalid: #dc3545;
  --guru-fv-valid-glow: rgba(40, 167, 69, 0.18);
  --guru-fv-invalid-glow: rgba(220, 53, 69, 0.18);
}

.guru-fv-control {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.guru-fv-control.guru-fv-valid {
  border-color: var(--guru-fv-valid) !important;
  box-shadow: 0 0 0 0.2rem var(--guru-fv-valid-glow) !important;
}

.guru-fv-control.guru-fv-invalid {
  border-color: var(--guru-fv-invalid) !important;
  box-shadow: 0 0 0 0.2rem var(--guru-fv-invalid-glow) !important;
}

.guru-fv-icon-host {
  position: relative !important;
}

.guru-fv-status-icon {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(-50%) scale(0.85);
  transition: opacity 140ms ease, transform 140ms ease;
}

.guru-fv-status-icon.guru-fv-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.guru-fv-status-icon.guru-fv-icon-valid {
  color: var(--guru-fv-valid);
}

.guru-fv-status-icon.guru-fv-icon-invalid {
  color: var(--guru-fv-invalid);
}

@media (prefers-reduced-motion: reduce) {
  .guru-fv-control,
  .guru-fv-status-icon {
    transition: none;
  }
}

.guru-fv-control.guru-fv-pending {
  border-color: inherit;
}

.guru-fv-password-guide-host {
  min-width: 0;
}

.guru-fv-password-guide {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0.65rem 0 0;
  padding: 0.9rem 1rem 1rem;
  box-sizing: border-box;
  clear: both;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.25rem 0.8rem rgba(0, 0, 0, 0.045);
  font-size: 0.875rem;
  line-height: 1.35;
}

.guru-fv-password-guide-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #2f3542;
  font-weight: 700;
  font-size: 0.93rem;
}

.guru-fv-password-guide-heading-icon {
  display: inline-flex;
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--guru-fv-valid);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
  box-shadow: 0 0 0 0.18rem var(--guru-fv-valid-glow);
}

.guru-fv-password-guide-hint {
  margin: 0.25rem 0 0.75rem 2.05rem;
  color: #6c757d;
  font-size: 0.78rem;
}

.guru-fv-password-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

.guru-fv-password-rule {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.15rem;
  padding: 0.42rem 0.55rem;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.guru-fv-password-rule-label {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.guru-fv-password-rule-icon {
  display: inline-flex;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.guru-fv-password-rule-invalid {
  color: #5d3034;
  border-color: color-mix(in srgb, var(--guru-fv-invalid) 22%, transparent);
  background: color-mix(in srgb, var(--guru-fv-invalid) 7%, transparent);
}

.guru-fv-password-rule-invalid .guru-fv-password-rule-icon {
  background: var(--guru-fv-invalid);
}

.guru-fv-password-rule-valid {
  color: #275b35;
  border-color: color-mix(in srgb, var(--guru-fv-valid) 25%, transparent);
  background: color-mix(in srgb, var(--guru-fv-valid) 8%, transparent);
}

.guru-fv-password-rule-valid .guru-fv-password-rule-icon {
  background: var(--guru-fv-valid);
}

/* PrestaShop często renderuje komentarz jako inline <span>, przez co pionowy margin
   nie daje oczekiwanego odstępu. Zmieniamy go na element układu i odsuwamy
   wizualnie od poświaty pola. */
.guru-fv-form .form-control-comment {
  display: inline-block !important;
  position: relative !important;
  top: 0.08rem !important;
  margin-top: 0.12rem !important;
  box-sizing: border-box;
}

.guru-fv-form .form-control-comment:empty {
  top: 0 !important;
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  .guru-fv-password-guide {
    padding: 0.8rem;
  }

  .guru-fv-password-guide-hint {
    margin-left: 0;
  }
}

@supports not (color: color-mix(in srgb, red 10%, transparent)) {
  .guru-fv-password-rule-invalid {
    border-color: rgba(220, 53, 69, 0.24);
    background: rgba(220, 53, 69, 0.06);
  }

  .guru-fv-password-rule-valid {
    border-color: rgba(40, 167, 69, 0.24);
    background: rgba(40, 167, 69, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .guru-fv-password-rule {
    transition: none;
  }
}


/* Checkout: sposób rozliczenia */
/* Stabilny host sposobu rozliczenia. Pozostaje poza .js-address-form i zgodnie z BO
   jest ustawiany nad albo pod formularzem. Sposób rozliczenia + adres do faktury pozostają razem. */
.guru-fv-settlement-stable-host {
  width: 100%;
  margin: .15rem 0;
  clear: both;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.guru-fv-settlement-choice {
  width: 100%;
  margin: 1rem 0 1.15rem;
  padding: 1rem;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.55rem;
  background: #fff;
}

.guru-fv-settlement-choice__heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: inherit;
}

.guru-fv-settlement-choice__hint {
  margin: 0.25rem 0 0.8rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.guru-fv-settlement-choice__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.65rem;
}

.guru-fv-settlement-option {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.guru-fv-settlement-option:hover {
  border-color: rgba(0, 0, 0, 0.28);
}

.guru-fv-settlement-option:has(input:checked) {
  border-color: var(--guru-fv-valid);
  background: color-mix(in srgb, var(--guru-fv-valid) 5%, #fff);
  box-shadow: 0 0 0 0.15rem var(--guru-fv-valid-glow);
}

.guru-fv-settlement-option input[type="radio"] {
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--guru-fv-valid);
}

.guru-fv-settlement-option__content {
  display: block;
  min-width: 0;
}

.guru-fv-settlement-option__title,
.guru-fv-settlement-option__description {
  display: block;
}

.guru-fv-settlement-option__title {
  font-weight: 700;
  line-height: 1.25;
}

.guru-fv-settlement-option__description {
  margin-top: 0.12rem;
  color: #6c757d;
  font-size: 0.78rem;
  line-height: 1.3;
}

.guru-fv-settlement-choice__error {
  display: none;
  margin: 0.55rem 0 0;
  color: var(--guru-fv-invalid);
  font-size: 0.82rem;
  font-weight: 600;
}

.guru-fv-settlement-choice.guru-fv-settlement-choice--invalid {
  border-color: var(--guru-fv-invalid);
  box-shadow: 0 0 0 0.15rem var(--guru-fv-invalid-glow);
}

.guru-fv-settlement-choice.guru-fv-settlement-choice--invalid .guru-fv-settlement-choice__error {
  display: block;
}

.guru-fv-settlement-choice__status {
  min-height: 1px;
  margin-top: 0.25rem;
  font-size: 0.78rem;
}

.guru-fv-settlement-choice__status--error {
  color: var(--guru-fv-invalid);
}


.guru-fv-settlement-option__icon {
  display: inline-flex;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.045);
  color: #4b5563;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.guru-fv-settlement-option__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guru-fv-settlement-option--selected .guru-fv-settlement-option__icon,
.guru-fv-settlement-option:has(input:checked) .guru-fv-settlement-option__icon {
  color: var(--guru-fv-valid);
  background: color-mix(in srgb, var(--guru-fv-valid) 10%, #fff);
  transform: translateY(-1px);
}

.guru-fv-invoice-address-choice {
  width: 100%;
  margin: 0.75rem 0 1rem !important;
  padding: 0.85rem 0.95rem !important;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.018);
}

.guru-fv-invoice-address-choice[hidden] {
  display: none !important;
}

.guru-fv-invoice-address-choice__title {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
}

/* Natywny checkbox PrestaShop pozostaje w swoim formularzu dla poprawnego workflow,
   ale jego oryginalny wiersz ukrywamy, bo użytkownik obsługuje zsynchronizowany proxy UI. */
.guru-fv-use-same-address-native-hidden {
  display: none !important;
}

.guru-fv-invoice-address-choice__native {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 .45rem 0 0 !important;
  box-sizing: border-box;
}

.guru-fv-invoice-address-choice__proxy-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: .55rem;
  padding-right: .35rem;
  box-sizing: border-box;
}

.guru-fv-invoice-address-choice__proxy-row > input[type="checkbox"] {
  flex: 0 0 auto;
  margin: .18rem 0 0 !important;
  accent-color: var(--guru-fv-valid);
  cursor: pointer;
}

.guru-fv-invoice-address-choice__proxy-label {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 .45rem 0 0 !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  box-sizing: border-box;
}

.guru-fv-invoice-address-choice__label-text {
  display: block;
  width: 100%;
}

.guru-fv-invoice-address-choice__hint {
  display: block;
  width: 100%;
  margin: 0.16rem 0 0 !important;
  padding: 0 .25rem 0 0 !important;
  color: #6c757d;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

@media (max-width: 575.98px) {
  .guru-fv-settlement-choice__options {
    grid-template-columns: 1fr;
  }
}

@supports not selector(:has(*)) {
  .guru-fv-settlement-option.guru-fv-settlement-option--selected {
    border-color: var(--guru-fv-valid);
    box-shadow: 0 0 0 0.15rem var(--guru-fv-valid-glow);
  }
}

@supports not (color: color-mix(in srgb, red 10%, white)) {
  .guru-fv-settlement-option:has(input:checked) {
    background: rgba(40, 167, 69, 0.045);
  }

  .guru-fv-settlement-option--selected .guru-fv-settlement-option__icon,
  .guru-fv-settlement-option:has(input:checked) .guru-fv-settlement-option__icon {
    background: rgba(40, 167, 69, 0.08);
  }
}

/* Komunikaty, podsumowanie, faktura i debug */
.guru-fv-field-message {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: .38rem 0 0 !important;
  padding: 0 !important;
  color: var(--guru-fv-invalid, #dc3545);
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.guru-fv-field-message--success {
  color: var(--guru-fv-valid, #28a745);
}
.guru-fv-field-message--warning {
  color: #9a6700;
}
.guru-fv-error-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border: 1px solid color-mix(in srgb, var(--guru-fv-invalid, #dc3545) 42%, #fff);
  border-radius: .5rem;
  background: color-mix(in srgb, var(--guru-fv-invalid, #dc3545) 6%, #fff);
  color: #5b252b;
  font-size: .82rem;
  line-height: 1.35;
}
.guru-fv-error-summary__action {
  flex: 0 0 auto;
  padding: .35rem .6rem;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: var(--guru-fv-invalid, #dc3545);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.guru-fv-invoice-business-heading {
  width: 100%;
  margin: .9rem 0 .65rem;
  padding: .7rem .8rem;
  border-left: 3px solid var(--guru-fv-valid, #28a745);
  border-radius: .35rem;
  background: color-mix(in srgb, var(--guru-fv-valid, #28a745) 5%, #fff);
}
.guru-fv-invoice-business-heading strong,
.guru-fv-invoice-business-heading span { display:block; }
.guru-fv-invoice-business-heading strong { color:#343a40; font-size:.86rem; }
.guru-fv-invoice-business-heading span { margin-top:.12rem; color:#6c757d; font-size:.76rem; line-height:1.35; }
.guru-fv-invoice-business-field {
  position: relative;
  padding-top: .2rem;
  padding-bottom: .2rem;
}
.guru-fv-invoice-business-field .form-control {
  border-color: color-mix(in srgb, var(--guru-fv-valid, #28a745) 42%, #ced4da);
}
.guru-fv-debug-panel {
  position: fixed;
  z-index: 2147483000;
  right: 1rem;
  bottom: 1rem;
  width: min(620px, calc(100vw - 2rem));
  max-height: min(70vh, 620px);
  overflow: hidden;
  border: 1px solid #5e3b9e;
  border-radius: .6rem;
  background: #fff;
  color:#2f3542;
  box-shadow: 0 .6rem 2rem rgba(25,20,40,.24);
  font: 12px/1.35 Arial,sans-serif;
}
.guru-fv-debug-panel__head { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.65rem .8rem; background:#6f42c1; color:#fff; }
.guru-fv-debug-panel__head button { border:0; background:transparent; color:#fff; font-size:1.25rem; line-height:1; cursor:pointer; }
.guru-fv-debug-panel__body { max-height: calc(min(70vh, 620px) - 44px); overflow:auto; }
.guru-fv-debug-panel table { width:100%; border-collapse:collapse; }
.guru-fv-debug-panel th,.guru-fv-debug-panel td { padding:.45rem .55rem; border-bottom:1px solid #eceff2; text-align:left; vertical-align:top; }
.guru-fv-debug-panel th { position:sticky; top:0; background:#f7f4fb; color:#56319a; font-weight:700; }
@media (max-width:575.98px) {
  .guru-fv-error-summary { align-items:flex-start; flex-direction:column; }
}
@supports not (color: color-mix(in srgb, red 10%, white)) {
  .guru-fv-error-summary { border-color:#efb8bd; background:#fff7f8; }
  .guru-fv-invoice-business-heading { background:#f7fcf8; }
}

/* Automatyczne pobieranie danych firmy po NIP */
.guru-fv-company-lookup {
  width: 100%;
  max-width: 100%;
  margin: .5rem 0 0;
  padding: .65rem .75rem;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: .45rem;
  background: rgba(0, 0, 0, .018);
}
.guru-fv-company-lookup[hidden] { display: none !important; }
.guru-fv-company-lookup__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.guru-fv-company-lookup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 34px;
  padding: .42rem .7rem;
  border: 1px solid color-mix(in srgb, var(--guru-fv-valid, #28a745) 42%, #ced4da);
  border-radius: .4rem;
  background: #fff;
  color: #343a40;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, opacity 150ms ease;
}
.guru-fv-company-lookup__button:hover:not(:disabled) {
  border-color: var(--guru-fv-valid, #28a745);
  box-shadow: 0 0 0 .12rem var(--guru-fv-valid-glow, rgba(40,167,69,.15));
  transform: translateY(-1px);
}
.guru-fv-company-lookup__button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.guru-fv-company-lookup__button > span:first-child {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--guru-fv-valid, #28a745) 10%, #fff);
  color: var(--guru-fv-valid, #28a745);
  font-size: .9rem;
  line-height: 1;
}
.guru-fv-company-lookup__status {
  display: block;
  min-height: 0;
  margin-top: .38rem;
  font-size: .76rem;
  line-height: 1.35;
}
.guru-fv-company-lookup__status:empty { display: none; }
.guru-fv-company-lookup__status-main,
.guru-fv-company-lookup__status-meta { display: block; }
.guru-fv-company-lookup__status-main { font-weight: 700; }
.guru-fv-company-lookup__status-meta { margin-top: .12rem; color: #59616a; font-weight: 400; }
.guru-fv-company-lookup__status.is-success .guru-fv-company-lookup__status-main { color: var(--guru-fv-valid, #28a745); }
.guru-fv-company-lookup__status.is-warning .guru-fv-company-lookup__status-main { color: #9a6700; }
.guru-fv-company-lookup__status.is-loading .guru-fv-company-lookup__status-main { color: #5c6670; }
.guru-fv-company-lookup__source {
  display: block;
  margin-top: .3rem;
  color: #8a929a;
  font-size: .68rem;
  line-height: 1.3;
}
@supports not (color: color-mix(in srgb, red 10%, white)) {
  .guru-fv-company-lookup__button { border-color: #b8d9c0; }
  .guru-fv-company-lookup__button > span:first-child { background: #eef8f0; }
}


/* Settlement + invoice address are one stable UI group. */
.guru-fv-settlement-stable-host[data-guru-fv-position="above"] { margin: 0 0 .65rem; }
.guru-fv-settlement-stable-host[data-guru-fv-position="below"] { margin: .65rem 0 0; }
.guru-fv-settlement-stable-host > .guru-fv-settlement-choice { margin-bottom:.65rem; }
.guru-fv-settlement-stable-host > .guru-fv-invoice-address-choice { margin-top:0 !important; }


/* Inline billing address below delivery form */
.guru-fv-inline-invoice {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1rem 0.35rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .55rem;
  background: rgba(0,0,0,.018);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.guru-fv-inline-invoice[hidden] { display:none !important; }
.guru-fv-inline-invoice__head {
  display:flex;
  flex-direction:column;
  gap:.15rem;
  margin:0 0 .9rem;
}
.guru-fv-inline-invoice__head strong { font-size:1rem; line-height:1.3; }
.guru-fv-inline-invoice__head span { font-size:.875rem; opacity:.72; line-height:1.45; }
.guru-fv-inline-invoice-form { margin:0; width:100%; max-width:100%; }
.guru-fv-inline-invoice__error {
  margin:0 0 .85rem;
  padding:.65rem .8rem;
  border:1px solid var(--guru-fv-invalid-color, #dc3545);
  border-radius:.4rem;
  background:rgba(220,53,69,.06);
  color:var(--guru-fv-invalid-color, #dc3545);
  font-size:.875rem;
  line-height:1.4;
}

/* Inline billing business fields are isolated from delivery visibility rules. */
.guru-fv-inline-invoice-form[data-guru-fv-inline-billing-mode="company"] [data-guru-fv-inline-business-field],
.guru-fv-inline-invoice-form.guru-fv-inline-company-invoice [data-guru-fv-inline-business-field] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.guru-fv-inline-invoice-form[data-guru-fv-inline-billing-mode="company"] [data-guru-fv-inline-business-field] .form-control,
.guru-fv-inline-invoice-form.guru-fv-inline-company-invoice [data-guru-fv-inline-business-field] .form-control {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.guru-fv-inline-invoice-form[data-guru-fv-inline-billing-mode="private"] [data-guru-fv-inline-business-field] {
  display: none !important;
}


/* Clear two-address checkout layout */
.guru-fv-delivery-address-head {
  display:flex;
  flex-direction:column;
  gap:.15rem;
  margin:0 0 .9rem;
  padding:.8rem .95rem;
  border:1px solid rgba(0,0,0,.10);
  border-radius:.5rem;
  background:rgba(0,0,0,.018);
}
.guru-fv-delivery-address-head strong { font-size:1rem; line-height:1.3; }
.guru-fv-delivery-address-head span { font-size:.875rem; line-height:1.4; opacity:.72; }
.guru-fv-inline-continue {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:100%;
  margin:1rem 0 .45rem;
  padding-top:.9rem;
  border-top:1px solid rgba(0,0,0,.08);
}
.guru-fv-inline-continue > button { margin:0; }
@media (max-width: 767.98px) {
  .guru-fv-inline-continue > button { width:100%; }
}

/* Hard fallback for native guest-account text / password optional marker. */
.guru-fv-native-create-account-hidden,
.guru-fv-password-optional-hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Google reCAPTCHA v2 checkbox. */
.guru-fv-recaptcha {
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
  margin: 1rem 0 1.1rem;
  box-sizing: border-box;
}

.guru-fv-recaptcha__widget {
  display: flex;
  min-height: 78px;
  max-width: 100%;
  overflow: visible;
  justify-content: flex-start;
}

.guru-fv-recaptcha--left .guru-fv-recaptcha__widget { justify-content: flex-start; }
.guru-fv-recaptcha--center .guru-fv-recaptcha__widget { justify-content: center; }
.guru-fv-recaptcha--right .guru-fv-recaptcha__widget { justify-content: flex-end; }
.guru-fv-recaptcha--left .guru-fv-recaptcha__error { text-align: left; }
.guru-fv-recaptcha--center .guru-fv-recaptcha__error { text-align: center; }
.guru-fv-recaptcha--right .guru-fv-recaptcha__error { text-align: right; }

.guru-fv-recaptcha__widget > div {
  max-width: 100%;
}

.guru-fv-recaptcha__error {
  display: block;
  margin-top: .45rem;
  color: var(--guru-fv-invalid, #dc3545);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
}

.guru-fv-recaptcha__error[hidden] {
  display: none !important;
}

#checkout-personal-information-step .guru-fv-recaptcha,
.login-form .guru-fv-recaptcha,
.register-form .guru-fv-recaptcha,
.contact-form .guru-fv-recaptcha {
  margin-top: 1.1rem;
}

@media (max-width: 360px) {
  .guru-fv-recaptcha__widget {
    min-height: 144px;
  }
}
