
.nexir-paypal {
  margin: 0.75rem 0;
  font-family: inherit;
  color: inherit;
}

.nexir-paypal__inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 25px;
  font-size: 0.85rem;
  white-space: nowrap;
  color: #2c2e2f;
}

.nexir-paypal__brand {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nexir-paypal__brand-icon {
  height: 18px;
  width: auto;
  display: block;
}

.nexir-paypal__brand-text {
  font-weight: 600;
  color: #003087;
  font-size: 0.8575rem;
}

.nexir-paypal__message {
  color: #1f1f1f;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 12px;
}

.nexir-paypal__inline.is-expanded {
  height: auto;
  align-items: flex-start;
  flex-direction: column;
  white-space: normal;
  gap: 0.35rem;
}

.nexir-paypal__inline.is-expanded .nexir-paypal__brand {
  gap: 0.35rem;
}

.nexir-paypal__inline.is-expanded .nexir-paypal__message {
  overflow: visible;
  text-overflow: unset;
  font-size: 0.9375rem;
}

.nexir-paypal__inline.is-expanded .nexir-paypal__link {
  align-self: flex-start;
  font-size: 0.9375rem;
}

.nexir-paypal__link {
  color: #0061f3;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 12px;
  background: none;
  border: none;
  text-decoration: underline;
}

.nexir-paypal__link:focus,
.nexir-paypal__link:hover {
  text-decoration: underline;
  color: #003087;
  outline: none;
}

.nexir-paypal__modal[hidden] {
  display: none !important;
}

.nexir-paypal__modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  min-height: 100dvh;
}

html.nexir-paypal-modal-open,
body.nexir-paypal-modal-open {
  overflow: hidden;
}

.nexir-paypal__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  margin:0!important;
}

.nexir-paypal__modal-dialog {
  position: relative;
  max-width: 560px;
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nexir-paypal__modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nexir-paypal__modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #001435;
  flex: 1;
}

.nexir-paypal__modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}

.nexir-paypal__modal-close:focus,
.nexir-paypal__modal-close:hover {
  color: #0f172a;
  outline: none;
}

.nexir-paypal__modal-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: #1f2937;
}

.nexir-paypal__timeline {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  margin: 0 2rem;
}

.nexir-paypal__timeline-step {
  text-align: center;
  flex: 1;
  font-size: 0.9rem;
}

.nexir-paypal__timeline-dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #94a3b8;
  margin-bottom: 0.4rem;
}

.nexir-paypal__timeline-dot.is-active {
  background: #0070e0;
}

.nexir-paypal__timeline-legend {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-weight: 600;
}

.nexir-paypal__timeline-legend small {
  font-weight: 400;
  color: #64748b;
}

.nexir-paypal__timeline-legend.is-primary .nexir-paypal__timeline-amount {
  color: #003087;
  font-weight: 700;
}

.nexir-paypal__timeline-legend.is-primary .nexir-paypal__timeline-label,
.nexir-paypal__timeline-label.is-primary {
  color: #001435;
  font-weight: 700;
}

.nexir-paypal__timeline-amount {
  font-weight: 600;
  color: #1f2937;
}

.nexir-paypal__timeline-label {
  font-weight: 500;
  color: #475569;
}

.nexir-paypal__timeline-divider {
  width: 2px;
  background: linear-gradient(180deg, rgba(148,163,184,0.1) 0%, rgba(148,163,184,0.6) 50%, rgba(148,163,184,0.1) 100%);
}

.nexir-paypal__steps {
  padding-left: 1.2rem;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.nexir-paypal__steps li {
  color: #001435;
  font-weight: 700;
}

.nexir-paypal__legal {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  color: #475569;
}

@media (max-width: 768px) {
  .nexir-paypal__inline {
    flex-wrap: wrap;
    gap: 0.35rem;
    height: auto;
    white-space: normal;
  }

  .nexir-paypal__brand {
    gap: 0.25rem;
  }

  .nexir-paypal__brand-text {
    font-size: 0.75rem;
  }

  .nexir-paypal__message {
    overflow: visible;
    text-overflow: unset;
    font-size: 0.8125rem;
  }

  .nexir-paypal__link {
    font-size: 0.8125rem;
  }

  .nexir-paypal__modal-dialog {
    margin: 2vh 1rem;
    padding: 1.5rem;
    height: calc(100dvh - 4vh);
  }

  .nexir-paypal__timeline {
    flex-direction: row;
    align-items: center;
  }

  .nexir-paypal__timeline-divider {
    width: 2px;
    height: 48px;
  }
}
