/* Shared content panel (club detail / section pages) — typography aligned with side-menu-panel */

.content-panel {
  display: block;
  margin-bottom: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #e7e7ec;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(22, 28, 45, 0.05);
  overflow: hidden;
}

.content-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  min-height: 4.5rem;
  border-bottom: 1px solid #e7e7ec;
  background-color: #ffffff;
}

.content-panel__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #090761;
}

.content-panel__header-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.content-panel__header-actions .side-menu-panel__media-action {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}

.content-panel__header-actions:not(:has(*)) {
  display: none;
}

.content-panel__body {
  padding: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: #090761;
}

.content-panel__body .form-label,
.content-panel__body label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #090761;
}

.content-panel__body .form-text,
.content-panel__body .text-muted,
.content-panel__hint {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #6c757d;
}

.content-panel__hint--truncate {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-panel__info {
  padding: 0.875rem 1rem;
  border: 1px solid #e7e7ec;
  border-left: 3px solid #090761;
  background-color: #f8f9fb;
}

.content-panel__info-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #090761;
}

.content-panel__info p {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
}

.content-panel__info p:last-child {
  margin-bottom: 0;
}

.content-panel__info ul {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  color: #495057;
}

.content-panel__info li + li {
  margin-top: 0.35rem;
}

.content-panel__status {
  padding: 0.875rem 1rem;
  border: 1px solid #e7e7ec;
  border-left: 3px solid #090761;
  background-color: #f8f9fb;
}

.content-panel__status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.content-panel__status-caption {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6c757d;
}

.content-panel__status-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #090761;
}

.content-panel__status-desc,
.content-panel__status-detail {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: #495057;
}

.content-panel__status-detail {
  padding-top: 0.5rem;
  border-top: 1px solid #e7e7ec;
  color: #6c757d;
  font-style: italic;
}

.content-panel__body .table {
  font-size: 0.9375rem;
  color: #090761;
}

.content-panel__body .table thead th {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #090761;
  border-bottom-color: #e7e7ec;
}

.content-panel__body .table td {
  border-bottom-color: #e7e7ec;
  vertical-align: middle;
}

.content-panel__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e7e7ec;
}

.content-panel__footer:not(:has(*)) {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.content-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
  background-color: #090761;
  border: 1px solid #090761;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.content-panel__btn:hover:not(:disabled) {
  color: #ffffff;
  background-color: #07054d;
  border-color: #07054d;
}

.content-panel__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.content-panel__btn--secondary {
  color: #090761;
  background-color: #ffffff;
  border-color: #090761;
}

.content-panel__btn--secondary:hover:not(:disabled) {
  color: #ffffff;
  background-color: #090761;
  border-color: #090761;
}

.content-panel__btn--ghost {
  color: #090761;
  background-color: transparent;
  border-color: #e7e7ec;
}

.content-panel__btn--ghost:hover:not(:disabled) {
  color: #090761;
  background-color: #f8f8fa;
  border-color: #e7e7ec;
}

@media (min-width: 992px) {
  .content-panel__header,
  .content-panel__body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .content-panel__header,
  .content-panel__body {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.content-panel__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.content-panel__status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background-color: #dc3545;
  color: #ffffff;
}

.content-panel__status-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.content-panel__status-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #090761;
}

.content-panel__status-desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6c757d;
}
