/* eSIM pricing search — LiveConnect Viagens */

.lc-esim {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.lc-esim__head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.lc-esim__head h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.lc-esim__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.lc-esim__filters {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(46, 197, 255, 0.22);
  background: rgba(8, 22, 32, 0.72);
  box-shadow: 0 0 28px rgba(46, 197, 255, 0.08);
}

@media (min-width: 720px) {
  .lc-esim__filters {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: end;
    padding: 1.15rem 1.25rem;
  }
}

.lc-esim__field {
  display: grid;
  gap: 0.35rem;
}

.lc-esim__field span {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lc-esim__field input,
.lc-esim__field select {
  min-height: 2.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(46, 197, 255, 0.28);
  background: #0e2432;
  color: #e8f4fa;
  -webkit-text-fill-color: #e8f4fa;
  caret-color: #2ec5ff;
  outline: none;
  color-scheme: dark;
  font-size: 1rem;
  font-weight: 500;
}

.lc-esim__field input::placeholder {
  color: #7a93a3;
  -webkit-text-fill-color: #7a93a3;
  opacity: 1;
}

.lc-esim__field input:focus,
.lc-esim__field select:focus {
  border-color: rgba(46, 197, 255, 0.65);
  background: #123040;
  box-shadow: 0 0 0 3px rgba(46, 197, 255, 0.15);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* Autofill / datalist do browser escurecia o texto */
.lc-esim__field input:-webkit-autofill,
.lc-esim__field input:-webkit-autofill:hover,
.lc-esim__field input:-webkit-autofill:focus,
.lc-esim__field input:-webkit-autofill:active {
  -webkit-text-fill-color: #e8f4fa !important;
  caret-color: #2ec5ff;
  box-shadow: 0 0 0 1000px #0e2432 inset !important;
  transition: background-color 99999s ease-out 0s;
}

.lc-esim__field select option,
.lc-esim__field select optgroup {
  background: #0e2432;
  color: #e8f4fa;
}

.lc-esim__field input.is-selected,
.lc-esim__field #esimRegion:not(:placeholder-shown) {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: #143447;
  border-color: rgba(46, 197, 255, 0.45);
}

.lc-esim__search-btn {
  min-height: 2.85rem;
}

.lc-esim__status {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.lc-esim__count {
  margin: 0 0 0.85rem;
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.lc-esim__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .lc-esim__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .lc-esim__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lc-esim-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid rgba(46, 197, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(14, 36, 48, 0.95), rgba(6, 16, 24, 0.96));
  box-shadow: 0 0 24px rgba(46, 197, 255, 0.12);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.lc-esim-card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 197, 255, 0.45);
  box-shadow: 0 0 36px rgba(46, 197, 255, 0.22);
}

.lc-esim-card__tag {
  margin: 0;
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(46, 197, 255, 0.75);
}

.lc-esim-card__title {
  margin: 0.55rem 0 0.25rem;
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lc-esim-card__name {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.lc-esim-card__meta {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--text);
}

.lc-esim-card__speed {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.lc-esim-card__price {
  margin: 1.1rem 0 0;
  font-family: var(--font-d);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.lc-esim-card__price i {
  font-style: normal;
  font-size: 1rem;
  opacity: 0.85;
}

.lc-esim-card .lc-btn {
  margin-top: 1rem;
  width: 100%;
}

.lc-esim__fup {
  margin: 1.5rem 0 0;
  max-width: 48rem;
  color: #7a93a3;
  font-size: 0.75rem;
  line-height: 1.5;
}

.lc-esim__empty {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 190, 80, 0.25);
  background: rgba(255, 180, 60, 0.06);
  color: #f0d9a8;
  font-size: 0.92rem;
}

/* Checkout modal */
.lc-esim-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lc-esim-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 14, 0.72);
  backdrop-filter: blur(6px);
}

.lc-esim-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  padding: 1.35rem 1.35rem 1.5rem;
  border: 1px solid rgba(46, 197, 255, 0.35);
  background: #07141e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(46, 197, 255, 0.15);
}

.lc-esim-modal__x {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.lc-esim-modal__panel h3 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-d);
  font-size: 1.35rem;
}

.lc-esim-modal__plan {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.lc-esim-modal__plan strong {
  color: var(--text);
}

.lc-esim-modal__price {
  margin: 0.65rem 0 1rem;
  font-family: var(--font-d);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
}

.lc-esim-modal__form {
  display: grid;
  gap: 0.75rem;
}

.lc-esim-modal__form label {
  display: grid;
  gap: 0.35rem;
}

.lc-esim-modal__form label span {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lc-esim-modal__form input {
  min-height: 2.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(46, 197, 255, 0.25);
  background: rgba(6, 16, 24, 0.95);
  color: var(--text);
}

.lc-esim-modal__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.lc-esim-modal__error {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 100, 100, 0.35);
  background: rgba(255, 60, 60, 0.08);
  color: #ffb4b4;
  font-size: 0.85rem;
}

.lc-esim-banner {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  border: 1px solid rgba(46, 197, 255, 0.3);
  background: rgba(46, 197, 255, 0.08);
  color: var(--text);
}

.lc-esim-banner--cancel {
  border-color: rgba(255, 180, 80, 0.35);
  background: rgba(255, 160, 60, 0.08);
}
