/* Import Nunito Sans font */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

/* Base Box-Sizing & Typography */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa;
  font-family: 'Nunito Sans', sans-serif;
  color: #205B41;
  line-height: 1.6;
}

/* Brand Colors */
:root {
  --primary: #205B41;
  --accent: #FFB4E5;
  --light-bg: #f8f9fa;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Navigation Bar */
.navbar {
  background-color: var(--primary);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 1rem;
  font-weight: 600;
}

.navbar a:hover {
  color: var(--accent);
}

/* Login Background */
body.login-bg {
  background: linear-gradient(to right, var(--primary), var(--accent)) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Login Card */
.login-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 320px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* Inputs & Buttons */
.login-card input,
.login-card button,
.login-card select {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 1rem;
  min-width: 90px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Nunito Sans', sans-serif;
}

/* Primary Button */
.login-card button {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 600;
}

.login-card button:hover {
  background-color: #1a4935;
  transform: translateY(-2px);
}

/* Table Hover */
.table-hover tbody tr:hover {
  background-color: #f0f8f5;
}

/* Status Table Colors */
.table-success {
  background-color: #d4edda !important;
}

.table-warning {
  background-color: #fff3cd !important;
}

.table-danger {
  background-color: #f8d7da !important;
}

/* Responsive Image */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive Login Card */
@media (max-width: 400px) {
  .login-card {
    width: 90%;
  }
}
