@font-face {
  font-family: "ADMFF Indivisible";
  src: url("/assets/brand/fonts/Indivisible-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "ADMFF Indivisible";
  src: url("/assets/brand/fonts/Indivisible-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ADMFF Indivisible";
  src: url("/assets/brand/fonts/Indivisible-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

.admff-root,
.admff-root * {
  box-sizing: border-box;
}

.admff-dialog {
  --admff-orange: #ff681f;
  --admff-charcoal: #313131;
  --admff-charcoal-dark: #1f1f1f;
  --admff-panel-dark: #2a2a2a;
  --admff-light-field: #f5f5f5;
  --admff-text-light: #ffffff;
  --admff-muted-light: #cccccc;
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  border: 0;
  background: transparent;
  overflow: auto;
  color: var(--admff-text-light);
  font-family: "ADMFF Indivisible", Arial, sans-serif;
  font-weight: 300;
}

.admff-dialog[open] {
  display: grid;
  place-items: center;
}

.admff-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.admff-panel {
  position: relative;
  width: 100%;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  color: var(--admff-text-light);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.admff-panel--simulation {
  max-width: 800px;
  border-radius: 20px;
  background: var(--admff-panel-dark);
}

.admff-panel--contact {
  max-width: 624px;
  padding: 25px;
  border-radius: 30px;
  background: var(--admff-charcoal);
}

.admff-panel--contact .admff-form {
  padding-top: 0;
}

.admff-contact-header {
  margin: 0 0 20px;
  padding: 0 34px 0 0;
}

.admff-contact-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.admff-close {
  position: absolute;
  z-index: 10;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #b7b7b7;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.admff-panel--contact .admff-close {
  top: 14px;
  right: 14px;
}

.admff-close:hover,
.admff-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.admff-close:focus-visible,
.admff-submit:focus-visible,
.admff-input:focus-visible,
.admff-privacy a:focus-visible {
  outline: 3px solid rgba(255, 104, 31, 0.55);
  outline-offset: 2px;
}

.admff-close:disabled {
  opacity: 0.45;
  cursor: wait;
}

.admff-simulation-top {
  display: flex;
  border-radius: 20px 20px 0 0;
  background: var(--admff-panel-dark);
}

.admff-simulation-left {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding: 25px;
}

.admff-simulation-right {
  display: flex;
  flex: 0 0 250px;
  align-items: center;
  justify-content: center;
  padding: 35px 20px 20px;
}

.admff-image-container {
  position: relative;
  width: 100%;
  max-width: 170px;
  height: 200px;
}

.admff-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admff-header {
  margin: 0 0 20px;
  padding: 0;
}

.admff-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.admff-subtitle {
  margin: 0;
  color: var(--admff-muted-light);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.2;
}

.admff-form {
  width: 100%;
  margin: 0;
}

.admff-row {
  display: flex;
  gap: 15px;
  width: 100%;
  margin: 0 0 12px;
}

.admff-row--single .admff-field {
  width: 100%;
}

.admff-field {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.admff-input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.25;
  outline: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.admff-input::placeholder {
  color: #999999;
  opacity: 1;
}

.admff-input:focus {
  border-color: var(--admff-orange);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 104, 31, 0.14);
}

.admff-field--required::after {
  content: "*";
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 15px;
  color: var(--admff-orange);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.admff-field--required .admff-input {
  padding-right: 35px;
}

.admff-select {
  padding-right: 42px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
}

.admff-form--simulation .admff-select option {
  background: var(--admff-panel-dark);
  color: #ffffff;
}

.admff-field-error {
  display: block;
  min-height: 0;
  margin: 0;
  color: #ffaaa5;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.25;
}

.admff-field-error:not(:empty) {
  min-height: 1em;
  margin-top: 4px;
}

.admff-field--error .admff-input {
  border-color: #ff5a51;
  background-color: rgba(255, 68, 68, 0.12);
}

.admff-privacy {
  margin: 3px 0 0;
  color: #f8f8f2;
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.45;
}

.admff-privacy a {
  color: var(--admff-orange);
  text-decoration: none;
}

.admff-privacy a:hover {
  text-decoration: underline;
}

.admff-turnstile {
  display: block;
  min-height: 1px;
  width: 100%;
  margin-top: 10px;
}

.admff-turnstile:not(:empty) {
  min-height: 65px;
}

.admff-form-error {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 90, 81, 0.7);
  border-radius: 10px;
  background: rgba(255, 68, 68, 0.12);
  color: #ffe2df;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

.admff-form-error[hidden] {
  display: none;
}

.admff-submit-row {
  margin-top: 15px;
  text-align: left;
}

.admff-submit {
  width: auto;
  min-width: 250px;
  margin: 0;
  padding: 12px 26px;
  border: 0;
  border-radius: 50px;
  background: var(--admff-orange);
  color: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.admff-submit:hover:not(:disabled) {
  background: #e95a14;
  transform: translateY(-2px);
}

.admff-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.admff-benefits {
  width: 100%;
  padding: 20px 25px;
  border-radius: 0 0 20px 20px;
  background: var(--admff-charcoal-dark);
}

.admff-benefits-title {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.1;
}

.admff-benefits-title span {
  color: var(--admff-orange);
  font-weight: 500;
}

.admff-benefits-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.admff-benefit {
  display: flex;
  flex: 1 1 0;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.admff-benefit-icon {
  display: flex;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-top: 2px;
  color: var(--admff-orange);
}

.admff-benefit-icon svg {
  width: 22px;
  height: 22px;
}

.admff-benefit p {
  align-self: center;
  margin: 0;
  color: #dddddd;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.admff-form--contact .admff-row {
  margin-bottom: 32px;
}

.admff-form--contact .admff-input {
  min-height: 50px;
  padding: 16px 20px;
  border: 0;
  background-color: var(--admff-light-field);
  color: #333333;
  font-size: 16px;
  line-height: 1.15;
}

.admff-form--contact .admff-input:focus {
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 104, 31, 0.2);
}

.admff-form--contact .admff-select {
  padding-right: 42px;
}

.admff-form--contact .admff-field--required .admff-input {
  padding-right: 35px;
}

.admff-form--contact .admff-field--error .admff-input {
  border: 2px solid #ff4444;
  background-color: #ffebee;
}

.admff-form--contact .admff-field-error {
  color: #ffc7c3;
}

.admff-form--contact .admff-textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.5;
}

.admff-form--contact .admff-privacy {
  margin-top: 15px;
  line-height: 2.25;
}

.admff-form--contact .admff-submit {
  padding: 10px 24px;
  font-size: 16px;
}

.admff-dialog .iti {
  display: block;
  width: 100%;
}

.admff-dialog .iti__country-list {
  z-index: 50;
  max-width: min(340px, calc(100vw - 50px));
  color: #333333;
  text-align: left;
  white-space: normal;
}

.admff-dialog .iti__selected-flag {
  border-radius: 12px 0 0 12px;
}

.admff-dialog .iti--separate-dial-code .admff-input {
  padding-left: 92px;
}

.admff-dialog .admff-field--phone.admff-field--required::after {
  right: 15px;
}

.admff-dialog[data-phone-loading="true"] .admff-field--phone {
  opacity: 0.78;
}

.admff-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .admff-panel {
    max-height: 95vh;
    max-height: 95dvh;
  }

  .admff-panel--simulation {
    max-width: 95%;
  }

  .admff-simulation-top {
    flex-direction: column;
  }

  .admff-simulation-right {
    display: none;
  }

  .admff-simulation-left,
  .admff-benefits {
    padding: 30px 25px;
  }

  .admff-row {
    flex-direction: column;
    gap: 15px;
  }

  .admff-benefits-grid {
    flex-direction: column;
    gap: 25px;
  }

  .admff-form--contact .admff-row {
    gap: 10px;
    margin-bottom: 10px;
  }

  .admff-form--contact .admff-input {
    min-height: 0;
    padding: 14px 16px;
  }

  .admff-form--contact .admff-submit {
    width: 100%;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .admff-dialog {
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .admff-simulation-left,
  .admff-benefits {
    padding: 25px 20px;
  }

  .admff-title {
    padding-right: 30px;
    font-size: 1.8rem;
  }

  .admff-subtitle {
    font-size: 1rem;
  }

  .admff-input {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .admff-field--required .admff-input {
    padding-right: 30px;
  }

  .admff-field--required::after {
    right: 12px;
  }

  .admff-submit {
    min-width: 200px;
    padding: 14px 25px;
    font-size: 1rem;
  }

  .admff-benefit-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    margin-top: 1px;
  }

  .admff-benefit-icon svg {
    width: 18px;
    height: 18px;
  }

  .admff-benefit p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .admff-panel--contact {
    max-width: 310px;
    padding: 20px;
  }

  .admff-form--contact {
    padding-top: 0;
  }

  .admff-contact-header h2 {
    font-size: 1.65rem;
  }

  .admff-form--contact .admff-input {
    padding: 12px 16px;
  }

  .admff-form--contact .admff-textarea {
    min-height: 100px;
  }

  .admff-form--contact .admff-privacy {
    line-height: 2.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admff-close,
  .admff-input,
  .admff-submit {
    scroll-behavior: auto;
    transition: none;
  }

  .admff-submit:hover:not(:disabled) {
    transform: none;
  }
}
