/* Card Components - Reusable card system */
.clean-card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  margin-bottom: 1.5rem;
  min-height: 150px; /* Prevent layout shift */
}

.clean-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

.section-title {
  color: var(--black);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  color: var(--primary-blue);
  font-size: 1.2rem;
  width: 20px; /* Fixed width for alignment */
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Alert system */
.alert-custom {
  border: none;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 1rem;
  position: relative;
  min-height: 60px; /* Prevent layout shift */
}

.alert-success-custom {
  background-color: var(--light-green);
  color: var(--dark-green);
  border-left: 4px solid var(--success-green);
}

.alert-danger-custom {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.alert-info-custom {
  background-color: var(--light-blue);
  color: var(--dark-blue);
  border-left: 4px solid var(--primary-blue);
}

.alert-warning-custom {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

/* Responsive cards */
@media (max-width: 768px) {
  .clean-card {
    margin-bottom: 1rem;
    min-height: 120px;
  }

  .card-body {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
}