* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.background {
  background-image: url('image.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: brightness(0.8);
}

/* Navigation Bar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar h1 {
  font-size: 1.5em;
  color: #2c3e50;
}

.navbar button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}

.navbar button:hover {
  background-color: #2980b9;
}

/* White overlay container for all content */
.overlay {
  background-color: white;
  min-height: 100vh;
  padding: 40px;
}

/* Login modal */
.login-container {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin: 20px auto;
}

.login-container h2 {
  margin-bottom: 15px;
  color: #2c3e50;
  text-align: center;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #2980b9;
}

.message {
  margin-top: 10px;
  color: red;
  font-size: 0.9em;
  text-align: center;
}

/* Hide utility */
.hidden {
  display: none;
}

/* Content Section */
.content-container {
  max-width: 1200px;
  margin: 40px auto;
}

.account-section {
  margin-bottom: 40px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95em;
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

.charts h2 {
  margin-top: 50px;
  text-align: center;
  font-size: 1.8em;
  color: #34495e;
}

.chart {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin: 30px auto;
}
