/* General Styles */
body {
  font-family: "Ramabhadra", sans-serif;
  background-color: #d2ebed;
  margin: 0;
  padding: 0;
}

.container {
  width: 60%;
  margin: 20px auto;
  background: white;
  padding: 20px;
  height: auto;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1), 0 8px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 20px;
}
.chart-container {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

#myChart {
  max-width: 350px;
  max-height: 350px;
}

.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.time-filter {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: white;
  font-family: "Assistant", sans-serif;
}
.edit-btn,
.copy-btn,
.delete-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  text-decoration: none;
}
a {
  text-decoration: none;
}
.edit-btn {
  background-color: #2196f3;
}
.copy-btn {
  background-color: #ff9800;
}
.delete-btn {
  background-color: #f44336;
}
.status-active {
  color: green;
  font-weight: bold;
}
.status-inactive {
  color: red;
  font-weight: bold;
}
.search-bar {
  margin-bottom: 20px;
  padding: 8px;
  width: 300px;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.chart-container {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.clear-search {
  margin-left: 10px;
  color: #ff4444;
  text-decoration: none;
  font-size: 14px;
}

.clear-search:hover {
  text-decoration: underline;
}
.search-form {
  display: flex;
  gap: 10px;
}

.search-bar {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  width: 250px;
}

.search-button {
  padding: 8px 15px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.search-button:hover {
  background-color: #45a049;
}
#myChart {
  max-width: 350px;
  max-height: 350px;
}
.header {
  font-size: 35px;
  font-weight: bold;
  color: #838383;
  margin-bottom: 30px;
  margin-top: 60px;
  margin-left: 10.5em;
  font-family: "DaysOne-Regular", sans-serif;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.nav a {
  text-decoration: none;
  color: #838383;
  font-size: 23px;
}

.nav a:hover {
  text-decoration: underline;
  color: #68a3a9;
}
/* Search Bar */
.search-bar {
  width: 100%;
  max-width: 400px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
td.action-buttons {
  padding: 8px 5px;
}
th {
  background-color: #2c3e50;
  color: white;
  font-weight: 600;
  text-align: center;
}

tr:hover {
  background-color: #f5f5f5;
}

/* Status Badges */
.status-regular {
  color: #2ecc71;
  font-weight: 600;
}

.status-pwd {
  color: #e74c3c;
  font-weight: 600;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.edit-btn,
.copy-btn,
.delete-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.edit-btn {
  background-color: #3498db;
  color: white;
}

.edit-btn:hover {
  background-color: #2980b9;
}

.copy-btn {
  background-color: #f39c12;
  color: white;
}

.copy-btn:hover {
  background-color: #d35400;
}

.delete-btn:hover {
  background-color: #c0392b;
}

/* Chart Container */
.chart-container {
  width: 100%;
  margin: 30px auto;
  padding: 20px;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
  }

  .navbar-nav {
    margin-top: 15px;
  }

  .nav-item {
    margin: 0 10px;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
#search-bar {
  width: 14%;
  padding: 6px;
  border: 3px solid #addce1;
  border-radius: 16px;
  font-weight: bold;
}

#search-bar::placeholder {
  color: #bcb8b8;
  opacity: 1;
}
.info-section {
  margin-top: 10px;
}

.section-header {
  font-size: 18px;
  font-weight: lighter;
  color: #555;
  margin-bottom: 10px;
}

.table-header {
  display: flex;
  text-align: justify;
  background-color: #eeeeee;
  padding: 10px;
  font-weight: lighter;
  border-radius: 10px;
}

.table-rows .row {
  display: flex;
  justify-content: space-between;
  background-color: #addce1;
  padding: 15px;
  margin-top: 10px;
  border-radius: 16px;
}

.table-rows .row:nth-child(even) {
  background-color: #addce1;
}

.col-id,
.col-name,
.col-email,
.col-queue,
.col-status,
.col-action {
  flex: 1;
  text-align: justify;
  font-weight: lighter;
}

.active {
  color: #3dbb45;
}

.inactive {
  color: red;
}
.delete-btn:hover {
  color: #db7e6e;
}

.delete-btn {
  background-color: #e74c3c;
  color: white;
}
.pagination {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
  gap: 5px;
}

.pagination a {
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
}

.pagination a.active {
  background-color: #4caf50;
  color: white;
  border: 1px solid #4caf50;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

.pagination a.prev-btn,
.pagination a.next-btn {
  background-color: #f1f1f1;
}
.navbar {
  background-color: #8d8d8d; /* White background */
  opacity: 0.6;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  height: 150px;
  width: 100%;
  overflow: hidden;
}
.navbar img {
  width: 100%;
  height: 100%;
}
.navbar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Set a maximum width for the navbar */
  margin: auto; /* Center the navbar */
  position: relative;
  top: 50%;
  transform: translate(0%, -60%);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333; /* Dark gray or black color for brand */
  font-weight: 500; /* Semi-bold font-weight */
  margin-left: -300px;
}

.navbar-brand img {
  margin-right: 10px;
}

.navbar-brand span {
  color: #ffffff;
  text-align: left;
  font-family: "DaysOne-Regular", sans-serif;
  font-size: 40px;
  font-weight: 700;
  position: relative;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-item {
  margin-left: 20px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  text-align: left;
  font-family: "Ramabhadra-Regular", sans-serif;
  font-size: 24px;
  font-weight: 400;
  position: relative;
  top: 50%;
  width: 83px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background-color: #007bff;
  color: #fff;
}
