* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #e8edf4;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px;
}

.container {
  width: 100%;
  max-width: 480px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card-topbar {
  height: 6px;
  background: #3e5b46;
}

.card-divider {
  height: 2px;
  background: #3e5b46;
}

.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e0e6ef;
}

.bank-logo {
  max-width: 280px;
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.header {
  padding: 24px 20px 16px;
  text-align: center;
}

.title {
  font-size: 20px;
  font-weight: 700;
  color: #3e5b46;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 13px;
  color: #444;
  margin-bottom: 4px;
}

.service-name {
  font-size: 13px;
  font-weight: 700;
  color: #3e5b46;
}

.fields-block {
  margin: 0 16px 16px;
  border: 1.5px solid #ccd7e8;
  border-radius: 10px;
  overflow: hidden;
}

.field-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  gap: 8px;
  background: #fff;
  min-height: 54px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: #3e5b46;
  min-width: 72px;
  flex-shrink: 0;
}

.field-value {
  flex: 1;
  font-size: 13px;
  color: #222;
  word-break: break-all;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.copy-btn:hover {
  color: #3e5b46;
  background: #eaf0eb;
}

.copy-btn.copied {
  color: #27ae60;
}

.field-divider {
  height: 1px;
  background: #ccd7e8;
  margin: 0 16px;
}

.warning-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 32px);
  margin: 14px 16px;
  padding: 13px;
  background: #f5a623;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  transition: background 0.2s;
}

.warning-btn:hover {
  background: #e09510;
}

.warning-icon {
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.bottom-text {
  padding: 0 20px 16px;
  text-align: center;
}

.bottom-bold {
  font-size: 12px;
  font-weight: 700;
  color: #3e5b46;
  margin-bottom: 10px;
  line-height: 1.5;
}

.bottom-desc {
  font-size: 12px;
  color: #444;
  line-height: 1.6;
}

.send-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 4px 16px 20px;
  padding: 16px;
  background: #3e5b46;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.send-btn:hover {
  background: #2d3d2b;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  margin: auto;
}

.modal-header {
  background: #2d3d2b;
  padding: 18px 20px;
  text-align: center;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

.modal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-alert {
  background: #fff8e1;
  border: 1.5px solid #f5a623;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
  white-space: pre-wrap;
}

.modal-alert::before {
  content: '⚠ IMPORTANTE: ';
  font-weight: 700;
  color: #c47a00;
}

.modal-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f4;
}

.modal-step:last-child {
  border-bottom: none;
}

.step-num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #3e5b46;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 12px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 4px;
}

.step-banks {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 4px;
}

.step-note {
  font-size: 11px;
  color: #888;
  font-style: italic;
  line-height: 1.5;
}

.modal-step2-img {
  display: block;
  width: 100%;
  border-radius: 8px;
  margin: 8px 0;
  border: 1px solid #dde5f0;
}

.modal-box-green {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f0faf4;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  color: #333;
  line-height: 1.6;
  margin-top: 10px;
}

.modal-box-gray {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f4f5f7;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  color: #333;
  line-height: 1.7;
  margin-top: 8px;
}

.modal-box-gray p,
.modal-box-green p {
  margin-bottom: 2px;
  font-size: 12px;
}

.modal-box-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-ok-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: #3e5b46;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-ok-btn:hover {
  background: #2d3d2b;
}

.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #222;
  color: #fff;
  padding: 9px 22px;
  border-radius: 20px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
