html {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;

  position: relative;

  margin: 0;
  padding: 0;

  width: 100%;
  height: 100%;

  background-color: #0c0201;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: column;

  background: linear-gradient(135deg, #ff6a00, #591208);

  border-radius: 30px;

  height: 99%;
  width: 100%;

  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.main .base {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;

  overflow: hidden;

  width: 99.35%;
  height: 99.35%;

  border-radius: 30px;

  background: #0c0201;
}

/* ================= LOGO ================= */
.animated-logo-container {
  text-align: center;
  margin-bottom: 15px;
}

.picture-features {
  display: flex;

  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;

  width: 100%;
  height: 100%;
}

.animated-logo img.logo-picture {
  width: 6rem;
}

.logo-text h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 10px;
  color: #fff186;
  text-shadow: 0px 0px 5px rgba(255, 180, 0, 0.6);
}

/* ================= SECTION TITLE ================= */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0.5rem;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff186;
  text-shadow: 0px 0px 4px rgba(255, 180, 0, 0.4);
  border-bottom: 2px solid #fff186;
  padding: 0.5rem;
  width: fit-content;
  margin: 20px auto;
}

/* ================= SEARCH BOX ================= */
.search-box {
  display: flex;
  justify-content: center;
  margin: 20px 0 30px 0;
}

.search-box input {
  padding: 12px;
  width: 320px;
  border: 2px solid #ffb400;
  border-radius: 30px 0 0 30px;
  outline: none;
  font-size: 0.95rem;
  font-family: "Vazirmatn", sans-serif;
  background: #1a1a1a;
  color: #fff;
}

.search-box input::placeholder {
  color: #ccc;
}

.search-box button {
  padding: 12px 20px;
  border: none;
  background: linear-gradient(135deg, #ffef78, #ffce45);
  color: #000;
  font-weight: 700;
  font-family: "Vazirmatn", sans-serif;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: linear-gradient(135deg, #ffce45, #ffb400);
  color: #000;
  box-shadow: 0 0 12px rgba(255, 180, 0, 0.6);
}

/* ================= TABLE ================= */
.table-container {
  padding: 1rem;

  overflow-x: auto;
  overflow-y: auto;
  width: 97%;

  margin-top: 10px;

  height: 90%;
}

.ban-table {
  width: 100%;
  border-collapse: collapse;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-family: "Vazirmatn", sans-serif;
}

.ban-table tr {
  width: 100%;
}

.ban-table th,
.ban-table td {
  padding: 8px;
  border: none;

  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  text-align: center;

  min-width: 7rem;
}

.ban-table th {
  background: #ffb400;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
}

.ban-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.ban-table tr:hover {
  background: rgba(255, 180, 0, 0.15);
  transition: 0.25s ease;
}

/* ================= PAGINATION ================= */
.pagination {
  margin: 25px;
  text-align: center;
  font-family: "Vazirmatn", sans-serif;
}

.pagination a {
  margin: 0 10px;
  padding: 8px 16px;
  background: #ffb400;
  color: #000;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s;
}

.pagination a:hover {
  background: #ffce45;
}

.pagination span {
  margin: 0 10px;
  font-weight: bold;
  color: #fff186;
}

::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ff9100;
  border-radius: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }
  .ban-table thead {
    display: flex;
  }
  .ban-table th,
  .ban-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-direction: column;
  }

  .search-box input {
    width: 220px;
  }
}
