
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
 
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #eef1f7;
  min-height: 100vh;
  padding: 40px 16px;
}
 
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 36px 32px 40px;
}
 
h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  text-align: center;
}
 
h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 18px;
  text-align: center;
}
 
hr {
  border: none;
  border-top: 1px solid #e8eaf0;
  margin: 28px 0;
}
 
/* ---- Inputs & Selects ---- */
 
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d8dce8;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #222;
  background: #fafbfd;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
 
input:focus, select:focus, textarea:focus {
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74,108,247,0.10);
  background: #fff;
}
 
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
 
textarea {
  resize: vertical;
  min-height: 90px;
}
 
/* ---- Layout helpers ---- */
 
.field-group {
  margin-bottom: 12px;
}
 
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
 
.date-field {
  display: flex;
  align-items: center;
  gap: 8px;
}
 
.date-field label {
  font-size: 0.88rem;
  color: #555;
  white-space: nowrap;
  font-weight: 500;
}
 
.date-field input {
  flex: 1;
}
 
textarea {
  margin-bottom: 16px;
}
 
/* ---- Info box ---- */
 
.info-box {
  background: #f0f4ff;
  border: 1px solid #c7d4fb;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #2d3a6b;
  line-height: 1.7;
  margin-bottom: 14px;
}
 
.info-box.hidden {
  display: none;
}
 
/* ---- Buttons ---- */
 
.btn-primary, .btn-secondary {
  padding: 11px 22px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  width: 100%;
  margin-bottom: 8px;
}
 
.btn-primary {
  background: #4a6cf7;
  color: #fff;
}
 
.btn-primary:hover {
  background: #3558e8;
}
 
.btn-primary:active {
  transform: scale(0.98);
}
 
.btn-secondary {
  background: #f0f2f8;
  color: #4a4a6a;
}
 
.btn-secondary:hover {
  background: #e2e6f3;
}
 
.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 20px;
}
 
.btn-row .btn-primary,
.btn-row .btn-secondary {
  margin-bottom: 0;
}
 
/* ---- Cards de resultado ---- */
 
.card {
  background: #f8f9fd;
  border: 1px solid #e2e6f0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
}
 
.card b {
  color: #4a6cf7;
}