/* dashboard-style.css */

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
  padding: 2rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
}

/* Headings */
h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Paragraph */
p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #444;
}

/* CTA Button */
.cta-link,
button.cta-link,
button[type="submit"] {
  background-color: #0f4d37;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-block;
  width: auto;
}

.cta-link:hover,
button.cta-link:hover,
button[type="submit"]:hover {
  background-color: #0c3e2d;
}

.cta-link[disabled],
button[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="email"],
input[type="password"] {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

/* Report Card Style */
ul.report-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.report-list li {
  margin-bottom: 1.5rem;
}

.report-box {
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}

/* Force login form submit button to not be full width */
form button[type="submit"] {
  width: fit-content;
  max-width: 200px;
  align-self: flex-start;
}

.login-logo {
  width: 160px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 2rem auto;
}

/* Add to dashboard-style.css */
.logout-button {
  background-color: #b91c1c; /* deep red */
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.logout-button:hover {
  background-color: #991b1b; /* darker on hover */
}

/* Simple fade-up animation */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}