.cand-section {
  padding: 60px 0;
  background: #f4f7fb;
}

.cand-card {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dde5f0;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(12, 32, 70, 0.08);
}

.cand-header {
  text-align: center;
  margin-bottom: 22px;
}

.cand-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.15);
  color: #d58b10;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cand-header h1 {
  margin: 0 0 8px;
  color: #0f2a4a;
  font-weight: 800;
}

.cand-header p {
  margin: 0;
  color: #5f7088;
}

.cand-alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.cand-alert p { margin: 0; }
.cand-alert + .cand-alert { margin-top: 8px; }

.cand-alert--error {
  border: 1px solid #e3b4b4;
  background: #fff2f2;
  color: #992a2a;
}

.cand-alert--success {
  border: 1px solid #b6dfbf;
  background: #edf9f0;
  color: #1d6c2e;
}

.cand-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.cand-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: #233f60;
  font-size: 14px;
}

.cand-form input,
.cand-form select,
.cand-form textarea {
  width: 100%;
  border: 1px solid #ced9e6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #173558;
  background: #fff;
}

.cand-form textarea {
  resize: vertical;
  min-height: 120px;
}

.cand-form input:focus,
.cand-form select:focus,
.cand-form textarea:focus {
  outline: none;
  border-color: #f5a623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.full {
  grid-column: 1 / -1;
}

.cand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #f5a623;
  color: #09111d;
}

.btn-primary:hover { background: #f8b645; }

.btn-secondary {
  background: #fff;
  color: #224468;
  border-color: #cfd9e6;
}

.btn-secondary:hover { border-color: #95adc7; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cand-card { padding: 18px; }
  .cand-form { grid-template-columns: 1fr; }
}
