:root {
  --primary-color: #2f6287;
  --primary-color-hover: #244e6a;
  --secondary-color: #e0e0e0;
  --error-color: #c62828;
  --error-color-hover: #a61f1f;
  --success-color: #2e7d32;
  --text-color: #1f2933;
  --font-family: 'Arial', sans-serif;
  --white-color: #fff;

  --bg-error: #f9d6d5;
  --bg-success: #d0f0c0;
  --bg-info: #fff3e0;
  --warning-color: #b26a00;
  --neutral-color: #51606d;
  --neutral-color-hover: #3f4b55;
  --bg-neutral: #eef1f4;

  --background-color: #f8f9fa;
  --surface-hero-background:
    radial-gradient(circle at top left, rgba(87, 145, 184, 0.18), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f4f8fc 100%);
  --surface-hero-background-soft:
    radial-gradient(circle at top left, rgba(87, 145, 184, 0.12), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  /* --border-radius: 4px;
  --input-padding: 15px;
  --button-padding: 12px;
  --button-width: 180px; */
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Urbanist', system-ui, sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  background-color: #f8f9fa;
  color: #333;
}

.main-content {
  margin-left: 280px;
  padding: 3rem;
  width: calc(100% - 280px);
}

.main-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color)
}

.main-content .admin {
  color: var(--primary-color);
  font-weight: 600;
}

.is-hidden {
  display: none;
}

.fa-trash {
  color: var(--error-color);
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.card h2 {
  color: #2e5e84;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.surface-hero,
.card.surface-hero {
  background: var(--surface-hero-background);
}

.surface-hero-soft,
.card.surface-hero-soft {
  background: var(--surface-hero-background-soft);
}

.filter-select {
  width: 100%;
  min-width: 0;
  padding: 0.9rem 3rem 0.9rem 1rem;
  border: 1px solid #cad8e6;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.96);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(230, 239, 247, 0.1)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232f6287' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 1rem center;
  background-size: auto, 16px;
  box-shadow:
    0 10px 24px rgba(46, 94, 132, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #17324a;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.filter-select:hover:not(:disabled) {
  border-color: #9ab7d0;
  background-color: #ffffff;
}

.filter-select:focus {
  outline: none;
  border-color: #7aa4c8;
  box-shadow:
    0 0 0 4px rgba(47, 98, 135, 0.14),
    0 12px 28px rgba(46, 94, 132, 0.12);
  transform: translateY(-1px);
}

.filter-select:disabled {
  cursor: not-allowed;
  color: #8b9aaa;
  background-color: #eef3f7;
  box-shadow: none;
  opacity: 1;
}

.filter-select-wide {
  min-width: 280px;
}

@media screen and (max-width: 768px) {
  .table-container.table-container--cards {
    overflow-x: visible !important;
  }

  .responsive-card-table {
    min-width: 0 !important;
    box-shadow: none;
    background: transparent;
  }

  .responsive-card-table thead {
    display: none;
  }

  .responsive-card-table tbody {
    display: grid;
    gap: 1rem;
  }

  .responsive-card-table tr {
    display: block;
    border: 1px solid #d7e0e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }

  .responsive-card-table td {
    display: grid;
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.3rem 1rem;
    border-bottom: 1px solid #eef1f4;
    font-size: 0.8rem;
    text-align: left;
    word-break: break-word;
  }

  .responsive-card-table td:last-child {
    border-bottom: none;
  }

  .responsive-card-table td::before {
    content: attr(data-label);
    color: #5b7185;
    font-weight: 700;
    align-self: center;
  }

  .responsive-card-table td[data-label=""]::before {
    content: "";
  }
}

@media screen and (max-width: 960px) {
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 5rem 1.5rem 2rem;
  }

  .main-content h1 {
    font-size: 1.4rem;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .main-content {
    padding: 4.5rem 1rem 1.5rem;
  }

  .main-content h1 {
    font-size: 1.2rem;
  }

  .filter-select,
  .filter-select-wide {
    min-width: 100%;
  }
}
