/* Modern neutral theme for Terceros public registration */
:root{
  --card: #ffffff;
  --card-border: #e2e8f0;
  --muted: #64748b;
  --text: #334155;
  --accent: #3b82f6;
  --accent-light: #dbeafe;
  --success: #10b981;
  --warning: #f59e0b;
  --ring: rgba(59,130,246,.2);
  --input-bg: #f8fafc;
  --input-border: #cbd5e1;
}

.terceros-register{
  padding: 0 !important;
}

/* Card wrapper */
.terceros-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  padding: 32px 24px;
  margin-top: 16px;
}

/* Typography */
legend{
  color: var(--text);
  font-weight: 600;
  font-size: 1.125rem;
}

.notification{
  border: 1px solid var(--card-border);
  background: var(--card);
}

/* Inputs */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea{
  background: var(--input-bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: 8px !important;
  outline: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
  padding: 10px 12px !important;
}

input:focus, select:focus, textarea:focus{
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--ring) !important;
  background: #ffffff !important;
}

/* Buttons */
button, .btn{
  border-radius: 8px !important;
  font-weight: 500 !important;
}
.btn-info{
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #ffffff !important;
  transition: all .2s ease !important;
}
.btn-info:hover{
  background: #2563eb !important;
  border-color: #2563eb !important;
  transform: translateY(-1px);
}

/* Lists */
.list-group-item{
  background: var(--card) !important;
  color: var(--text) !important;
  border: 1px solid var(--card-border) !important;
  transition: all .2s ease !important;
}
.list-group-item:hover{
  background: var(--input-bg) !important;
}
.list-group-item-success{
  background: rgba(16,185,129,.1) !important;
  border-color: var(--success) !important;
  color: #065f46 !important;
}
.list-group-item-warning{
  background: rgba(245,158,11,.1) !important;
  border-color: var(--warning) !important;
  color: #92400e !important;
}

/* Alerts */
.alert-info{
  background: var(--accent-light);
  color: #1e40af;
  border-color: var(--accent);
  border-radius: 8px;
}

/* Modal body */
.modal-lugarvotacion{
  background: var(--card);
}

/* Map container */
#map-google{
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Policy section */
#politicas{
  max-height: 200px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--input-bg);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Form labels */
label{
  color: var(--text) !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}
