/* Area Card Styling */
.index-card {
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 5px solid transparent;
  display: flex;
  flex-direction: column;
}

.index-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.index-card .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.index-card .card-title i {
  font-size: 1.1rem;
}

.index-card .badge {
  font-size: 0.75rem;
  padding: 0.35em 0.6em;
}

.index-card p {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

/* Buttons: inline, equal width */
.index-card .btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem; /* compact padding */
  min-width: auto; /* remove extra width */
}
.btn-danger {
  background:  red !important;
}

/* Status-based border color */
.area-active {
  border-left-color: #28a745; /* green */
}

.area-inactive {
  border-left-color: #6c757d; /* gray */
}

/* Responsive: full height card columns for equal alignment */
@media (min-width: 768px) {
  .index-card {
    height: 100%;
  }
}
