* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  padding: 30px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-header {
  background: white;
  border-radius: 15px;
  padding: 30px 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-header h1 {
  margin: 0;
  color: #2c3e50;
  font-size: 2.2em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-header h1 .icon-wave {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.page-header p {
  margin: 10px 0 0 0;
  color: #7f8c8d;
  font-size: 1.1em;
}

.table-container {
  background: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

thead {
  background: linear-gradient(135deg, #081e48 0%, #0a2558 100%);
}

th {
  padding: 18px 15px;
  text-align: left;
  font-weight: 600;
  color: white;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

th:first-child {
  border-radius: 10px 0 0 0;
}

th:last-child {
  border-radius: 0 10px 0 0;
}

tbody tr {
  border-bottom: 1px solid #ecf0f1;
}

tbody tr:hover {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

tbody tr:last-child {
  border-bottom: none;
}

td {
  padding: 20px 15px;
  vertical-align: middle;
  color: #2c3e50;
}

.date-cell {
  text-align: center;
  font-weight: 600;
  min-width: 120px;
}

.date-cell .date {
  display: block;
  font-size: 1.1em;
  color: #2c3e50;
  margin-bottom: 5px;
}

.date-cell .time {
  display: block;
  font-size: 0.9em;
  color: #95a5a6;
}

.details-cell {
  max-width: 500px;
}

.report-title {
  font-weight: 600;
  font-size: 1.05em;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.4;
}

.report-type {
  display: inline-block;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 8px;
}

.badge-active {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 600;
  margin-left: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.info-line {
  font-size: 0.9em;
  color: #7f8c8d;
  margin: 4px 0;
  line-height: 1.6;
}

.info-line strong {
  color: #34495e;
  font-weight: 600;
}

.responsible-cell {
  color: #7f8c8d;
  font-weight: 500;
  min-width: 150px;
}

.action-cell {
  text-align: center;
  min-width: 140px;
}

.btn-view {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-view:hover {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #95a5a6;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: block;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.empty-state h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #7f8c8d;
}

.pagination-container {
  margin-top: 5px;
  padding-top: 20px;
  border-top: 2px solid #ecf0f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-info {
  color: #7f8c8d;
  font-size: 0.95em;
  font-weight: 500;
}

.pagination-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-pagination {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #f4f6fa;
  color: #2980b9;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.92em;
  border: 1px solid #c3cfe2;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.btn-pagination:hover {
  background: #e9ecef;
  color: #21618c;
  border: 1px solid #b0b9c6;
  box-shadow: none;
  transform: none;
}

@media (max-width: 768px) {
  body {
    padding: 15px 10px;
  }

  .page-header {
    padding: 20px;
  }

  .page-header h1 {
    font-size: 1.5em;
  }

  th, td {
    padding: 12px 10px;
    font-size: 0.9em;
  }

  .btn-view {
    padding: 8px 15px;
    font-size: 0.85em;
  }

  .pagination-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pagination-info {
    text-align: center;
    font-size: 0.85em;
  }

  .pagination-controls {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }

  .btn-pagination {
    padding: 8px 10px;
    font-size: 0.8em;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .btn-pagination svg {
    width: 14px !important;
    height: 14px !important;
  }
}
