.asahi-open-popup {
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 9998;
  border: 0;
  border-radius: 999px;
  background: #d60a10;
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
    animation: pulse 1.2s infinite;
}


.asahi-popup-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.asahi-popup-overlay.is-open {
  display: flex;
}

.asahi-popup {
  width: 100%;
  max-width: 560px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 92vh;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
  position: relative;
  font-size: 14px;
  color: #1f2937;
  border-radius: 20px;
}

.asahi-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: #f3f4f6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #374151;
  transition: transform 0.2s ease, background 0.2s ease;
}
.asahi-popup-close:hover {
  background: #e5e7eb;
  transform: scale(1.05);
}

.asahi-popup h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: #111827;
}

.asahi-subtitle {
  margin: 0 0 14px;
  color: #6b7280;
}

.asahi-step {
  display: none;
}

.asahi-step.is-active {
  display: block;
}
input.asahi-route-other {
    margin-top: 10px;
}
.asahi-popup label,
.asahi-popup legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #111827;
  font-size: 16px;
}
/* focus nổi bật */
/* hover nhẹ */
input[type="date"]:hover {
    border-color: #0066ff;
}
.asahi-popup input[type="text"],.asahi-popup input[type="date"],
.asahi-popup input[type="number"],
.asahi-popup textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 14px;
  background: #fff;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 8px;
}
.asahi-popup input[type="text"]:focus,.asahi-popup input[type="date"]:focus,
.asahi-popup input[type="number"]:focus,
.asahi-popup textarea:focus {
  outline: none;
  border-color: #e84118;
  box-shadow: 0 0 0 3px rgba(232, 65, 24, 0.15);
}

.asahi-popup fieldset {
  border: 0;
  padding: 0;
  margin: 8px 0;
}

.asahi-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.asahi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asahi-chips button {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
  color: #374151;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.asahi-chips button:hover {
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.asahi-chips button.is-selected {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.asahi-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #374151;
}

.asahi-consent input {
  width: auto;
}

.asahi-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.asahi-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #ff6b3d, #e84118);
  color: #fff;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(232, 65, 24, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.asahi-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(232, 65, 24, 0.3);
}

.asahi-btn-link {
  border: 0;
  background: transparent;
  color: #444;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
}

.asahi-error {
  color: #b42318;
  margin-top: 10px;
  min-height: 18px;
}

.asahi-success {
  color: #067647;
  margin-top: 10px;
  min-height: 18px;
}

body.asahi-popup-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .asahi-popup {
    padding: 16px;
    border-radius: 12px;
  }

  .asahi-row-2 {
    grid-template-columns: 1fr;
  }

  .asahi-open-popup {
    right: 12px;
    bottom: 50px;
    width: auto;
    height: auto;
  }
}
