/* Lightweight utility classes to support responsive dashboard templates on mobile */

/* Layout helpers */
.grid {
  display: grid;
}

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

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gap-4 {
  gap: 1rem;
}

.block {
  display: block;
}

.text-center {
  text-align: center;
}

/* Spacing */
.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.p-4 {
  padding: 1rem;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Colors */
.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-800 {
  color: #1f2937;
}

.text-yellow-800 {
  color: #854d0e;
}

.bg-white {
  background-color: #ffffff;
}

.bg-yellow-50 {
  background-color: #fefce8;
}

.border-l-4 {
  border-left-width: 4px;
  border-left-style: solid;
  border-color: transparent;
}

.border-yellow-400 {
  border-color: #facc15;
}

/* Effects */
.shadow {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.12);
}

.rounded {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.75rem;
}

.underline {
  text-decoration: underline;
}

.hover\:text-yellow-900:hover {
  color: #78350f;
}

/* Utility groups */
.quick-links-section a,
.metrics-section .bg-white,
.additional-section #recent-activity {
  background-clip: border-box;
}
