
.login-simple {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    height: 100vh; 
    margin: 0;
    display: flex; 
    align-items: center; 
    justify-content: center; }
/* ================================
   OTP PAGE STYLES
================================ */
body.otp-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.login-card {
  background-color: #ffffff;
  padding: 30px 35px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}

.login-card h2 {
  font-size: 24px;
  color: #2f4f2f;
  margin-bottom: 10px;
}

.instruction {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.login-card input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.login-card input[type="text"]:focus {
  border-color: #6bbf59;
  outline: none;
}

.login-card button {
  width: 100%;
  padding: 12px;
  background-color: #2f4f2f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-card button:hover {
  background-color: #1f351f;
}

.login-card a {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #2f4f2f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-card a:hover {
  color: #1a2b1a;
  text-decoration: underline;
}

.error {
  color: #d32f2f;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== GLOBAL STYLES ==== */
body {
  background: rgb(92, 153, 105);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

/* ==== FORM CONTAINER ==== */
.form-container,
.simple-login-box,
.verify-otp-box {
  background-color: #ffffff;
  padding: 30px 35px;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
}

/* ==== HEADINGS ==== */
.form-container h2,
.simple-login-box h2,
.verify-otp-box h2 {
  margin-bottom: 20px;
  color: #112d11ff;
  text-align: center;
}

/* ==== INPUT FIELDS ==== */
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #b8e0b8;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

/* ==== PASSWORD TOGGLE WRAPPER ==== */
.password-wrapper {
  position: relative;
  width: 100%;
  margin: 10px 0;
}
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 40px; /* space for eye icon */
}
.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #2f4f2f;
  display: flex;
  align-items: center;
}

/* ==== BUTTONS ==== */
button {
  width: 100%;
  padding: 12px;
  background-color: #172f17ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
button:hover {
  background-color: #1b341b;
}

/* ==== LINKS ==== */
p a {
  display: inline-block;
  margin-top: 10px;
  color: #203720ff;
  text-decoration: none;
  font-size: 14px;
}
p a:hover {
  text-decoration: underline;
}

/* ==== SUCCESS & ERROR MESSAGES ==== */
.success {
  color: green;
  font-size: 14px;
  margin-top: 10px;
}
.error {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 10px;
}

/* ==== VERIFY EMAIL PAGE ==== */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}
.login-card {
  background-color: #ffffff;
  padding: 30px 35px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}
.login-card h2 {
  font-size: 24px;
  color: #2f4f2f;
  margin-bottom: 10px;
}
.instruction {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.login-card input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}
.login-card input[type="email"]:focus {
  border-color: #6bbf59;
  outline: none;
}
.login-card button {
  width: 100%;
  padding: 12px;
  background-color: #2f4f2f;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.login-card button:hover {
  background-color: #1f351f;
}
.login-card a {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #2f4f2f;
  text-decoration: none;
  transition: color 0.3s ease;
}
.login-card a:hover {
  color: #1a2b1a;
  text-decoration: underline;
}

/* Error message */
.error {
  color: #d32f2f;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Dashboard.php*/
.dashboard {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}
.page-transition {
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🌿 Search */
.search-form {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  max-width: 500px;
  width: 100%;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 14px; /* may space sa kanan para sa icon */
  border: 1px solid #ccc;
  border-radius: 25px;
  outline: none;
  font-size: 15px;
  background: #fff;
  color: #333;
}

.search-box input:focus {
  border-color: #2f5233;
  box-shadow: 0 0 4px rgba(47, 82, 51, 0.5);
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none; /* hindi clickable, display lang */
}

/* 🌿 Welcome Banner */
.welcome-banner {
  margin: 15px 0;
  background: #dff2e1;
  padding: 8px 12px;   /* lumiit yung padding */
  border-radius: 6px;
  text-align: center;
}
.welcome-banner h2 {
  margin: 0;
  font-size: 30px;     /* mas controlled size */
  font-weight: 600;
}
.welcome-banner span {
  color: #2f5233;
  font-weight: bold;
}


/* 🌿 Header Banner */
/* 🌿 Banner Text */
.dashboard-header-banner {
  position: relative;   /* 🔑 ito yung missing */
  margin: 20px 0;
}
.banner-text {
  position: absolute;
  top: 20%;   /* adjust as needed */
  left: 20%;  /* para center */
  transform: translateX(-50%);
  text-align: center;
}

.banner-title {
  font-size: 3rem;       /* laki ng text (desktop) */
  font-weight: 900;
  line-height: 1.2;
  color: #e1dfdf;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 1.8rem;  /* mas maliit sa mobile */
  }
}

.header-img {
  width: 100%;
  border-radius: 10px;
}


/* 🌿 About Section */
.about-box-enhanced {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.about-box-enhanced span {
  color: #2f5233;
}

/* 🌿 Info Cards */
.info-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.info-card {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}
.info-card:hover {
  transform: translateY(-5px);
}
.info-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 10px;
}

.info-card i,
.info-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* 🌿 Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.feature-card:hover {
  background: #dff2e1;
}
.feature-card i {
  font-size: 2rem;
  color: #2f5233;
  margin-bottom: 10px;
}

/* 🌙 Dark Mode Overrides */
body.dark .sidebar {
  background: #121212;
}
body.dark .sidebar-link,
body.dark .logout-link {
  color: #ccc;
}
body.dark .sidebar-link:hover,
body.dark .sidebar-link.active {
  background: #333;
}
body.dark .about-box-enhanced,
body.dark .info-card,
body.dark .feature-card {
  background: #2a2a2a;
  color: #eee;
}
body.dark .welcome-banner {
  background: #333;
  color: #f5f5f5;
}

/* ===============================
   Bin Status Cards & Progress Bars
=============================== */
.bin-activity .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.bin-card {
  flex: 200px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.bin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.bin-card .status-img {
width: 150px; /* mas malaki */
  height: auto; /* panatilihin ang aspect ratio */
  margin-bottom: 12px;
}
.progress-bar {
  height: 12px;
  border-radius: 8px;
  background: #e0e0e0;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar .fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.5s ease-in-out, background-color 0.3s ease;
}

/* Recent Activity Heading inside dashboard */
.dashboard .activity-log h3 {
  color: #000000; /* siguradong black */
  font-weight: bold;
  margin-bottom: 15px;
}

/* ===============================
   Dashboard Overview Cards
=============================== */
.cards-overview {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.card-box {
  flex: 1 1 200px;        /* flexible size */
  background-color: #fff;  /* puting background */
  padding: 20px;           /* padding sa loob */
  border-radius: 12px;     /* rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtle shadow */
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card-box h2 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: #2f5233;
}
.card-box p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Alert box special style */
.alert-box {
  background-color: #ffe5e5; /* light red for alert */
  color: #d32f2f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.alert-box i {
  font-size: 24px;
  margin-bottom: 8px;
}

/* ===============================
   Activity Table
=============================== */
.activity-log table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.activity-table th,
.activity-table td {
  padding: 12px 15px;
  text-align: left;

}

.activity-table thead {
  background-color: #4caf50;
  position: sticky;
  top: 0;
  font-weight: bold;
}

.activity-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* ===============================
   Filter Buttons
=============================== */
.activity-tabs button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background-color: #ddd;
  cursor: pointer;
  transition: 0.3s;
}

.activity-tabs button.active,
.activity-tabs button:hover {
  background-color: #4caf50;
  color: #fff;
}

/* ===============================
   Download PDF Button
=============================== */
#downloadPdfBtn {
  background-color: #2f5233;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 10px;
}

#downloadPdfBtn:hover {
  background-color: #1f351f;
}

/* ===============================
   Responsive Design
=============================== */
@media (max-width: 1024px) {
  .info-container, .features {
    flex-direction: column;
  }

  .bin-activity .cards {
    flex-direction: column;
  }

  .sidebar {
    width: 60px;
  }

  .sidebar nav ul li a {
    text-align: center;
    padding: 12px 0;
  }

  .sidebar nav ul li a i {
    margin: 0;
  }
}

@media (max-width: 768px) {
  main.dashboard {
    padding: 15px;
  }

  .cards-overview {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .bin-card {
    padding: 15px;
  }

  .progress-bar {
    height: 10px;
  }
}
/* Activity controls: right-aligned */
.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.activity-header h3 {
  margin: 0;
  font-size: 20px;
  color: #2f5233;
}

.activity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-tabs {
  display: flex;
  gap: 8px;
}

.activity-tabs button {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  background-color: #ddd;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}

.activity-tabs button.active,
.activity-tabs button:hover {
  background-color: #4caf50;
  color: #fff;
}

.download-btn {
  background-color: #2f5233;
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.download-btn:hover {
  background-color: #1f351f;
}

/* SEE ALL button wrapper */
.activity-log form.see-all-btn-wrapper {
  margin-top: 5px;
  display: flex;
  justify-content: flex-end; /* itulak sa pinakakanan */
}

/* SEE ALL button style */
.see-all-btn {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  background-color: #ddd;
  color: #000;
  border: none;
  cursor: pointer;
  width: auto;   /* hindi full width */
}

.see-all-btn:hover {
  background-color: #4caf50;
  color: #fff;
}

/* ================================
   NOTIFICATION PAGE STYLES
================================ */
/* Main Notification Page Layout */
.dashboard.page-transition {
  padding: 30px;
  animation: fadeIn 0.4s ease-in-out;
}
.dashboard.page-transition h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1f1f1f; /* green accent */
}

.dashboard-subtext {
  font-size: 16px;
  color: #191919;
  margin-bottom: 25px;
}

/* Notification Cards Layout */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.cards .card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Card Content */
.cards .card i {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: #2f855a;
}

.cards .card h2 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.cards .card p {
  font-size: 14px;
  color: #777;
}

/* Animation for Page Transition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌿 Account Page */
.dashboard .account-section {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f3f3f3;
  border-radius: 10px;
}

.dashboard .account-section h2 {
  margin-bottom: 1rem;
}

.dashboard .account-section form {
  display: flex;
  flex-direction: column;
}

.dashboard .account-section label {
  margin-top: 0.5rem;
}

.dashboard .account-section input {
  padding: 0.5rem;
  margin-top: 0.25rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.dashboard .account-section button {
  margin-top: 1rem;
  padding: 0.5rem;
  border: none;
  background-color: #2b812e;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.dashboard .account-section button:hover {
  background-color: #1a441c;
}

.dashboard .reset-btn {
  background-color: #f44336;
}

.dashboard .reset-btn:hover {
  background-color: #d32f2f;
}
/* 🌿 Account Page Layout */
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 1.5rem; /* space sa pagitan */
  margin-top: 2rem;
}

.account-section {
  background: #f3f3f3;
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 200px; /* para pantay yung taas */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.account-section:hover {
  transform: translateY(-5px);
}

/* 🌿 Sidebar Toggle Theme Button */
.sidebar #toggleTheme {
  display: block;
  width: 100%;
  padding: 12px 15px;
  margin-top: 15px;
  background: #2e7d32; /* green */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.sidebar #toggleTheme:hover {
  background: #256028; /* darker green */
  transform: scale(1.03);
}

.sidebar #toggleTheme:active {
  transform: scale(0.97);
}
.camera-gallery {
  margin: 20px;
}

.camera-gallery h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}


