
/* Japan ATM Fee Checker – Styles */
.jpafc-container {
  max-width: 780px;
  margin: 24px auto;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  overflow: hidden;
}

.jpafc-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, #f7f9fc, #eef2f7);
  border-bottom: 1px solid #eef1f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jpafc-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

.jpafc-badge {
  font-size: 12px;
  background: #111827;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}

.jpafc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.jpafc-tab {
  text-align: center;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.jpafc-tab.active {
  border-color: #2563eb;
  color: #2563eb;
  background: #f7fbff;
}

.jpafc-body {
  padding: 16px 20px 22px;
}

.jpafc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .jpafc-grid {
    grid-template-columns: 1fr;
  }
}

.jpafc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.jpafc-field select,
.jpafc-field input[type="time"],
.jpafc-field input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  outline: none;
}
.jpafc-field select:focus,
.jpafc-field input[type="time"]:focus,
.jpafc-field input[type="date"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.jpafc-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.jpafc-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .05s ease, box-shadow .2s ease;
}
.jpafc-btn.primary {
  background: #2563eb;
  color: white;
  box-shadow: 0 6px 18px rgba(37,99,235,0.24);
}
.jpafc-btn.secondary {
  background: #f3f4f6;
  color: #111827;
}

.jpafc-btn:active { transform: translateY(1px); }

.jpafc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.jpafc-chip {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #e0e7ff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}

.jpafc-result {
  margin-top: 14px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 14px;
  background: #f9fafb;
}

.jpafc-result h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.jpafc-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}
.jpafc-disclaimer {
  font-size: 12px;
  color: #6b7280;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 10px;
  border-radius: 10px;
  margin-top: 12px;
}
