
    .table-industrial th, .table-industrial td {
      border: 1px solid #ccc;
      padding: 6px;
      text-align: center;
      vertical-align: middle;
    }
    .table-industrial th {
      background-color: #f0f0f0;
      font-weight: bold;
    }
@media (max-width: 768px) {
      .btn {
    font-size: 0.90rem;
    padding: 4px 8px;
  }
  
    .d-flex.flex-wrap {
    flex-wrap: nowrap !important;
    gap: 4px;
    justify-content: space-between;
  }
    
}
@media (max-width: 768px) {
  .table-mobile-fixed {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
  }

  .table-mobile-fixed th,
  .table-mobile-fixed td {
    width: 25% !important;
    font-size: 0.65rem;
    padding: 3px 4px;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }

  /* ستون آیتم وسط‌چین بشه */
  .table-mobile-fixed td:first-child,
  .table-mobile-fixed th:first-child {
    background-color: #f9f9f9;
    font-weight: bold;
    text-align: center; /* تغییر از right به center */
  }
}

/* موبایل */
@media (max-width: 1199px) {
  .main-menu {
    position: absolute;
    top: 90px;
    right: 0;
  }
}

    body {
      background-color: #f4f6f8;
      font-family: 'Vazirmatn', sans-serif;
    }
    .card-img-top {
      height: 200px;
      object-fit: cover;
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }
    .card {
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }
    .card-title {
      font-size: 1.1rem;
      font-weight: bold;
      color: #0d6efd;
    }
    .card-text {
      font-size: 0.85rem;
      color: #6c757d;
    }
    @media (max-width: 576px) {
      .card-title { font-size: 1rem; }
      .card-text { font-size: 0.8rem; }
      .btn-sm { font-size: 0.8rem; padding: 4px 10px; }
    }

    .btn-outline-action {
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-action:hover,
.btn-outline-action:focus,
.btn-outline-action:active {
  color: #000;
  background-color: #fff;
  border-color: #fff;
}


.btn-outline-action.active {
  background-color: #ff0000;
  color: #fff;
}

