/* /features/hub-map/hub-map.css */

.hm-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px; /* Rigid adherence to our strict 12px mobile padding law */
  background-color: #070a12; /* Solid premium matte black background canvas */
  color: #d1d5db;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

/* Content Panel Navigation Header */
.hm-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1f2937;
  padding-bottom: 12px;
}

.hm-back-link {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
}

.hm-back-link:hover { color: #ffffff; }

.hm-quad-indicator {
  font-size: 11px;
  font-weight: 700;
  color: #34d399; /* Mint Emerald Quadrant Identifier Token */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section A: Regional Challenge Launch Progress Meter */
.hm-milestone-card {
  background-color: #111827;
  border-top: 2px solid #00ffcc; /* Signature brand neon-teal top horizon edge */
  border-left: 1px solid #1e293b;
  border-right: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.hm-milestone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hm-card-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  text-align: left;
}

.hm-percent-lbl {
  font-size: 16px;
  font-weight: 800;
  color: #34d399; /* Mint emerald milestone text focus */
}

.hm-progress-bar-frame {
  width: 100%;
  height: 10px;
  background-color: #1f2937;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #374151;
}

.hm-progress-fill-line {
  height: 100%;
  background-color: #34d399; /* Smooth mint emerald tracking bar fill */
  border-radius: 5px;
  transition: width 0.3s ease;
}

.hm-milestone-desc-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9ca3af;
  text-align: left;
}

/* Section B: Non-Profit Seeding Phase Charity Ballot */
.hm-ballot-box-card {
  background-color: #111827;
  border-top: 1px solid #1e293b;
  border-left: 1px solid #1e293b;
  border-right: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.hm-ballot-instruction {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #9ca3af;
  text-align: left;
}

.hm-ballot-form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-ballot-row-option {
  background-color: #070a12;
  border: 1px solid #1f2937;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.1s ease;
}

.hm-ballot-row-option:hover {
  border-color: #374151;
}

.hm-radio-input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.hm-radio-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  text-align: left;
  user-select: none;
}

.hm-radio-label strong {
  font-size: 13px;
  color: #ffffff;
}

.hm-label-subtext {
  font-size: 11px;
  line-height: 1.35;
  color: #9ca3af;
}

/* Touch-Optimized Primary Action Trigger */
.hm-submit-ballot-btn {
  height: 44px; /* Hardened absolute compliance minimum touch boundaries */
  background-color: #34d399; /* High-contrast mint emerald action focus button */
  color: #070a12;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  transition: background-color 0.1s ease;
}

.hm-submit-ballot-btn:hover {
  background-color: #10b981;
}

/* Desktop Screen Viewport Constraints */
@media (min-width: 1024px) {
  .hm-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 12px;
  }
}
