.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 28, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 12000;
}

.popup-dialog {
  position: relative;
  width: min(860px, 100%);
  background: #e2e2e2;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(5, 9, 20, 0.35);
  overflow: visible;
  padding: 8px;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.popup-close {
  border: none;
  background: transparent;
  position: absolute;
  top: -30px;
  right: -30px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #d91e2e;
  font-size: 1.9rem;
  font-weight: 600;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 2;
}

.popup-close:hover {
  color: #a1121e;
  transform: scale(1.05);
}

.popup-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.popup-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.popup-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  color: #d91e2e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popup-subtitle {
  margin-top: 0.35rem;
  font-size: 1rem;
  color: #1b2c4f;
  font-weight: 600;
}

.popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.popup-card {
  background: #f9fafc;
  border-radius: 20px;
  padding: 1.25rem;
  min-height: 100%;
  border: 1px solid rgba(4, 39, 97, 0.08);
}

.popup-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.popup-card-header img {
  width: 46px;
  height: 46px;
}

.popup-card-header span {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f2d55;
}

.popup-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #1b2c4f;
  font-size: 0.95rem;
}

.popup-card ul li strong {
  color: #d91e2e;
  font-weight: 700;
}

.popup-banks-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #0f2d55;
}

.popup-banks-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 1rem;
}

.popup-banks-list li {
  position: relative;
  color: #1b2c4f;
}

.popup-banks-list li::before {
  content: '';
  position: absolute;
  left: -0.7rem;
  top: 0.4rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d91e2e;
}

.popup-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: #d91e2e;
  font-weight: 600;
}

.popup-badge {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(217, 30, 46, 0.1);
  color: #d91e2e;
  font-weight: 600;
}

@media (max-width: 575px) {
  .popup-dialog {
    padding: 1.25rem;
  }

  .popup-card {
    padding: 1rem;
  }

  .popup-card-header span {
    font-size: 0.95rem;
  }
}

body.popup-open {
  overflow: hidden;
}
