/* General reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1e1e1e;
  color: #d1d1d1;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  padding: 0;
}

/* Navbar */
.navbar {
  background-color: #121212;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #345D9D;
}

.navbar a {
  color: #d1d1d1;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: #345D9D;
}

/* Container for main content */
.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

/* Headings */
h1, h2, h3 {
  color: #f0f0f0;
  margin-bottom: 1rem;
}

/* Buttons */
.button {
  background-color: #345D9D;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  margin-top: 1rem;
  text-decoration: none;
}

.button:hover {
  background-color: #2b4c81;
}

/* Forms */
form {
  background-color: #2a2a2a;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  max-width: 500px;
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #1b1b1b;
  color: #eee;
}

input:focus {
  outline: none;
  border-color: #345D9D;
  background-color: #222;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.table th,
.table td {
  padding: 1rem;
  border-bottom: 1px solid #333;
  text-align: left;
}

.table th {
  background-color: #2f2f2f;
  color: #cccccc;
}

.table tr:hover {
  background-color: #2a2a2a;
}

/* Confirmation / Message Pages */
.message-box {
  background-color: #2a2a2a;
  border-left: 5px solid #345D9D;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  border-radius: 6px;
  color: #dcdcdc;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  margin-top: 4rem;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9rem;
}

/* Utility */
.centered {
  text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

.centeredDiv{
  margin:auto;
  display:block;
  width:700px;
  text-align:center;
  padding-bottom:30px;
}

.scrollable-td {
  overflow-x: auto;
  white-space: nowrap;
  max-width: 300px; 
}