* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 15px;
  color: #333;
}

.container {
  max-width: 680px;
  margin: 20px auto;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 24px;
  color: #1a202c;
}

.note {
  text-align: center;
  font-size: 13px;
  color: #718096;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-row label {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  color: #2d3748;
}

.form-row input,
.form-row select {
  flex: 1;
  max-width: 50%;
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e0;
  background-color: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.form-row input[readonly] {
  background-color: #edf2f7;
  color: #4a5568;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  background-color: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.05s ease;
}

.wa-btn:hover {
  background-color: #20bd5a;
}

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

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  background-color: #edf2f7;
  color: #4a5568;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.copy-btn:hover {
  background-color: #e2e8f0;
}

.copy-status {
  text-align: center;
  font-size: 13px;
  color: #2b6cb0;
  min-height: 18px;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: #718096;
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  line-height: 1.5;
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  .container {
    padding: 18px 16px;
    margin: 10px auto;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .form-row label {
    width: 100%;
  }

  .form-row input,
  .form-row select {
    width: 100%;
    max-width: 100%;
  }
}
