﻿:root {
  --primary: #18a957;
  --secondary: #0b6a3a;
  --accent: #6dcd31;
  --bg: #f4fff7;
  --text: #103322;
  --white: #ffffff;
  --card-shadow: 0 14px 36px rgba(14, 72, 42, 0.16);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(132, 248, 166, 0.2), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(98, 213, 141, 0.16), transparent 34%),
    linear-gradient(120deg, #e9ffee, #ddfbe8 42%, #f8fffa);
  line-height: 1.6;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 72, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(167, 242, 191, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.logo {
  color: var(--white);
  font-size: 1.4rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

nav a {
  text-decoration: none;
  color: #ddffea;
  font-weight: 500;
  position: relative;
}

nav a:hover {
  color: #ffffff;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #baffcf;
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 11px 18px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(10, 70, 38, 0.2);
}

.btn-primary {
  background: linear-gradient(110deg, var(--primary), var(--secondary));
  color: var(--white);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-danger {
  background: linear-gradient(110deg, #d53333, #a11e1e);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 82vh;
  background-image:
    linear-gradient(120deg, rgba(6, 48, 25, 0.42), rgba(20, 120, 63, 0.2)),
    url('recycle-bins-bg.svg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      55deg,
      rgba(255, 255, 255, 0.015) 0 8px,
      rgba(255, 255, 255, 0.025) 8px 16px
    ),
    linear-gradient(120deg, rgba(9, 52, 29, 0.62), rgba(16, 116, 62, 0.4));
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.52;
  z-index: 1;
  animation: floatGlow 8s ease-in-out infinite;
}

.glow-one {
  background: rgba(96, 255, 152, 0.4);
  top: 18%;
  right: 14%;
}

.glow-two {
  background: rgba(139, 255, 180, 0.32);
  bottom: -60px;
  left: 18%;
  animation-delay: 1.2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.glass-card {
  max-width: 650px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(212, 255, 227, 0.06));
  border: 1px solid rgba(210, 255, 226, 0.48);
  backdrop-filter: blur(11px);
  border-radius: 22px;
  padding: 34px;
  color: #f3fff8;
  box-shadow: var(--card-shadow);
  animation: popIn 0.7s ease;
}

.glass {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.tagline {
  font-weight: 600;
  color: #ddffe8;
}

.hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  margin: 10px 0;
  line-height: 1.2;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-pills {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pills span {
  background: rgba(216, 255, 229, 0.2);
  border: 1px solid rgba(224, 255, 234, 0.55);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
}

.section {
  padding: 55px 0;
}

.section-tight {
  padding-top: 20px;
  padding-bottom: 20px;
}

.section h3 {
  font-size: 1.85rem;
  margin-bottom: 16px;
  color: #0c4c2b;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(145deg, #ffffff, #f5fff8);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid #d9f3e2;
}

.auth-shell {
  max-width: 560px;
}

.auth-card h2 {
  margin-bottom: 6px;
}

.auth-card p {
  margin-bottom: 8px;
}

.muted {
  color: #4e6f5d;
  font-weight: 500;
}

.dashboard-stats .stat-card {
  text-align: center;
  border: 1px solid #cce9d6;
}

.stat-card p {
  font-weight: 600;
  margin-bottom: 6px;
  color: #2f6246;
}

.stat-card h3 {
  margin: 0;
  font-size: 2rem;
  color: #0b5f35;
}

.hover-up {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 34px rgba(16, 76, 43, 0.23);
}

.category-card {
  background: linear-gradient(140deg, #f3fff4, #d9f9e5);
  border: 1px solid #c0ebce;
  border-radius: 16px;
  padding: 26px 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 30px rgba(18, 93, 53, 0.2);
}

.table-wrap {
  overflow-x: auto;
}

.table-input {
  min-width: 110px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #d5ecdc;
  padding: 12px;
  text-align: left;
}

th {
  background: #e6ffef;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
}

.footer {
  background: #0f4a2b;
  color: #e5fff0;
  padding: 20px 0;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 20px;
  background: linear-gradient(135deg, #25d366, #0cb151);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  z-index: 120;
  animation: pulse 2s infinite;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
}

.hidden {
  display: none;
}

.modal-content {
  width: min(540px, 92%);
  position: relative;
}

.close-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  border: none;
  background: #deffe8;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: 700;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #b9dfc7;
  font-family: inherit;
}

.status-text {
  margin-top: 10px;
  font-weight: 600;
}

.status-text.success {
  color: #097036;
}

.status-text.error {
  color: #b21e1e;
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #eafbf0;
}

.badge.pending { background: #fff4d7; color: #9e6800; }
.badge.assigned { background: #e7f1ff; color: #0b58ad; }
.badge.picked { background: #e8f7ff; color: #0a7b9e; }
.badge.completed { background: #e3ffe9; color: #0c7a35; }
.badge.cancelled { background: #ffe8e8; color: #aa1f1f; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.toolbar h3 {
  margin: 0;
}

.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.page-header {
  padding: 36px 0 12px;
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .filters { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 68vh; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes floatGlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(0px); }
}

@keyframes popIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
