@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f7f9;
  color: #333;
}

/* Layout Containers */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dashboard-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Stat Cards */
.stat-card {
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-align: left;
}
.stat-card h3 {
  color: #00aaaa;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.stat-card p {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Buttons */
.button-primary {
  background-color: #00aaaa;
  color: white;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.button-primary:hover {
  background-color: #009c9c;
}

/* Sections */
section {
  margin-bottom: 3rem;
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
th, td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  text-align: left;
}
th {
  background-color: #00aaaa;
  color: white;
  cursor: pointer;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Charts */
canvas {
  width: 100% !important;
  height: auto !important;
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-top: 1rem;
}

/* Lists */
ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
}
input[type="text"],
input[type="password"] {
  height: 40px;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}
input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #00aaaa;
  outline: none;
}
button[type="submit"] {
  padding: 0.75rem;
  background-color: #00aaaa;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
  background-color: #009c9c;
}

/* Error Messages */
.form-error-message {
  background-color: #f8d7da;
  color: #842029;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  border: 1px solid #f5c2c7;
}

/* Landing Page Extras (if reused) */
.centered-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.2rem;
}
.landing-page-logo {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 180px;
}
.login-title-style {
  color: #00aaaa;
  font-size: 21pt;
  font-weight: 500;
}
.landing-page-intro-text {
  text-align: center;
  margin-bottom: 1.5rem;
}
.landing-page-intro-text h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 0.5rem;
}
.landing-page-intro-text p {
  font-size: 1rem;
  color: #666;
}