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

html, body {
  height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.container {
  flex: 1;
}

.container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background-color: #2c3e50;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
}

.info-section {
  background-color: #ecf0f1;
  padding: 1rem 0;
  text-align: center;
}

.info-content h2 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.info-content p {
  color: #7f8c8d;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.filters-section {
  margin: 0.5rem 0;
  padding: 0.75rem 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

#search-input {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  flex-grow: 1;
  font-size: 0.9rem;
  height: 38px;
}

#search-button {
  padding: 0.5rem 1rem;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 38px;
  font-size: 0.9rem;
}

#search-button:hover {
  background-color: #2980b9;
}

/* ——— "Filtreleri Temizle" Butonu ——— */
#clear-filters-button {
  padding: 0.5rem 1rem;
  background-color: #e74c3c; /* gri ton */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 38px;
  font-size: 0.9rem;
  margin-left: 0.5rem; /* istersen kaldırabilirsin */
}

#clear-filters-button:hover {
  background-color: #c0392b; /* biraz daha koyu gri */
}

/* ——— Responsive ayarlar ——— */
@media (max-width: 768px) {
  body {
    font-size: 0.9rem;
  }
  header h1 {
    font-size: 0.95rem;
  }
  .info-content h2 {
    font-size: 0.9rem;
  }
  .info-content p,
  .info-notice-inline p,
  .filters-section,
  .filters,
  .filters select,
  .search-container,
  .table-container,
  th,
  td,
  .footer-content,
  .footer-left,
  .footer-right,
  .disclaimer {
    font-size: 0.85rem;
  }
  #clear-filters-button {
    height: 38px;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .info-section {
    padding: 0.6rem 0;
  }

  .info-content h2 {
    margin-bottom: 0.3rem;
  }

  .info-content p {
    margin-bottom: 0.6rem;
  }

  .filters-section {
    margin: 0.2rem 0;
    padding: 0.4rem;
  }

  .search-container {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
  }

  #search-input, #search-button {
    height: 34px;
    padding: 0.3rem 0.6rem;
  }

  .custom-select-container {
    width: 180px;
    margin: 0 0.3rem;
  }

  #kart-search,
  #gecerlilik-search {
    height: 34px;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
  }

  .custom-select-container::after {
    font-size: 0.8rem;
    right: 10px;
  }

  .select-option {
    padding: 0.4rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.8rem;
  }
  header h1 {
    font-size: 0.85rem;
    padding: 0.3rem 0;
  }
  header {
    padding: 0.6rem 0;
  }
  .info-content h2 {
    font-size: 0.8rem;
  }
  .info-content p,
  .info-notice-inline p,
  .filters-section,
  .filters,
  .filters select,
  .search-container,
  .table-container,
  th,
  td,
  .footer-content,
  .footer-left,
  .footer-right,
  .disclaimer {
    font-size: 0.75rem;
  }
  #clear-filters-button {
    height: 32px;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .info-section {
    padding: 0.4rem 0;
  }

  .info-content h2 {
    margin-bottom: 0.2rem;
  }

  .info-content p {
    margin-bottom: 0.4rem;
  }

  .filters-section {
    margin: 0.15rem 0;
    padding: 0.3rem;
  }

  .search-container {
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
  }

  #search-input, #search-button {
    height: 30px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }

  .filters {
    gap: 0.3rem;
    margin-bottom: 0.5rem;
  }

  .custom-select-container {
    width: 150px;
    margin: 0 0.2rem;
  }

  #kart-search,
  #gecerlilik-search {
    height: 30px;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }

  .custom-select-container::after {
    font-size: 0.7rem;
    right: 8px;
  }

  .select-option {
    padding: 0.3rem;
    font-size: 0.75rem;
  }

  #kart-dropdown,
  #gecerlilik-dropdown {
    max-height: 200px;
  }

  .date-filter-container {
    gap: 0.3rem;
    margin: 0 0.2rem;
  }

  .date-input-group {
    gap: 0.2rem;
  }

  .date-input-group label {
    font-size: 0.75rem;
  }

  .date-input-group input[type="date"] {
    padding: 0.3rem;
    font-size: 0.75rem;
    height: 30px;
  }

  .pos-filter-container {
    margin: 0 0.2rem;
  }

  .pos-filter-container span {
    font-size: 0.75rem;
  }
}

.filters {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filters select {
  padding: 0.4rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  min-width: 150px;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-height: 70vh;
  overflow-y: auto;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 0 20px;
  min-height: 300px;
}

/* Adjust height for table with only one row */
.table-container.single-row-table {
  min-height: auto;
  height: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

/* Adjust height for table with few rows (2-5) */
.table-container.few-rows-table {
  min-height: 300px;
  height: auto;
  max-height: 60vh;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  border-spacing: 0;
}

th,
td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  vertical-align: middle;
  word-wrap: break-word;
  height: 44px;
  line-height: 1.2;
}

/* Reduce additional padding for cells */
td {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

/* Styling for no results row */
.no-results-row td {
  height: 60px; /* Ensure consistent height */
  vertical-align: middle;
}

/* Style the first cell in the no-results row to make the message more prominent */
.no-results-row td:first-child {
  font-weight: 500;
  color: #6c757d;
  font-size: 1.1rem;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  position: sticky;
  top: 0;
  white-space: nowrap;
  padding: 0.75rem 0.5rem;
  z-index: 10;
  border-bottom: 1px solid #e0e0e0;
}

/* Column widths */
table th:nth-child(1),
table td:nth-child(1) {
  width: 10%;
  min-width: 85px;
}

table th:nth-child(2),
table td:nth-child(2) {
  width: 18%;
  min-width: 180px;
}

table th:nth-child(3),
table td:nth-child(3),
table th:nth-child(4),
table td:nth-child(4) {
  width: 8%;
  min-width: 90px;
}

table th:nth-child(5),
table td:nth-child(5) {
  width: 13%;
  min-width: 130px;
}

table th:nth-child(6),
table td:nth-child(6) {
  width: 8%;
  min-width: 90px;
}

/* Adjust remaining columns */
table th:nth-child(7),
table td:nth-child(7) {
  width: 9%;
  min-width: 100px;
}

/* Pos column specific styling */
table th:nth-child(8),
table td:nth-child(8) {
  width: 5%;
  min-width: 60px;
  text-align: center;
  vertical-align: middle;
  padding: 0;
  height: 44px;
}

table th:nth-child(9),
table td:nth-child(9) {
  width: 12%;
  min-width: 120px;
}

table th:nth-child(10),
table td:nth-child(10) {
  width: 15%;
  min-width: 150px;
}

/* Completely redesigned icon styling */
.true-icon,
.false-icon {
  display: inline-block;
  text-align: center;
  width: 100%;
  line-height: 44px;
}

.true-icon:before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  font-size: 1rem;
  vertical-align: middle;
}

.false-icon:before {
  content: "✗";
  color: #e74c3c;
  font-weight: bold;
  font-size: 1rem;
  vertical-align: middle;
}

/* Ensure proper border rendering for table rows */
tbody tr {
  height: 44px;
  box-sizing: border-box;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

/* Use a cleaner approach to row borders */
tbody tr:last-child {
  border-bottom: none;
}

/* Remove the separate thead tr border since we've added it to th */
thead tr {
  border-bottom: none;
}

tbody tr:hover {
  background-color: #f5f9ff;
}

tbody tr:nth-child(even) {
  background-color: #f9fafc;
}

footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 0.4rem 0;
  position: sticky;
  bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  font-size: 0.75rem;
}

footer .container {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.footer-left {
  text-align: left;
  font-size: 0.75rem;
  margin: 0;
  padding: 0 0 0 10px;
}

.footer-right {
  text-align: right;
  flex: 1 1 auto;
  padding-right: 10px;
}

.disclaimer {
  font-size: 0.7rem;
  font-style: italic;
  opacity: 0.85;
  margin: 0;
}

/* Add spacing to ensure content isn't hidden behind sticky footer */
main.container {
  padding-bottom: 1rem;
}

/* Increase touch target sizes for better mobile experience */
button,
input[type="checkbox"],
.select-option,
.pos-label {
  cursor: pointer;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  button,
  input[type="checkbox"],
  .select-option,
  .pos-label,
  .date-input-group input[type="date"] {
    min-height: 44px;
  }

  .select-option {
    padding: 0.75rem 0.5rem;
  }
}

/* Tablet and Mobile Styles */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }

  /* Using the font-size from the earlier media query for consistency */
  header h1 {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .container {
    padding: 0 15px;
  }

  /* Using the more specific styles from the earlier media query */
  .filters-section {
    margin: 0.2rem 0;
    padding: 0.4rem;
    border-radius: 8px;
    background-color: #f8f9fa;
  }

  .search-container {
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0;
    padding: 0 0.5rem;
  }

  /* Using the styles from the earlier media query for consistency */
  #search-input {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
    height: 34px;
    border-radius: 6px;
  }

  #search-button {
    padding: 0.3rem 0.6rem;
    height: 34px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .filters {
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0;
    padding: 0 0.5rem;
  }

  /* Using width from the earlier media query for better tablet experience */
  .custom-select-container {
    width: 180px;
    margin: 0 0.3rem;
    margin-bottom: 0.25rem;
  }

  .date-filter-container,
  .pos-filter-container {
    width: 100%;
    margin: 0;
  }

  /* Using the styles from the earlier media query for consistency */
  #kart-search,
  #gecerlilik-search {
    width: 100%;
    padding: 0.3rem 0.6rem;
    padding-right: 32px;
    height: 34px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  /* Using the styles from the more specific media query for consistency */
  .date-filter-container {
    flex-direction: column;
    gap: 0.4rem;
    margin: 0 0.3rem;
  }

  .date-input-group {
    width: 100%;
  }

  /* Using the styles from the more specific media query for consistency */
  .date-input-group input[type="date"] {
    width: 100%;
    padding: 0.4rem;
    height: 34px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .pos-label {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
    height: 40px;
    border-radius: 6px;
  }

  .pos-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .pos-label span {
    font-size: 0.8rem;
  }

  /* Add some visual separation between filter groups */
  .filters > *:not(:last-child) {
    margin-bottom: 0.25rem;
  }

  .table-container {
    margin: 0.5rem 0;
    border-radius: 8px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 15px;
  }

  table {
    width: 100%;
    min-width: 100%;
    max-width: none;
    margin: 0;
    table-layout: auto;
  }

  th,
  td {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    min-height: 40px;
    height: 40px;
    line-height: 1.3;
  }

  th {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.75rem 0.75rem;
    background-color: #f8f9fa;
    font-size: 0.9rem;
  }

  /* Add some spacing between table and filters */
  .filters-section {
    margin-bottom: 1rem;
  }

  /* Ensure proper spacing for the table container */
  .table-container {
    margin-top: 0.75rem;
  }

  .table-container::-webkit-scrollbar {
    height: 10px;
    width: 10px;
  }

  .table-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
  }

  .table-container::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .footer-content {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.15rem;
  }

  .footer-left,
  .footer-right {
    text-align: center;
    width: 100%;
    padding: 0 0.35rem;
  }

  .disclaimer {
    font-size: 0.6rem;
    line-height: 1.1;
  }

  /* Fix the mobile view for rows and Pos column */
  tbody tr {
    height: 40px;
    border-bottom: 1px solid #e0e0e0;
  }

  table th:nth-child(8),
  table td:nth-child(8) {
    min-width: 40px;
    width: 40px;
    height: 40px;
  }

  .true-icon,
  .false-icon {
    height: 40px;
    line-height: 40px;
  }

  .true-icon:before,
  .false-icon:before {
    font-size: 0.9rem;
  }

  /* Info notice mobile styles */
  .info-notice-inline {
    padding: 0.75rem;
    margin: 0.75rem 0;
  }

  .info-notice-inline h3 {
    font-size: 0.9rem;
    margin: 0 0 0.15rem 0;
  }

  .info-notice-inline p {
    font-size: 0.8rem;
    padding: 0 0.25rem;
  }

  /* Modal mobile styles */
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header {
    padding: 0.75rem 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    padding: 0.75rem 1rem;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body p {
    font-size: 0.9rem;
  }

  footer {
    padding: 0.2rem 0;
    font-size: 0.65rem;
  }

  /* Add some spacing to ensure content isn't hidden behind sticky footer */
  main.container {
    padding-bottom: 0.75rem;
  }

  /* Using the font-size from the earlier media query for consistency */
  .info-content h2 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .info-content p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .feedback-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    height: 32px;
  }

  .feedback-icon {
    font-size: 1rem;
  }

  .material-icons {
    font-size: 1rem;
  }

  /* Filter text sizes */
  #kart-search,
  #gecerlilik-search {
    font-size: 0.8rem;
  }

  .date-input-group label {
    font-size: 0.8rem;
  }

  .date-input-group input[type="date"] {
    font-size: 0.8rem;
  }

  .pos-label span {
    font-size: 0.8rem;
  }

  /* Table text sizes - reverted to previous values */
  th,
  td {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    min-height: 40px;
    height: 40px;
    line-height: 1.3;
  }

  th {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.75rem 0.75rem;
    background-color: #f8f9fa;
    font-size: 0.9rem;
  }

  .true-icon:before,
  .false-icon:before {
    font-size: 0.9rem;
  }
}

/* Ensure table headers stay above other content when scrolling */
thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #f8f9fa;
}

/* Custom Select Styles */
.custom-select-container {
  position: relative;
  width: 200px;
  margin: 0 0.5rem;
}

#kart-search,
#gecerlilik-search {
  width: 100%;
  padding: 0.5rem 0.75rem;
  padding-right: 32px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
  appearance: none;
  height: 38px;
  font-size: 0.9rem;
}

.custom-select-container::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #555;
  pointer-events: none;
  z-index: 1;
}

#kart-dropdown,
#gecerlilik-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 200;
  display: none;
}

#kart-dropdown.active,
#gecerlilik-dropdown.active {
  display: block;
}

.select-option {
  padding: 0.5rem;
  cursor: pointer;
  position: relative;
}

.select-option:hover {
  background-color: #f5f5f5;
}

.select-option.selected {
  background-color: #e6f7ff;
  font-weight: 500;
}

/* Check icon for selected options */
.check-icon {
  position: absolute;
  right: 10px;
  color: #1890ff;
  font-weight: bold;
}

/* Info Notice Styles */
.info-notice {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
}

.info-notice-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-notice h3 {
  color: #856404;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.info-notice p {
  color: #533f03;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .info-notice {
    padding: 0.5rem 0;
  }

  .info-notice h3 {
    font-size: 0.9rem;
  }

  .info-notice p {
    font-size: 0.8rem;
  }
}

/* Info Notice Inline Styles */
.info-notice-inline {
  border-left: 3px solid #2196f3;
  padding: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  text-align: center;
}

.info-notice-inline h3 {
  color: #2196f3;
  font-size: 0.9rem;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.info-notice-inline p {
  color: #505050;
  font-size: 0.8rem;
  margin: 0 auto;
  line-height: 1.25;
  max-width: 1400px;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .info-notice-inline {
    padding: 0.75rem;
  }

  .info-notice-inline h3 {
    font-size: 0.85rem;
  }

  .info-notice-inline p {
    font-size: 0.75rem;
  }
}

/* POS Filter Styles */
.pos-filter-container {
  display: flex;
  align-items: center;
  margin: 0 0.5rem;
}

.pos-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  user-select: none;
  padding: 0.35rem 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: white;
  font-size: 0.85rem;
  color: #495057;
  height: 38px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pos-label:hover {
  border-color: #80bdff;
  background-color: #f8f9fa;
}

.pos-label input[type="checkbox"] {
  width: 13px;
  height: 13px;
  cursor: pointer;
  margin: 0;
  accent-color: #2196f3;
}

.pos-label span {
  font-size: 0.85rem;
  color: #495057;
  white-space: nowrap;
}

/* Make custom select containers match width */
.custom-select-container,
.pos-filter {
  min-width: 180px;
}

@media (max-width: 768px) {
  /* Using the styles from the earlier media query for consistency */
  .pos-label {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
    height: 40px;
    border-radius: 6px;
  }

  #kart-dropdown,
  #gecerlilik-dropdown {
    max-height: 200px;
  }

  .table-container {
    min-height: 250px;
  }

  /* Adjust height for table with only one row on mobile */
  .table-container.single-row-table {
    min-height: auto;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  /* Adjust height for table with few rows (2-5) on mobile */
  .table-container.few-rows-table {
    min-height: 300px;
    height: auto;
    max-height: 55vh;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  /* Hide table on mobile */
  #campaigns-table {
    display: none;
  }

  /* Card styles for mobile */
  .campaign-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .campaign-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .card-header {
    background-color: #f8f9fa;
    padding: 12px 16px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
  }

  .card-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .card-content {
    padding: 12px 16px;
  }

  .card-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
  }

  .card-field:last-child {
    border-bottom: none;
  }

  .field-label {
    font-weight: 500;
    color: #6c757d;
    flex: 0 0 40%;
  }

  .field-value {
    text-align: right;
    color: #212529;
    flex: 0 0 60%;
  }

  /* Pos icon in card view */
  .card-field .true-icon,
  .card-field .false-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
  }

  .card-field .true-icon {
    background-color: #e6f7ee;
    border: 1px solid #28a745;
  }

  .card-field .true-icon:before {
    content: none;
  }

  .card-field .true-icon:after {
    content: "✓";
    color: #28a745;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
  }

  .card-field .false-icon {
    background-color: #f8d7da;
    border: 1px solid #dc3545;
  }

  .card-field .false-icon:before {
    content: none;
  }

  .card-field .false-icon:after {
    content: "✗";
    color: #dc3545;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
  }

  /* No results card */
  .campaign-card.no-results {
    padding: 24px 16px;
    text-align: center;
    color: #6c757d;
    font-weight: 500;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.3s;
}

.modal-header {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #2c3e50;
}

.close-modal {
  color: #aaa;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #333;
}

.modal-body {
  padding: 1.5rem;
  line-height: 1.6;
}

.modal-body p {
  margin-bottom: 1rem;
  color: #333;
  font-size: 0.95rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-footer {
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  text-align: right;
}

#modal-close-btn {
  padding: 0.5rem 1.5rem;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

#modal-close-btn:hover {
  background-color: #2980b9;
}

/* Make disclaimer text clickable */
#disclaimer-link {
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

#disclaimer-link:hover {
  color: #3498db;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header {
    padding: 0.75rem 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-footer {
    padding: 0.75rem 1rem;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body p {
    font-size: 0.9rem;
  }
}

/* Feedback Section Styles */
.feedback-section {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 1000;
  width: auto;
  max-width: 300px;
}

.feedback-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.feedback-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feedback-icon {
  font-size: 1.2rem;
}

@media (min-width: 481px) and (max-width: 768px) {
  .feedback-section {
    bottom: 30px;
    right: 12px;
    left: auto;
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    max-width: 100vw;
  }
  .feedback-button {
    width: 48px;
    height: 48px;
    aspect-ratio: 1/1;
    min-width: 0;
    max-width: 48px;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    pointer-events: auto;
    box-sizing: border-box;
    background-color: #3498db;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  .feedback-button span.button-text {
    display: none;
  }
  .feedback-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .feedback-section {
    bottom: 90px;
    right: 12px;
    left: auto;
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 100vw;
  }
  .feedback-button {
    width: 44px;
    height: 44px;
    aspect-ratio: 1/1;
    max-width: 44px;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .feedback-icon {
    font-size: 1.3rem;
  }
}

/* Add padding to main container to prevent content from being hidden behind the button */
main.container {
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  main.container {
    padding-bottom: 35px;
  }
}

/* Date filter styles */
.date-filter-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0.5rem;
}

.date-input-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.date-input-group label {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.date-input-group input[type="date"] {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  background-color: white;
  cursor: pointer;
  width: 140px;
}

.date-input-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

.date-input-group input[type="date"]:hover::-webkit-calendar-picker-indicator {
  opacity: 0.8;
}

.date-input-group input[type="date"] {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  background-color: white;
  cursor: pointer;
  width: 140px;
}

.date-input-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

.date-input-group input[type="date"]:hover::-webkit-calendar-picker-indicator {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .date-filter-container {
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    margin: 0 0.3rem;
  }

  .date-input-group {
    width: 100%;
  }

  .date-input-group label {
    font-size: 0.85rem;
  }

  .date-input-group input[type="date"] {
    width: 100%;
    padding: 0.4rem;
    font-size: 0.85rem;
  }
}

/* Table adjustments for small mobile */
@media (max-width: 480px) {
  .table-container {
    padding: 0.25rem 10px;
    min-height: 200px;
  }

  /* Adjust height for tables with few rows on small mobile */
  .table-container.single-row-table,
  .table-container.few-rows-table {
    min-height: 200px;
    height: auto;
    max-height: 50vh;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 10px;
  }

  .feedback-section {
    bottom: 30px;
    right: 10px;
  }

  .feedback-button {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  }

  .feedback-icon {
    font-size: 0.9rem;
  }

  .modal-content {
    width: 98%;
    margin: 5% auto;
  }

  .modal-header h2 {
    font-size: 1.1rem;
  }

  .modal-body p {
    font-size: 0.8rem;
  }
}

/* Layout adjustments for mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .search-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  #search-input,
  #search-button {
    width: 100%;
  }

  .filters {
    flex-direction: column;
    gap: 0.75rem;
  }

  .custom-select-container,
  .date-filter-container,
  .pos-filter-container,
  .clear-filters-container {
    width: 100%;
  }

  /* Using the styles from the earlier media query for consistency */
  .pos-label {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
    height: 40px;
    border-radius: 6px;
    margin: 0;
  }

  #clear-filters-button {
    width: 100%;
    margin: 0;
  }

  .table-container {
    margin: 0.5rem 0;
    padding: 0 10px;
    border-radius: 4px;
  }

  table {
    min-width: 100%;
  }

  /* Using the styles from the earlier media query for consistency */
  .feedback-button {
    width: 44px;
    height: 44px;
    aspect-ratio: 1/1;
    max-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
    max-height: 90vh;
  }
}

@media (max-width: 480px) {
  th,
  td {
    padding: 0.4rem;
  }

  .table-container {
    max-height: 60vh;
  }
}

/* iPad Air and similar tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .table-container {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    max-height: 65vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 0 15px;
  }

  /* Make "Filtreleri Temizle" button smaller */
  #clear-filters-button {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    height: 30px;
  }

  /* Reduce font size for better alignment */
  table th, table td {
    font-size: 0.8rem;
  }

  table {
    width: 100%;
    min-width: 100%;
    max-width: none;
    table-layout: auto;
    border-collapse: collapse;
  }

  /* Adjust column widths for tablet */
  table th:nth-child(1),
  table td:nth-child(1) {
    min-width: 60px;
    width: 8%;
  }

  table th:nth-child(2),
  table td:nth-child(2) {
    min-width: 120px;
    width: 16%;
  }

  table th:nth-child(3),
  table td:nth-child(3),
  table th:nth-child(4),
  table td:nth-child(4),
  table th:nth-child(5),
  table td:nth-child(5),
  table th:nth-child(6),
  table td:nth-child(6),
  table th:nth-child(7),
  table td:nth-child(7) {
    min-width: 60px;
    width: 7%;
  }

  table th:nth-child(8),
  table td:nth-child(8) {
    min-width: 45px;
    width: 5%;
  }

  table th:nth-child(9),
  table td:nth-child(9) {
    min-width: 80px;
    width: 10%;
  }

  table th:nth-child(10),
  table td:nth-child(10) {
    min-width: 90px;
    width: 13%;
  }

  /* Ensure the footer stays at the bottom */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  main.container {
    flex: 1;
    padding-bottom: 30px;
  }
}

/* Specific fix for 820x1180 resolution (where the table overgrowth issue occurs) */
@media (min-width: 810px) and (max-width: 830px) {
  .table-container {
    max-height: 60vh !important; /* Reduce height to prevent overgrowth */
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 0 15px;
    position: relative;
  }

  /* Make "Filtreleri Temizle" button smaller */
  #clear-filters-button {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    height: 28px !important;
    width: auto !important;
  }

  table {
    width: 100%;
    min-width: 100%;
    max-width: none;
    table-layout: auto;
    border-collapse: collapse;
  }

  /* Adjust column widths for this specific tablet resolution */
  table th:nth-child(1),
  table td:nth-child(1) {
    min-width: 55px !important;
    width: 7% !important;
  }

  table th:nth-child(2),
  table td:nth-child(2) {
    min-width: 110px !important;
    width: 15% !important;
  }

  table th:nth-child(3),
  table td:nth-child(3),
  table th:nth-child(4),
  table td:nth-child(4),
  table th:nth-child(5),
  table td:nth-child(5),
  table th:nth-child(6),
  table td:nth-child(6),
  table th:nth-child(7),
  table td:nth-child(7) {
    min-width: 55px !important;
    width: 7% !important;
  }

  table th:nth-child(8),
  table td:nth-child(8) {
    min-width: 45px !important;
    width: 5% !important;
  }

  table th:nth-child(9),
  table td:nth-child(9) {
    min-width: 75px !important;
    width: 10% !important;
  }

  table th:nth-child(10),
  table td:nth-child(10) {
    min-width: 85px !important;
    width: 12% !important;
  }

  /* Ensure proper spacing and layout */
  main.container {
    padding-bottom: 35px;
  }
}

/* Additional height constraint for 820x1180 resolution */
@media (min-width: 810px) and (max-width: 830px) and (min-height: 1170px) and (max-height: 1190px) {
  .table-container {
    max-height: 55vh !important; /* Further reduce height for this exact resolution */
    max-height: 600px !important; /* Fixed pixel fallback */
    overflow-y: auto !important;
    overflow-x: auto !important;
    height: auto !important; /* Prevent fixed height issues */
    min-height: 300px !important; /* Ensure minimum height */
    width: 100% !important;
  }

  /* Ensure table is properly contained */
  table {
    margin-bottom: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  /* Force horizontal scroll only when absolutely necessary */
  th, td {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 0.75rem !important; /* Reduced font size for better alignment */
  }

  table th:nth-child(3) {
    white-space: nowrap !important;
    min-width: 90px !important;
    width: 12% !important;
    text-align: center !important;
  }

  table th:nth-child(4) {
    white-space: nowrap !important;
    min-width: 90px !important;
    width: 12% !important;
    text-align: center !important;
  }

  /* Fix for Kullanım Sayısı header breaking into two lines */
  table th:nth-child(5) {
    white-space: nowrap !important;
    min-width: 90px !important;
    width: 12% !important;
    text-align: center !important;
  }

  table th:nth-child(7) {
    white-space: nowrap !important;
    min-width: 90px !important;
    width: 12% !important;
    text-align: center !important;
  }

  /* Make "Filtreleri Temizle" button even smaller for this specific resolution */
  #clear-filters-button {
    padding: 0.2rem 0.4rem !important;
    font-size: 0.7rem !important;
    height: 26px !important;
    width: auto !important;
    margin-left: 0.3rem !important;
    margin-top: 7px !important; /* Center align with the POS filter */
  }

  /* Make search input and button smaller */
  #search-input, #search-button {
    height: 30px !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
  }

  /* Make custom select containers smaller */
  .custom-select-container {
    width: 160px !important;
    margin: 0 0.2rem !important;
  }

  #kart-search,
  #gecerlilik-search {
    height: 30px !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
  }

  /* Make date filter smaller */
  .date-filter-container {
    margin: 0 0.2rem !important;
  }

  .date-input-group {
    margin-right: 0.2rem !important;
  }

  .date-input-group label {
    font-size: 0.7rem !important;
    margin-right: 0.1rem !important;
  }

  .date-input-group input {
    height: 30px !important;
    padding: 0.25rem !important;
    font-size: 0.7rem !important;
    width: 110px !important;
  }

  /* Make POS filter smaller */
  .pos-filter-container {
    margin: 0 0.2rem !important;
  }

  .pos-filter-container span {
    font-size: 0.7rem !important;
  }
}

/* General tablet styles for all tablet sizes not covered by specific media queries */
@media (min-width: 600px) and (max-width: 1024px) {
  .table-container {
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    max-height: 65vh !important;
    overflow-y: auto !important;
  }

  /* Make "Filtreleri Temizle" button smaller */
  #clear-filters-button {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.8rem !important;
    height: 30px !important;
    width: auto !important;
  }

  table {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
  }

  /* Reduce all column widths for better tablet display */
  table th, table td {
    padding: 0.4rem !important;
    word-break: break-word !important;
    font-size: 0.75rem !important; /* Reduced font size for better alignment */
  }

  /* Adjust column widths for all tablets */
  table th:nth-child(1),
  table td:nth-child(1) {
    min-width: 55px !important;
    width: 7% !important;
  }

  table th:nth-child(2),
  table td:nth-child(2) {
    min-width: 110px !important;
    width: 15% !important;
  }

  table th:nth-child(3),
  table td:nth-child(3),
  table th:nth-child(4),
  table td:nth-child(4),
  table th:nth-child(5),
  table td:nth-child(5),
  table th:nth-child(6),
  table td:nth-child(6),
  table th:nth-child(7),
  table td:nth-child(7) {
    min-width: 55px !important;
    width: 7% !important;
  }

  table th:nth-child(8),
  table td:nth-child(8) {
    min-width: 45px !important;
    width: 5% !important;
  }

  table th:nth-child(9),
  table td:nth-child(9) {
    min-width: 75px !important;
    width: 10% !important;
  }

  table th:nth-child(10),
  table td:nth-child(10) {
    min-width: 85px !important;
    width: 12% !important;
  }
}

/* Specific fix for 912x1368 resolution */
@media (min-width: 900px) and (max-width: 920px) and (min-height: 1360px) and (max-height: 1380px) {
  .table-container {
    max-height: 60vh !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 0 15px;
    position: relative;
  }

  /* Reduce font size for better alignment */
  table th, table td {
    font-size: 0.7rem !important;
  }

  table {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
    border-collapse: collapse;
  }

  /* Adjust column widths for this specific tablet resolution */
  table th:nth-child(1),
  table td:nth-child(1) {
    min-width: 50px !important;
    width: 6% !important;
  }

  table th:nth-child(2),
  table td:nth-child(2) {
    min-width: 100px !important;
    width: 14% !important;
  }

  table th:nth-child(3),
  table td:nth-child(3),
  table th:nth-child(4),
  table td:nth-child(4),
  table th:nth-child(5),
  table td:nth-child(5),
  table th:nth-child(6),
  table td:nth-child(6),
  table th:nth-child(7),
  table td:nth-child(7) {
    min-width: 50px !important;
    width: 6% !important;
  }

  table th:nth-child(8),
  table td:nth-child(8) {
    min-width: 45px !important;
    width: 5% !important;
  }

  table th:nth-child(9),
  table td:nth-child(9) {
    min-width: 70px !important;
    width: 9% !important;
  }

  table th:nth-child(10),
  table td:nth-child(10) {
    min-width: 80px !important;
    width: 11% !important;
  }

  /* Force text wrapping */
  th, td {
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* Specific fix for 853x1280 resolution */
@media (min-width: 845px) and (max-width: 860px) and (min-height: 1270px) and (max-height: 1290px) {
  .table-container {
    max-height: 60vh !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 0 15px;
    position: relative;
  }

  /* Reduce font size for better alignment */
  table th, table td {
    font-size: 0.7rem !important;
  }

  table {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
    border-collapse: collapse;
  }

  /* Adjust column widths for this specific tablet resolution */
  table th:nth-child(1),
  table td:nth-child(1) {
    min-width: 50px !important;
    width: 6% !important;
  }

  table th:nth-child(2),
  table td:nth-child(2) {
    min-width: 100px !important;
    width: 14% !important;
  }

  table th:nth-child(3),
  table td:nth-child(3),
  table th:nth-child(4),
  table td:nth-child(4),
  table th:nth-child(5),
  table td:nth-child(5),
  table th:nth-child(6),
  table td:nth-child(6),
  table th:nth-child(7),
  table td:nth-child(7) {
    min-width: 50px !important;
    width: 6% !important;
  }

  table th:nth-child(8),
  table td:nth-child(8) {
    min-width: 45px !important;
    width: 5% !important;
  }

  table th:nth-child(9),
  table td:nth-child(9) {
    min-width: 70px !important;
    width: 9% !important;
  }

  table th:nth-child(10),
  table td:nth-child(10) {
    min-width: 80px !important;
    width: 11% !important;
  }

  /* Force text wrapping */
  th, td {
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* Improved table responsiveness */
.table-container {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Touch-friendly select and input styles */
.custom-select-container input,
.date-input-group input[type="date"],
#search-input,
#search-button,
#clear-filters-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

/* Improved modal for mobile */
.modal {
  padding: 10px;
}

.modal-content {
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Better spacing for mobile */
.filters > * {
  margin-bottom: 0.5rem;
}

/* Improved button touch targets */
button,
input[type="button"],
input[type="submit"] {
  min-height: 44px;
  touch-action: manipulation;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  .feedback-button span.button-text {
    display: none !important;
  }
}

/* Card logo styles */
.card-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}

.card-name-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Adjust table cell padding for cells with logos */
table td:first-child {
  padding: 8px 12px;
}

/* Responsive card logo styles for smaller screens */
@media (max-width: 480px) {
  .card-logo {
    width: 28px;
    height: 28px;
  }

  .card-header-content {
    gap: 10px;
  }
}

/* Responsive card logo styles for iPhone SE (2nd gen) and similar devices */
@media (max-width: 375px) {
  .card-logo {
    width: 26px;
    height: 26px;
  }

  .card-header-content {
    gap: 9px;
  }

  .card-header {
    padding: 10px 14px;
    font-size: 1.05rem;
  }

  .card-name-container {
    gap: 9px;
  }

  .card-content {
    padding: 10px 14px;
  }

  .card-field {
    padding: 6px 0;
  }

  .field-label {
    font-size: 0.9rem;
  }

  .field-value {
    font-size: 0.9rem;
  }

  /* Adjust true/false icons for iPhone SE */
  .card-field .true-icon,
  .card-field .false-icon {
    width: 20px;
    height: 20px;
  }

  .card-field .true-icon:after,
  .card-field .false-icon:after {
    font-size: 12px;
  }
}

/* Responsive card logo styles for very small screens */
@media (max-width: 320px) {
  .card-logo {
    width: 24px;
    height: 24px;
  }

  .card-header-content {
    gap: 8px;
  }

  .card-header {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .card-name-container {
    gap: 8px;
  }

  .card-content {
    padding: 8px 10px;
  }

  .card-field {
    padding: 5px 0;
  }

  .field-label {
    font-size: 0.85rem;
  }

  .field-value {
    font-size: 0.85rem;
  }

  /* Adjust true/false icons for very small screens */
  .card-field .true-icon,
  .card-field .false-icon {
    width: 18px;
    height: 18px;
  }

  .card-field .true-icon:after,
  .card-field .false-icon:after {
    font-size: 11px;
  }
}
