/*
 * Heading scale (app-wide):
 * h1: 2.25rem, h2: 2rem, h3: 1.85rem, h4: 1.5rem, h5: 1.25rem, h6: 1rem
 */
h1,
.h1 {
  font-size: 2.25rem;
}

h2,
.h2 {
  font-size: 2rem;
}

h3,
.h3 {
  font-size: 1.85rem;
}

h4,
.h4 {
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0056b3;
  border-color: #004085;
}

.form-label,
.form-group label:not(.form-check-label) {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

/* Only apply to non-switch checkboxes so .form-switch toggle stays visible */
.form-check:not(.form-switch) .form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

.form-check-label {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 500;
}

/* Settings boolean toggle – ensure switch is visible and looks like a toggle */
.settings-toggle-wrap.form-switch {
  padding-left: 2.5rem;
  min-height: 1.5rem;
  display: flex;
  align-items: center;
}

.settings-toggle-wrap.form-switch .form-check-input {
  width: 2.5rem;
  height: 1.25rem;
  flex-shrink: 0;
  cursor: pointer;
}

.settings-toggle-wrap.form-switch .form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.kv-hidden {
  display: none;
}

/* .input-group-text {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
} */
.breadcrumb {
  margin-bottom: 0 !important;
  height: 100%;
  align-items: center;
}

.grid-view {
  overflow-x: auto;
}

ul.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  justify-content: center;
  margin: 20px 0;
}

ul.pagination li {
  margin: 0 5px;
}

ul.pagination li a,
ul.pagination li span {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #007bff;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

ul.pagination li a:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

ul.pagination li.active a {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}

ul.pagination li.disabled span {
  color: #ccc;
  background: #f8f9fa;
  border: 1px solid #ddd;
  cursor: not-allowed;
}

.iti.iti--allow-dropdown .form-control {
  padding-left: 3rem !important;
  border-top: none !important;
}

.iti {
  width: 100% !important;
}

.help-block {
  color: #a735dc !important;
  font-size: 0.8rem !important;
}

.btn.btn-sm i,
.btn-group-sm>.btn i {
  font-size: 0.7rem;
}

/* Global font sizing – applied across the app */
.card .card-title,
.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card .card-text,
.card-text {
  font-size: 0.9375rem;
}

.form-control,
.form-select,
input.form-control[type="text"],
textarea.form-control,
select.form-control,
select.form-select {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  line-height: 1.5;
}

.text-muted:not(.small) {
  font-size: 0.9rem;
}

.form-group .btn:not(.btn-sm) {
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
}

.btn.btn-sm {
  font-size: 0.875rem;
}

/* Contract cards: compact, full-width, mobile-responsive */
.contract-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contract-card {
  border-radius: 0.4rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.contract-card:hover {
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.06) !important;
}

.contract-card__body {
  font-size: 0.875rem;
}

.contract-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--bs-white, #fff);
  background-color: var(--bs-dark-blue, #1a237e);
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.contract-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.contract-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0.75rem;
}

@media (min-width: 576px) {
  .contract-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .contract-card__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contract-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.4em;
}

.contract-card__label {
  font-size: 0.7rem;
  color: var(--bs-secondary, #737373);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.contract-card__label::after {
  content: "";
}

.contract-card__value {
  font-size: 0.8rem;
  word-break: break-word;
}

/* Badge-like styles for dates, amount, reg no */
.contract-card__badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 0.25rem;
  white-space: nowrap;
}

.contract-card__badge--date {
  background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
  color: var(--bs-primary, #0d6efd);
}

.contract-card__badge--ongoing {
  background-color: rgba(var(--bs-info-rgb, 13, 202, 240), 0.2);
  color: var(--bs-info, #0dcaf0);
}

.contract-card__badge--amount {
  background-color: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
  font-weight: 600;
}

.contract-card__badge--muted {
  background-color: var(--bs-gray-200, #e9ecef);
  color: var(--bs-secondary, #6c757d);
}

.contract-card__header .badge.contract-card__badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
}

.contract-card__docs {
  font-size: 0.8rem;
}

/* Document upload card: soft pill badge when document is uploaded */
.doc-uploaded-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: rgba(25, 135, 84, 0.12);
  color: #198754;
  border: 1px solid rgba(25, 135, 84, 0.35);
}

/* Declaration agree: statement is clickable, colored, and toggles the checkbox */
.declaration-agree-label {
  cursor: pointer;
  color: var(--bs-primary, #0d6efd);
  font-weight: 500;
  user-select: none;
}

.declaration-agree-label:hover {
  text-decoration: underline;
  color: var(--bs-primary, #0d6efd);
}

/* Notification view: elegant single-notice layout; content may be HTML */


.notification-view__card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.notification-view__title {
  font-weight: 600;
  line-height: 1.3;
}

.notification-view__meta {
  font-size: 0.875rem;
}

.notification-view__badge {
  font-weight: 500;
  font-size: 0.7rem;
}

/* Rendered HTML notice content: ensure links and structure look good */
.notice-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

.notice-content p {
  margin-bottom: 0.75rem;
}

.notice-content p:last-child {
  margin-bottom: 0;
}

.notice-content a {
  color: var(--bs-primary, #0d6efd);
  text-decoration: none;
  font-weight: 500;
}

.notice-content a:hover {
  text-decoration: underline;
}

/* Embedded notice cards (from templates) keep their inline styles; limit max width */
.notice-content .notice-card {
  max-width: 100%;
}

.contract-card__link,
.contract-card__doc-link {
  color: var(--bs-primary, #0d6efd);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  word-break: break-word;
}

.contract-card__link:hover,
.contract-card__doc-link:hover {
  text-decoration: underline;
}

.contract-card__doc-link {
  display: inline-block;
  margin-top: 0.1rem;
}

.contract-card__actions .btn {
  min-width: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
}

/* Shareholder cards: compact, same pattern as contract cards */
.shareholder-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shareholder-card {
  border-radius: 0.4rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.shareholder-card:hover {
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.06) !important;
}

.shareholder-card__body {
  font-size: 0.875rem;
}

.shareholder-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--bs-white, #fff);
  background-color: var(--bs-dark-blue, #1a237e);
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.shareholder-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.shareholder-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0.75rem;
}

@media (min-width: 576px) {
  .shareholder-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .shareholder-card__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shareholder-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.4em;
}

.shareholder-card__label {
  font-size: 0.7rem;
  color: var(--bs-secondary, #737373);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.shareholder-card__label::after {
  content: "";
}

.shareholder-card__value {
  font-size: 0.8rem;
  word-break: break-word;
}

.shareholder-card__badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 0.25rem;
  white-space: nowrap;
}

.shareholder-card__badge--gender {
  background-color: rgba(var(--bs-dark-rgb, 38, 38, 38), 0.1);
  color: var(--bs-dark, #262626);
}

.shareholder-card__badge--company {
  background-color: rgba(var(--bs-primary-rgb, 233, 30, 99), 0.15);
  color: var(--bs-primary, #e91e63);
}

.shareholder-card__badge--amount {
  background-color: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
  font-weight: 600;
}

.shareholder-card__badge--muted {
  background-color: var(--bs-gray-200, #e9ecef);
  color: var(--bs-secondary, #6c757d);
}

.shareholder-card__badge--citizen,
.shareholder-card__badge--local {
  background-color: rgba(var(--bs-info-rgb, 13, 202, 240), 0.2);
  color: var(--bs-info, #0dcaf0);
}

.shareholder-card__badge--noncitizen,
.shareholder-card__badge--foreign {
  background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.15);
  color: var(--bs-primary, #0d6efd);
}

.shareholder-card__docs {
  font-size: 0.8rem;
}

.shareholder-card__doc-link {
  color: var(--bs-primary, #0d6efd);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  word-break: break-word;
  margin-top: 0.1rem;
}

.shareholder-card__doc-link:hover {
  text-decoration: underline;
}

.shareholder-card__actions .btn {
  min-width: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
}

/* Key staff cards: compact, same pattern as shareholder/contract cards */
.key-staff-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.key-staff-card {
  border-radius: 0.4rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.key-staff-card:hover {
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.06) !important;
}

.key-staff-card__body {
  font-size: 0.875rem;
}

.key-staff-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--bs-white, #fff);
  background-color: var(--bs-dark-blue, #1a237e);
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.key-staff-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.key-staff-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0.75rem;
}

@media (min-width: 576px) {
  .key-staff-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .key-staff-card__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.key-staff-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.4em;
}

.key-staff-card__label {
  font-size: 0.7rem;
  color: var(--bs-secondary, #737373);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.key-staff-card__label::after {
  content: "";
}

.key-staff-card__value {
  font-size: 0.8rem;
  word-break: break-word;
}

.key-staff-card__badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 0.25rem;
  white-space: nowrap;
}

.key-staff-card__badge--type {
  background-color: rgba(var(--bs-primary-rgb, 233, 30, 99), 0.15);
  color: var(--bs-primary, #e91e63);
}

.key-staff-card__badge--gender {
  background-color: rgba(var(--bs-dark-rgb, 38, 38, 38), 0.1);
  color: var(--bs-dark, #262626);
}

.key-staff-card__badge--muted {
  background-color: var(--bs-gray-200, #e9ecef);
  color: var(--bs-secondary, #6c757d);
}

.key-staff-card__badge--qual {
  background-color: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  font-weight: 500;
}

.key-staff-card__docs {
  font-size: 0.8rem;
}

.key-staff-card__doc-link {
  color: var(--bs-primary, #0d6efd);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  word-break: break-word;
  margin-top: 0.1rem;
}

.key-staff-card__doc-link:hover {
  text-decoration: underline;
}

.key-staff-card__actions .btn {
  min-width: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
}

/* Doc cards: required documents list on application view */
.doc-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.doc-card {
  border-radius: 0.4rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.doc-card:hover {
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.06) !important;
}

.doc-card__body {
  font-size: 0.875rem;
}

.doc-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.doc-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: #334155;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.doc-card__title {
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
  min-width: 0;
}

.doc-card__badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 0.35rem;
  white-space: nowrap;
}

.doc-card__badge--uploaded {
  background-color: #ccfbf1;
  color: #0f766e;
}

.doc-card__badge--missing {
  background-color: #fef3c7;
  color: #b45309;
}

.doc-card__files {
  margin-top: 0.25rem;
}

.doc-card__file-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.85rem;
}

.doc-card__file-num {
  flex-shrink: 0;
  width: 1.25rem;
  font-weight: 600;
  color: #64748b;
  font-size: 0.75rem;
}

.doc-card__doc-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}

.doc-card__doc-link:hover {
  text-decoration: underline;
}

.doc-card__empty {
  font-size: 0.8rem;
}

/* Category cards: grades/categories on application view */
.category-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-cards__section-title {
  font-size: 0.9rem;
  color: #334155;
}

.category-card {
  border-radius: 0.4rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.06) !important;
}

.category-card__body {
  font-size: 0.875rem;
}

.category-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.category-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: #475569;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.category-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.3;
}

.category-card__badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 0.35rem;
  white-space: nowrap;
}

.category-card__badge--grade {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.category-card__badge--code {
  background-color: #e0e7ff;
  color: #4338ca;
}

.category-card__badge--code.category-card__badge--mining {
  background-color: #fef3c7;
  color: #b45309;
}

.category-card__badge--code.category-card__badge--specialist {
  background-color: #fce7f3;
  color: #be185d;
}

/* Shareholder summary card: elegant responsive card */
.shareholder-summary-card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.shareholder-summary-card:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08) !important;
}

.shareholder-summary-card__body {
  font-size: 0.9rem;
}

.shareholder-summary-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.02em;
}

.shareholder-summary-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .shareholder-summary-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shareholder-summary-card__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shareholder-summary-card__item--full {
  grid-column: 1 / -1;
}

@media (min-width: 576px) {
  .shareholder-summary-card__item--full {
    grid-column: span 2;
  }
}

.shareholder-summary-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.shareholder-summary-card__value {
  font-weight: 600;
  color: #1e293b;
  font-size: 1rem;
}

.shareholder-summary-card__badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.35rem;
  width: fit-content;
}

.shareholder-summary-card__badge--local {
  background-color: #cffafe;
  color: #0891b2;
}

.shareholder-summary-card__badge--foreign {
  background-color: #e0e7ff;
  color: #4338ca;
}

.shareholder-summary-card__allocations {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shareholder-summary-card__alloc-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.shareholder-summary-card__alloc-row:last-child {
  border-bottom: none;
}

.shareholder-summary-card__alloc-icon {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  font-size: 0.8rem;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.shareholder-summary-card__alloc-icon::before {
  line-height: 1;
  display: block;
  text-align: center;
}

.shareholder-summary-card__alloc-icon--female {
  background-color: #fce7f3;
  color: #be185d;
}

.shareholder-summary-card__alloc-icon--male {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.shareholder-summary-card__alloc-icon--comp {
  background-color: #f1f5f9;
  color: #475569;
}

.shareholder-summary-card__meta {
  font-size: 0.8rem;
  color: #64748b;
  font-style: normal;
}

.shareholder-summary-card__total {
  font-size: 0.85rem;
  color: #475569;
}

.shareholder-summary-card__ownership {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
}

/* Subtle custom badge colors (application view cards) – no gradients */
.contract-card__badge--date {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.badge-shaded-teal {
  background-color: rgba(20, 184, 166, 0.25);
  color: #0f766e;
}

.contract-card__badge--ongoing {
  background-color: #cffafe;
  color: #0891b2;
}

.contract-card__badge--amount {
  background-color: #d1fae5;
  color: #047857;
  font-weight: 600;
}

.contract-card__badge--muted {
  background-color: #f1f5f9;
  color: #64748b;
}

.shareholder-card__badge--gender {
  background-color: #f1f5f9;
  color: #475569;
}

.shareholder-card__badge--company {
  background-color: #fce7f3;
  color: #be185d;
}

.shareholder-card__badge--amount {
  background-color: #d1fae5;
  color: #047857;
  font-weight: 600;
}

.shareholder-card__badge--country {
  background-color: #1e3a5f;
  color: #e0e7ff;
  font-weight: 600;
}

.shareholder-card__badge--citizen,
.shareholder-card__badge--local {
  background-color: #cffafe;
  color: #0891b2;
}

.shareholder-card__badge--noncitizen,
.shareholder-card__badge--foreign {
  background-color: #e0e7ff;
  color: #4338ca;
}

.key-staff-card__badge--type {
  background-color: #fce7f3;
  color: #be185d;
}

.key-staff-card__badge--gender {
  background-color: #f1f5f9;
  color: #475569;
}

.key-staff-card__badge--qual {
  background-color: #d1fae5;
  color: #047857;
  font-weight: 500;
}