/* Modern CSS Template */
:root {
  --corporate: #004a89;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--gray-50);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  transition: all 0.3s ease;
  z-index: 1000;
}

.header.scrolled {
  background-color: var(--corporate);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.header:not(.scrolled) .header-title,
.header:not(.scrolled) .header-icon {
  color: var(--corporate);
}

.header.scrolled .header-title,
.header.scrolled .header-icon {
  color: white;
}

/* Main Content */
.main {
  padding: 1.5rem;
  margin-top: 4rem;
  flex-grow: 1;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  color: var(--corporate);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--gray-600);
}

/* Table */
.table-container {
  overflow-x: auto;
  margin-top: 2rem;
}

.table {
  width: 100%;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-collapse: collapse;
}

.table thead {
  background-color: var(--corporate);
  color: white;
}

.table th,
.table td {
  padding: 0.75rem 1.5rem;
  text-align: left;
}

.table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background-color 0.2s ease-in-out;
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: var(--gray-50);
}

/* Footer */
.footer {
  background-color: var(--corporate);
  color: white;
  padding: 1rem;
  margin-top: auto;
}

.footer-content {
  text-align: center;
}