body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.navbar-brand {
  font-size: 1.25rem;
}

.card {
  border-radius: 0.5rem;
}

.table th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.list-group-item {
  border-color: rgba(0, 0, 0, 0.08);
}

.attachment-item {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.attachment-preview-link,
.attachment-preview-fallback {
  width: 72px;
  height: 72px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.attachment-preview-link {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}

.attachment-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-preview-fallback {
  font-size: 1.75rem;
}

.property-avatar {
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.property-avatar-fallback {
  background: #f8f9fa;
  color: #6c757d;
}

.property-avatar-card {
  width: 64px;
  height: 64px;
}

.property-avatar-lg {
  width: 48px;
  height: 48px;
}

.property-avatar-xl {
  width: 96px;
  height: 96px;
}

.note-content {
  white-space: pre-wrap;
}

dt {
  font-weight: 600;
}

.home-image-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.home-image-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.75rem;
}

.home-feature-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .home-hero-row {
    align-items: flex-start;
  }

  .home-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-image-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .register-pricing-card-body {
    padding: 0.65rem;
  }

  .register-pricing-card .h4 {
    font-size: 1.15rem;
    margin-bottom: 0.15rem !important;
  }

  .register-pricing-card .small {
    line-height: 1.25;
  }

  .register-pricing-grid {
    margin-left: -0.2rem;
    margin-right: -0.2rem;
  }

  .home-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-image-card:last-child {
    grid-column: 1 / -1;
  }
}

.admin-chart-container {
  position: relative;
  height: 320px;
  max-height: 320px;
}

.admin-chart {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 767.98px) {
  .admin-chart-container {
    height: 260px;
    max-height: 260px;
  }
}
