@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Open+Sans&display=swap');
/* General Styling */
body {
  font-family: "Big Shoulders", sans-serif;
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background-color: #12172b;
  color: #ffffff;
  text-align: center;
}

/* Header */
header {
  background: #1e2a47;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/* Main Container */
.container,
.login-container {
  background: #1e2a47;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  margin: auto;
}
.login-container {
  border-radius: 0% 0% 0% 0% / 0% 0% 0% 0%;
  color: white;
  box-shadow: 20px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

/* Form Styling */
form {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 500px;
  margin: auto;
}

label {
  text-align: right;
  padding-right: 10px;
}

input,
select {
  width: 95%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: #28375b;
  color: white;
}

/* Button */
button {
  grid-column: span 2;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  font-family: inherit;
}

button:hover {
  background: #0056b3;
}

/* Ensure the table is responsive and scrollable on small screens */
.table-container {
  width: 100%;
  overflow-x: auto; /* Enables horizontal scrolling */
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1e2a47;
  color: white;
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 10px;
  border: 1px solid white;
  text-align: left;
  white-space: nowrap; /* Prevent text from wrapping */
}

th {
  background: #007bff;
  color: white;
  font-weight: bold;
}
td {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis; /* Truncate long text */
}

tr:hover {
  background: #28375b;
}

/* Back Link */
.back-link {
  color: #00bfff;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

/* Welcome Section */
.welcome {
  margin-bottom: 20px;
}

/* Navigation Section */
.navigation h2 {
  margin-bottom: 15px;
}

/* Navigation Buttons */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Ensure links have a hand bullet before them */
.nav-links a::before {
  /* content: "👉"; Hand bullet */
  margin-right: 8px; /* Space between bullet and text */
  font-size: 18px; /* Slightly larger icon */
}

/* Ensure links remain light-colored */
.nav-links a {
  color: #f0f0f0; /* Light text for contrast */
  text-decoration: none;
  font-weight: bold;
}

/* Hover effect for better visibility */
.nav-links a:hover {
  color: #ffffff; /* Even lighter color on hover */
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .table-container {
    overflow-x: scroll;
  }

  th,
  td {
    font-size: 14px;
    padding: 8px;
  }

  button {
    padding: 8px;
    font-size: 14px;
  }
  .log-filter select,
  .log-filter button {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .container {
    width: 95%;
    padding: 15px;
  }

  form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  input,
  select,
  button {
    width: 100%;
  }

  label {
    text-align: left;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  .error-container {
    width: 90%;
    padding: 20px;
  }

  .error-container h1 {
    font-size: 60px;
  }

  .error-container h2 {
    font-size: 22px;
  }

  .home-btn {
    font-size: 14px;
  }
}
/* 404 Page Styling */
.error-container {
  text-align: center;
  background: #1e2a47;
  color: white;
  padding: 40px;
  max-width: 600px;
  margin: 100px auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.error-container h1 {
  font-size: 80px;
  color: #ff4d4d;
  margin: 0;
}

.error-container h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.error-container p {
  font-size: 16px;
  margin-bottom: 20px;
}
.delete-btn{
  color: #ffffff;
  background: #ac0707;
  font-family: inherit;
}
.generate-btn{
  color: #ffffff;
  background: #0db16b;
  font-family: inherit;
}
.home-btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  color: #ffffff;
  background: #007bff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  font-family: inherit;
}

.home-btn:hover {
  background: #0056b3;
}

/* Log selection form */
.log-filter {
  background: #1e2a47;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.log-filter label {
  display: block;
  margin-top: 10px;
  color: white;
}

.log-filter select,
.log-filter button {
  padding: 10px;
  margin-top: 5px;
  width: 100%;
  border-radius: 5px;
}

.log-filter button {
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.log-filter button:hover {
  background: #0056b3;
}
