/* Election nominations (Lee design, 2026-11-02) — styles for the bolt-on
   panels added by nominations.js: the Profile spot ("Suggest nomination"
   / "Click here to vote") and the Nominations panel in Elections &
   voting. Prefixed nom- so nothing collides with the compiled bundle;
   cards mirror the claim-code / My Deals panels (claim-code.css,
   profile-mydeals.css). */

.nom-panel {
  background: #fff;
  border: 1px solid #e3ddcf;
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0 24px;
}

.nom-panel h2,
.nom-panel h3 {
  margin: 0 0 6px;
}

.nom-panel h4 {
  margin: 14px 0 4px;
}

.nom-head .eyebrow,
.nom-admin-panel .eyebrow {
  margin: 0 0 2px;
}

.nom-form {
  margin-top: 10px;
}

.nom-form-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}

.nom-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nom-field span {
  font-size: 13px;
  font-weight: 700;
  color: #6b675c;
}

.nom-field select,
.nom-field input {
  padding: 10px 12px;
  border: 1px solid #cfc9b8;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  min-height: 44px;
}

.nom-field-grow {
  flex: 1 1 220px;
}

.nom-field-inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.nom-msg {
  color: #2f662f;
  font-size: 14px;
  min-height: 1.2em;
  margin: 10px 0 0;
}

.nom-mine-line {
  margin: 2px 0;
}

.nom-mine-line span {
  color: #6b675c;
  font-size: 13px;
}

.nom-vote-block {
  border-top: 1px solid #e3ddcf;
  margin-top: 16px;
  padding-top: 14px;
}

.nom-voted {
  color: #2f662f;
  font-weight: 700;
  margin: 6px 0 0;
}

/* --- admin / receiver panel --- */

.nom-admin-panel {
  margin: 4px 0 28px;
}

.nom-election {
  border-top: 1px solid #e3ddcf;
  padding: 14px 0 6px;
  margin-top: 12px;
}

.nom-election-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.nom-election-head strong {
  font-size: 16px;
}

.nom-election-head span {
  color: #6b675c;
  font-size: 13px;
}

.nom-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 4px;
}

.nom-btn {
  padding: 9px 14px;
  border: 1px solid #cfc9b8;
  border-radius: 8px;
  background: #fdfcf8;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
}

.nom-btn:hover {
  border-color: #8a6d1a;
}

.nom-queue-row {
  background: #fff;
  border: 1px solid #e3ddcf;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.nom-queue-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
}

.nom-queue-main strong {
  font-size: 16px;
}

.nom-queue-main span {
  color: #6b675c;
  font-size: 13px;
}

.nom-queue-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nom-queue-side select {
  padding: 8px 10px;
  border: 1px solid #cfc9b8;
  border-radius: 8px;
  font-size: 14px;
  min-height: 40px;
  background: #fff;
}

.nom-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.nom-status.nom-on-ballot {
  background: #e7f4e7;
  color: #2f662f;
  border: 1px solid #7fb069;
}

@media (max-width: 640px) {
  .nom-panel {
    padding: 14px;
  }

  .nom-form-row {
    flex-direction: column;
    align-items: stretch;
  }
}
