:root {
  --textColor: #000000;
  --backGround: #7ab2b2;
  --backGround2: #eef7ff;
  --specialColor: #4d869c;
}

body {
  background-color: var(--backGround);
  color: var(--backGround2);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

#admin-section {
  background-color: var(--backGround2);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#admin-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--backGround);
  text-align: center;
  margin-bottom: 20px;
}

.table {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.table thead {
  background-color: var(--backGround);
  color: var(--backGround2);
}

.table tbody tr:hover {
  background-color: var(--specialColor);
  color: #ffffff;
}

.table th,
.table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid var(--backGround);
}

.table th {
  text-transform: uppercase;
  font-size: 0.9rem;
}

.table td {
  color: var(--textColor);
}
@media (max-width: 992px) {
  #admin-section {
    padding: 20px;
  }

  #admin-section h2 {
    font-size: 2rem;
    text-align: center;
  }

  .table th,
  .table td {
    font-size: 0.9rem;
    padding: 10px;
  }

  #logout-button {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  #admin-section {
    padding: 15px;
  }

  #admin-section h2 {
    font-size: 1.8rem;
  }

  .table th,
  .table td {
    font-size: 0.8rem;
    padding: 8px;
  }

  #logout-button {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}



@media (max-width: 768px) {
  #admin-section {
    padding: 20px;
  }

  .table th,
  .table td {
    font-size: 0.9rem;
    padding: 10px;
  }

  #admin-section h2 {
    font-size: 2rem;
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 576px) {
  /* Login form úpravy */
  #login-section {
    padding: 20px;
    height: auto;
  }

  #login-form {
    width: 100%;
    padding: 0 10px;
  }

  #login-section h2 {
    font-size: 1.8rem;
  }

  #login-section .btn-primary {
    font-size: 1rem;
    padding: 10px;
  }

  /* Tabulka - mobilní zobrazení jako karty */
  .table-responsive {
    overflow-x: auto;
  }

  .table thead {
    display: none;
  }

  .table tr {
    display: block;
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
  }

  .table td {
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
  }

  .table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: var(--specialColor);
  }

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