/* ========== TABLE STYLES ========== */
.table {
  width: 100%;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.table thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  position: sticky;
  top: 0;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0.75rem 1rem;
}

.table td, .table th {
  vertical-align: middle;
  padding: 0.75rem 1rem;
}

/* ========== CARD STYLES ========== */
.card {
  border: none;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
  width: 100%;
}

/* ========== RESPONSIVE CONTAINER ========== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== DESCRIPTION TEXT ========== */
.description-text {
  max-height: 100px;
  overflow-y: auto;
  padding-right: 10px;
}

.description-text::-webkit-scrollbar {
  width: 5px;
}

.description-text::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 10px;
}

/* ========== BADGES ========== */
.badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35em 0.65em;
  width: 100%;
}

/* ========== BUTTONS ========== */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

/* ========== DROPDOWNS ========== */
.dropdown-menu {
  min-width: 10rem;
}

.dropdown-item {
  font-size: 0.85rem;
}

/* ========== FLEX UTILITIES ========== */
.d-flex {
  display: flex;
}

.d-flex.gap-2 {
  gap: 0.5rem;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
  .table td, .table th {
    white-space: normal;
  }

  .d-flex {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .btn-sm {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
  }

  .description-text {
    max-width: 300px;
  }
}

  /* 3D Card Effects */
  .stat-card-3d {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: white;
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .stat-card-3d:hover {
    transform: translateY(-5px) rotateX(3deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  }

  .stat-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d0775, #3a00e0);
  }

  /* Card Content Styling */
  .info-card .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(13, 7, 117, 0.1);
    color: #0d0775;
  }

  .stat-card-3d:hover .card-icon {
    transform: scale(1.1) rotateY(15deg);
  }

  .info-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d0775;
    margin-bottom: 0.25rem;
  }

  .info-card .small {
    font-size: 0.75rem;
    color: #6c757d;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .card-icon {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
    }

    .info-card h2 {
      font-size: 1.5rem;
    }
  }