/* public/portal/style.css */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.6;
  color: #111827;
  background-color: #f8fafc;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
}

.header {
  background: #0f172a;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  margin-bottom: 24px;
}

.header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.lead {
  font-size: 22px;
  color: #e2e8f0;
}

.card {
  background: #ffffff;
  border: 3px solid #cbd5e1;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.03);
}

.card h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #0f172a;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 20px;
}

.input-large {
  width: 100%;
  font-size: 22px;
  padding: 14px 18px;
  border: 2px solid #94a3b8;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
}

.input-large:focus {
  border-color: #0b4ea2;
}

.btn {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.9; }

.btn-primary { background: #0b4ea2; color: #fff; width: 100%; }
.btn-secondary { background: #475569; color: #fff; }
.btn-tel {
  background: #166534;
  color: #fff;
  font-size: 26px;
  display: block;
  width: 100%;
  margin-top: 14px;
}

.btn-block { width: 100%; }

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 19px;
}

.alert-danger { background: #fee2e2; border: 2px solid #ef4444; color: #991b1b; }
.alert-warn { background: #fef3c7; border: 2px solid #f59e0b; color: #92400e; }
.alert-success { background: #dcfce7; border: 2px solid #22c55e; color: #166534; }

.consent-box {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 10px;
}

.consent-box label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 19px;
  font-weight: normal;
  cursor: pointer;
}

.consent-box input[type="checkbox"] {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.help-card {
  background: #f0fdf4;
  border-color: #86efac;
  text-align: center;
}

.footer {
  text-align: center;
  padding: 24px 0;
  font-size: 17px;
  color: #64748b;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #e2e8f0;
  border-top-color: #0b4ea2;
  border-radius: 50%;
  margin: 24px auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.file-preview-grid {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.file-help, .wait-help {
  font-size: 18px;
  color: #475569;
  margin: 6px 0 12px;
}

.photo-input-grid {
  display: grid;
  gap: 12px;
}

.photo-slot {
  padding: 12px;
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  background: #f8fafc;
}

.photo-slot input { display: block; margin-top: 8px; font-size: 17px; width: 100%; }

.file-preview-item {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.file-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

