.admin-modal-wide {
  width: min(1180px, calc(100vw - 48px));
  max-width: 1180px;
  height: calc(100dvh - 36px);
  max-height: calc(100dvh - 36px);
  margin: 18px auto;
  overflow: hidden;
}

.admin-modal-wide[open] {
  display: flex;
  flex-direction: column;
}

.admin-modal-wide .modal-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.admin-modal-wide .modal-header {
  position: relative;
  justify-content: center;
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-modal-wide .modal-header h2 {
  text-align: center;
}

.admin-modal-wide .modal-icon-button {
  position: absolute;
  top: 0;
  right: 0;
}

.admin-lead-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.admin-lead-rule {
  margin: 16px 0 0;
  border: 0;
  border-top: 1px solid rgba(159, 184, 226, 0.28);
}

.admin-lead-tabs button {
  border: 1px solid rgba(141, 182, 245, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #c5d4ee;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
}

.admin-lead-tabs button[aria-selected="true"] {
  border-color: transparent;
  background: #a9c8fb;
  color: #0b1423;
}

.admin-lead-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  min-height: 0;
  margin-top: 16px;
  overflow: auto;
  align-content: start;
}

.admin-lead-card[hidden] {
  display: none;
}

.admin-lead-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(159, 184, 226, 0.18);
  border-radius: 14px;
  background: rgba(12, 18, 32, 0.72);
}

.admin-lead-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.admin-lead-card h3 {
  margin: 0;
  color: #e6eefc;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.admin-lead-card p {
  margin: 0;
  color: #d7e2f5;
  font-size: 14px;
  line-height: 1.4;
}

.admin-lead-card p span,
.admin-lead-when {
  color: #8492aa;
}

.admin-lead-card p span {
  display: inline-block;
  min-width: 78px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-lead-when {
  margin-top: 4px;
  font-size: 12px;
}

.admin-empty {
  margin: 22px 0 0;
  color: #8492aa;
}

.admin-status-button,
.admin-status-options button {
  border: 1px solid rgba(141, 182, 245, 0.35);
  border-radius: 8px;
  background: rgba(141, 182, 245, 0.12);
  color: #eaf0fb;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

