/* enterprise-table-styles.css */

/* Panel Container */
.panel.panel-default {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  /* Page Title */
  .page-title.panel-sky {
    background: #35A7D6;
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .page-title h1 {
    color: #005f73;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
  }
  
  /* Title Button Group */
  .title-button-group {
    display: flex;
    gap: 0.5rem;
  }
  
  .title-button-group .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
  }
  
  .btn-success {
    background-color: #00b393;
    border-color: #00b393;
  }
  
  .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
  }
  
  /* Dropdown */
  .dropdown-menu {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 4px;
    padding: 0.5rem 0;
  }
  
  .dropdown-menu > li > a {
    padding: 0.5rem 1rem;
    color: #4e5e6a;
    transition: all 0.2s ease;
  }
  
  .dropdown-menu > li > a:hover {
    background-color: #f8f9fa;
  }
  
  /* Table Styles */
  .table-responsive {
    margin: 1rem 0;
    border: none;
  }
  
  #environmental_records-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
  }
  
  #environmental_records-table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    color: #2c3e50;
    font-weight: 600;
    padding: 1rem 0.75rem;
    font-size: 1rem;
  }
  
  #environmental_records-table tbody td {
    padding: 0.875rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
    color: #4e5e6a;
    font-size: 1rem;
    vertical-align: middle;
  }
  
  #environmental_records-table tbody tr:hover {
    background-color: #f8f9fa;
  }
  
  /* Table Links */
  #environmental_records-table a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  #environmental_records-table a:hover {
    color: #00b393;
  }
  
  /* Action Icons */
  .option a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    color: #6c757d;
    transition: all 0.2s ease;
    margin: 0 2px;
  }
  
  .option a:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
  }
  
  .option a.delete:hover {
    color: #dc3545;
  }
  
  /* Checkbox Styling */
  .dt-checkboxes-cell input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #dee2e6;
    border-radius: 3px;
    transition: all 0.2s ease;
  }
  
  /* Pagination */
  .dataTables_paginate {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .paginate_button {
    padding: 0.375rem 0.75rem;
    margin: 0 2px;
    border-radius: 4px;
    color: #4e5e6a;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .paginate_button.current {
    background-color: #00b393;
    color: #fff;
  }
  
  .paginate_button:hover:not(.current) {
    background-color: #f8f9fa;
  }
  
  /* Search and Length Controls */
  .dataTables_filter input,
  .dataTables_length select {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
  }
  
  .dataTables_filter input:focus,
  .dataTables_length select:focus {
    border-color: #00b393;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,179,147,0.1);
  }
  
  /* Footer Summary */
  tfoot tr td {
    font-weight: 600;
    background-color: #f8f9fa;
    border-top: 2px solid #e9ecef;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .page-title {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .title-button-group {
      flex-wrap: wrap;
    }
  
    .table-responsive {
      margin: 0.5rem 0;
    }
  
    #environmental_records-table thead th,
    #environmental_records-table tbody td {
      padding: 0.75rem 0.5rem;
      font-size: 1rem;
    }
  }
