/* ==========================================================================
   Action Cards Component - For button/action layouts
   ========================================================================== */

.action-card {
  transition: all 0.3s ease;
  border: 2px solid transparent !important;
  min-height: 80px;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.action-card:hover.bg-danger {
  border-color: rgba(220, 53, 69, 0.4) !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.action-card:hover.bg-warning {
  border-color: rgba(255, 193, 7, 0.4) !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.action-card:hover.bg-primary {
  border-color: rgba(13, 110, 253, 0.4) !important;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.action-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.action-card:hover .action-icon {
  transform: scale(1.05);
}

.action-card .btn {
  transition: all 0.2s ease;
  border-width: 1px;
  font-size: 0.875rem;
}

.action-card .btn:hover {
  transform: translateY(-1px);
  border-width: 2px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Mobile optimizations */
@media (max-width: 767.98px) {
  .action-card {
    min-height: 70px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
  }

  .action-card h6 {
    font-size: 0.9rem;
  }

  .action-card .btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }
}

/* Tablet optimizations */
@media (min-width: 768px) and (max-width: 991.98px) {
  .action-card {
    min-height: 140px;
  }

  .action-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
  }
}