/* --- Root Variables --- */
:root {
  --primary-green: #2e7d32;
  --primary-orange: #F57C00;
  --light-grey-bg: #f8fafc; /* This is the background from the dashboard */
  --text-dark: #222;
  --text-medium: #666;
  --card-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  --green-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  --orange-shadow: 0 4px 10px rgba(245, 124, 0, 0.3);
}

/* --- Basic Setup --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  /* This clean background matches the dashboard image */
  background-color: var(--light-grey-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Good for mobile */
  color: #333;
}

.container {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

/* --- Logo --- */
.logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  
  color: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.logo .material-symbols-outlined {
  font-size: 40px;
}

/* --- Headings --- */
h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 5px;
}

h2 {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 25px;
  font-weight: 400;
}

/* --- Login Card --- */
.card {
  background: white;
  padding: 30px;
  border-radius: 12px; /* Rounded corners from dashboard */
  box-shadow: var(--card-shadow); /* Soft shadow from dashboard */
  text-align: left;
}

.card h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.card p {
  text-align: center;
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 25px;
}

/* --- Form Elements --- */
input.search-bar {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px; /* Spacing for the username input */
  border: 1px solid #ccc;
  border-radius: 8px; /* Rounded inputs */
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input.search-bar::placeholder {
  color: #999;
}

input.search-bar:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2); /* Green focus ring */
}

button#login {
  width: 100%;
  padding: 12px;
  background: var(--primary-orange);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--orange-shadow);
}

button#login:hover {
  background-color: #E67E22; /* Darker orange */
}

/* --- Links --- */
.forgot-password {
  text-align: center;
  margin-top: 20px;
}

.forgot-password a {
  font-size: 14px;
  color: var(--primary-orange); /* Orange for forgot password */
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.signup-link {
  text-align: center;
  margin-top: 15px;
  font-size: 15px;
  color: var(--text-medium);
}

.signup-link a {
  color: var(--primary-green); /* Green for sign up */
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
.footer-msg {
  text-align: center;
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-msg .material-symbols-outlined {
  font-size: 18px;
  margin-right: 8px;
  color: var(--primary-green);
}
