

/* Optional: your custom global styles */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* ============================= */
/* NAVBAR BASE */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  background: linear-gradient(90deg, #c3c8c2, #c7dbc7);
  position: fixed;       /* fixed to stay visible while scrolling */
  top: 0;                /* stick to top */
  width: 100%;           /* full width */
  z-index: 9999;         /* above all content */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s ease, padding 0.3s ease;
}

/* shrink navbar on scroll */
.navbar.shrink {
  padding: 8px 25px;
  background: linear-gradient(90deg, #b0bcb0, #b7d4b7);
}

/* Logo */
.logo {
  font-size: 26px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: #721414;
  letter-spacing: 1px;
  cursor: pointer;
}

/* Desktop Menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links li:hover {
  color: #007BFF;
  transform: scale(1.1);
}

/* Links */
.nav-links li a {
  text-decoration: none;
  color: inherit;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 10000; /* above dropdown */
}

.bar {
  width: 28px;
  height: 3px;
  background: #111;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Hamburger animation */
.rotate1 {
  transform: translateY(7px) rotate(45deg);
}

.rotate2 {
  transform: translateY(-7px) rotate(-45deg);
}

.hide {
  opacity: 0;
}

/* -------------------- MOBILE -------------------- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none; /* hidden by default */
    position: absolute;
    top: 60px;
    right: 15px;
    background: linear-gradient(90deg, #c3c8c2, #c7dbc7);
    width: 220px;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    font-size: 18px;
    padding: 10px 0;
  }
}

/* Smooth scroll & hover effect */
.nav-links li:hover {
  color: #007BFF;
  transform: scale(1.05);
}

.home-container {
  text-align: center;
  padding: 40px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(254, 253, 253);
  min-height: 100vh;
}


.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  background: #696666;
  padding: 20px;
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.card h3 {
    color: black;
}

.card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.about-page {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 80px 0;
}

.about-page .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0) 30%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
  padding: 60px 30px;
  text-align: center;

  background: rgba(255, 255, 255, 0.6); /* semi-transparent white */
  border-radius: 15px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.about-container h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #111;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #222;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-container {
    padding: 40px 20px;
  }
  .about-container h1 {
    font-size: 2rem;
  }
  .about-container p {
    font-size: 1rem;
  }
  .about-page {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 30px 15px;
  }
  .about-container h1 {
    font-size: 1.6rem;
  }
  .about-container p {
    font-size: 0.95rem;
  }
}

/* Background wrapper */
.contact-page {
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  position: relative;
}

/* Optional dark overlay */
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* reduce background brightness */
  z-index: 1;
}

/* Contact content box */
.contact-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;

  background: rgba(255, 255, 255, 0.55); /* glass effect */
  border-radius: 15px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

/* Reset */
* {
  box-sizing: border-box;
}

/* Container */
.signin-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f5f6fa;
  padding: 20px;
}

/* Title */
.signin-title {
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 600;
  color: #2f3640;
}

/* Form Box */
.signin-form {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  padding: 26px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Group */
.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

/* Label */
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

/* Input FIX */
.form-group input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #cfd3dc;
  outline: none;
  background-color: #fff;
}

/* Focus */
.form-group input:focus {
  border-color: #407bff;
}

/* Button */
.signin-btn {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  background-color: #407bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.signin-btn:hover {
  background-color: #2f64e0;
}

/* Error */
.error {
  margin-top: 12px;
  color: #e84118;
  font-size: 14px;
  text-align: center;
}


@media (max-width: 480px) {
  .signin-form {
    padding: 20px;
  }

  .signin-title {
    font-size: 24px;
  }
}

/* Page Layout */
.admin-dashboard {
  display: flex;
  height: 100vh;
  background: #f5f6fa;
  font-family: Arial, sans-serif;
}

/* -------------------------
   SIDEBAR
-------------------------- */
.sidebar {
  width: 250px;
  background: #1e1e2f;
  color: rgb(213, 198, 198);
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  transition: 0.3s ease;
  padding-top: 20px;
  z-index: 2000;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.sidebar h2 {
  margin: 0;
  font-size: 20px;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.sidebar ul {
  list-style: none;
  padding: 20px 0;
}

.sidebar ul li {
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar ul li:hover {
  background: #2e2e42;
}

/* -------------------------
   MAIN CONTENT
-------------------------- */
.main-content {
  flex: 1 1;
  margin-left: 0;
  width: 100%;
  transition: 0.3s ease;
}

/* -------------------------
   TOP NAVBAR
-------------------------- */
.top-navbar {
  width: 100%;
  background: white;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  justify-content: flex-start;
  border-bottom: 1px solid #ddd;

  position: -webkit-sticky;

  position: sticky;  /* Makes it stick */
  top: 0;            /* Stick to the top */
  z-index: 999;      /* Keep it above all content */
}


.sidebar-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgb(103, 68, 68); 
}

/* ⭐ UPDATED: Notification + Logout shifted left */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  transform: translateX(-10px);
}

.notifications {
  font-size: 20px;
  cursor: pointer;
  transform: translateX(-4px);
}

/* ⭐ UPDATED LOGOUT BUTTON POSITION */
.logout {
  background: #d90429;
  padding: 8px 14px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transform: translateX(-6px);
}

.logout:hover {
  background: #b40322;
}

/* -------------------------
    CONTENT
-------------------------- */
.dashboard-content {
  padding: 20px;
}

/* -------------------------
   LOGOUT MODAL
-------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.modal-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.yes-btn, .no-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.yes-btn {
  background: #e63946;
  color: white;
}

.no-btn {
  background: #2a9d8f;
  color: white;
}

.yes-btn:hover, .no-btn:hover {
  opacity: 0.9;
}

/* -------------------------
   MOBILE RESPONSIVE
-------------------------- */

@media (min-width: 750px) {
  .main-content {
    margin-left: 250px;
  }

  .sidebar {
    transform: translateX(0);
  }

  .close-btn {
    display: none;
  }
}

@media (max-width: 749px) {
  .nav-right {
    gap: 12px;
    transform: translateX(-4px);
  }

  .logout {
    padding: 6px 12px;
    font-size: 14px;
    transform: translateX(-3px);
  }
}

/* Hide ☰ (sidebar-toggle) on desktop */
.sidebar-toggle {
  display: none;
}

/* Show ☰ only on mobile */
@media (max-width: 749px) {
  .sidebar-toggle {
    display: block;
  }
}

/* ------------------------------------
   ⭐⭐⭐ REMOVE HORIZONTAL SCROLL ⭐⭐⭐
------------------------------------- */
html, body {
  overflow-x: hidden !important;
}

.admin-dashboard,
.main-content,
.dashboard-content {
  overflow-x: hidden !important;
}
-------------------------- */
/* -------------------------
   DASHBOARD BUTTONS CENTERED
-------------------------- */
.dashboard-content {
  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  height: calc(100vh - 60px); /* full height minus top navbar */
  flex-direction: column;   /* stack content vertically if needed */
}

.dashboard-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;          /* space between buttons */
  flex-wrap: wrap;     /* wrap on smaller screens */
}

.dashboard-buttons button {
  background: #1e1e2f;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 30px 25px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  width: 180px;
  height: 180px;
  text-align: center;
}

.dashboard-buttons button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  background: #2e2e42;
}

.dash-icon {
  font-size: 50px;
  margin-bottom: 15px;
  color: #f5f6fa;
}

.dashboard-buttons span {
  font-weight: bold;
  font-size: 18px;
}

.count-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e63946;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Responsive: smaller buttons on mobile */
@media (max-width: 749px) {
  .dashboard-buttons {
    gap: 20px;
  }

  .dashboard-buttons button {
    width: 140px;
    height: 140px;
    padding: 20px;
  }

  .dash-icon {
    font-size: 40px;
  }

  .count-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* ================= PAGE CONTAINER ================= */
.add-agent-container {
  max-width: 520px;
  margin: 30px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================= HEADING ================= */
.add-agent-container h2 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

/* ================= STATUS MESSAGE ================= */
.status-msg {
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

/* ================= FORM ================= */
form {
  display: flex;
  flex-direction: column;
}

/* ================= FORM GROUP ================= */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

/* ================= LABEL ================= */
.form-group label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* ================= INPUT ================= */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="file"] {
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
}

/* focus state */
.form-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

/* ================= FILE INPUT ================= */
.form-group input[type="file"] {
  padding: 8px;
  cursor: pointer;
}

/* ================= ERROR ================= */
.error {
  margin-top: 4px;
  font-size: 12px;
  color: #dc3545;
}

/* ================= BUTTON ================= */
button {
  margin-top: 18px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.15s ease;
}

button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

button:disabled {
  background: #9bbcf0;
  cursor: not-allowed;
  transform: none;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .add-agent-container {
    margin: 14px;
    padding: 18px;
    border-radius: 12px;
  }

  .add-agent-container h2 {
    font-size: 20px;
  }

  .form-group label {
    font-size: 12.5px;
  }

  .form-group input {
    font-size: 13px;
    padding: 9px 10px;
  }

  button {
    font-size: 14px;
    padding: 11px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 400px) {
  .add-agent-container {
    padding: 15px;
  }

  button {
    padding: 10px;
  }
}

/* ================= PAGE ================= */
.page-container {
  padding: 20px;
}

h2 {
  margin-bottom: 15px;
}

/* ================= TABLE SCROLL ================= */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ================= TABLE ================= */
.agent-table {
  width: 100%;
  min-width: 780px; /* ensures horizontal scroll on mobile */
  border-collapse: collapse;
  background: #fff;
}

.agent-table th,
.agent-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.agent-table th {
  background: #f4f6f8;
  font-weight: 600;
}

/* ================= AVATAR ================= */
.avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}

/* ================= ACTION COLUMN ================= */
.agent-table td:last-child {
  min-width: 160px; /* keeps buttons inside cell */
}

/* Action buttons wrapper */
.agent-table td[data-label="Actions"] {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* ================= BUTTONS ================= */
.edit-btn,
.delete-btn {
  width: 70px;               /* SAME SIZE */
  height: 32px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-btn {
  background: #007bff;
  color: #fff;
}

.delete-btn {
  background: #dc3545;
  color: #fff;
}

/* ================= MODAL ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-box {
  background: #fff;
  width: 450px;
  max-width: 95%;
  padding: 20px;
  border-radius: 10px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box h3 {
  text-align: center;
  margin-bottom: 15px;
}

/* ================= IMAGE PREVIEW ================= */
.preview-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px;
  border-radius: 50%;
}

/* ================= FORM ================= */
.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.error {
  color: red;
  font-size: 12px;
}

/* ================= FORM BUTTONS ================= */
.btn-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.save-btn {
  background: #28a745;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
}

.save-btn:disabled {
  background: #a5d6a7;
  cursor: not-allowed;
}

.close-btn {
  background: #6c757d;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .page-container {
    padding: 10px;
  }

  .agent-table th,
  .agent-table td {
    font-size: 13px;
    padding: 10px;
  }

  /* keep buttons INSIDE table */
  .agent-table td[data-label="Actions"] {
    flex-wrap: nowrap;
  }

  .modal-box {
    width: 100%;
    border-radius: 12px;
  }

  .btn-group {
    flex-direction: column;
  }

  .save-btn,
  .close-btn {
    width: 100%;
  }
}

/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;
	transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.add-campaign-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #f7f9fc;
  border-radius: 8px;
}

.add-campaign-container h2 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #333;
}

.campaign-form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

.campaign-form input,
.campaign-form textarea,
.campaign-form select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.campaign-form textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  margin-top: 20px;
  padding: 10px 18px;
  font-size: 15px;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.submit-btn:hover {
  background-color: #2980b9;
}

.error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.map-wrapper {
  margin-top: 10px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.latlng-info {
  margin-top: 5px;
  font-size: 14px;
}

.search-results {
  background: #fff;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: 4px;
}

.search-results li {
  padding: 8px 10px;
  cursor: pointer;
}

.search-results li:hover {
  background: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .add-campaign-container {
    padding: 15px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px;
  }

  .campaign-form input,
  .campaign-form textarea,
  .campaign-form select {
    font-size: 13px;
    padding: 8px 10px;
  }
}

.campaign-container {
  padding: 20px;
  background: #f7f9fc;
}

.campaign-container h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #333;
}

/* Horizontal scroll wrapper */
.table-wrapper {
  overflow-x: auto;
}

/* Table styles */
.campaign-table {
  width: 100%;
  min-width: 800px; /* forces horizontal scroll on smaller screens */
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.campaign-table th,
.campaign-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}

.campaign-table th {
  background: #2c3e50;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.campaign-table tbody tr:hover {
  background-color: #f5f8ff;
}

/* ================= ACTION COLUMN FIX ================= */
.campaign-table td:last-child {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* ================= BUTTONS ================= */
.edit-btn,
.delete-btn {
  min-width: 80px;          /* 👈 equal width */
  height: 32px;             /* 👈 equal height */
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;     /* 👈 centers text */
  align-items: center;
  justify-content: center;
}

/* Edit button */
.edit-btn {
  background: #3498db;
  color: #fff;
  margin-right: 5px;
}

.edit-btn:hover {
  background: #2980b9;
}

/* Delete button */
.delete-btn {
  background: #e74c3c;
  color: #fff;
}

.delete-btn:hover {
  background: #c0392b;
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 768px) {
  .campaign-table th,
  .campaign-table td {
    font-size: 13px;
    padding: 10px 8px;
  }

  .campaign-table td:last-child {
    flex-direction: column;   
    gap: 5px;
  }

  .edit-btn,
  .delete-btn {
    width: 100%;              
    min-width: 90px;
    height: 32px;
    font-size: 12.5px;
  }
}

/* ===============================
   Wrapper
================================ */
.admin-clients-wrapper {
  padding: 20px;
  background: #f7f9fc;
  overflow-x: auto; /* horizontal scroll container */
}

.admin-clients-wrapper h2 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #333;
}

/* ===============================
   Table
================================ */
.clients-table {
  width: 100%;
  min-width: 1000px; /* forces horizontal scroll on small screens */
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.clients-table thead {
  background: #2c3e50;
  color: #fff;
}

.clients-table th,
.clients-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}

.clients-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.clients-table tbody tr:hover {
  background-color: #f5f8ff;
}

/* ===============================
   Clickable Name
================================ */
.client-link {
  color: #007bff;
  cursor: pointer;
  font-weight: 500;
}

.client-link:hover {
  text-decoration: underline;
}

/* ===============================
   Buttons
================================ */




/* ===============================
   MOBILE RESPONSIVE
   - Keep table
   - Horizontal scroll
================================ */
@media (max-width: 768px) {
  .admin-clients-wrapper {
    padding: 10px;
  }

  .clients-table {
    min-width: 700px; /* horizontal scroll for smaller screens */
    font-size: 13px;
  }

  .clients-table th,
  .clients-table td {
    padding: 10px 8px;
  }


}

/* Wrapper */
.client-detail-wrapper {
  max-width: 1100px;
  margin: 20px auto;
  padding: 16px;
  background: #f8f9fb;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* Title */
.client-detail-wrapper h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

/* Sections */
.client-detail-wrapper section {
  background: #ffffff;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Section heading */
.client-detail-wrapper h4 {
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #eaeaea;
  color: #34495e;
}

/* Info rows */
.client-detail-wrapper p {
  margin: 6px 0;
  color: #555;
  line-height: 1.5;
}

/* Label bold */
.client-detail-wrapper p b {
  color: #2c3e50;
}

/* Back button */
.client-detail-wrapper button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.client-detail-wrapper button:hover {
  background: #0056b3;
}

/* -------------------- */
/* DESKTOP GRID LAYOUT */
/* -------------------- */
@media (min-width: 768px) {
  .client-detail-wrapper section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 24px;
    column-gap: 24px;
  }

  .client-detail-wrapper h4 {
    grid-column: span 2;
  }
}

/* -------------------- */
/* MOBILE OPTIMIZATION */
/* -------------------- */
@media (max-width: 767px) {
  .client-detail-wrapper {
    padding: 10px;
  }

  .client-detail-wrapper section {
    padding: 12px;
  }

  .client-detail-wrapper h2 {
    font-size: 20px;
  }

  .client-detail-wrapper h4 {
    font-size: 16px;
  }

  .client-detail-wrapper p {
    font-size: 14px;
  }

  .client-detail-wrapper button {
    width: 100%;
    text-align: center;
  }
}

/* ============================= */
/* GLOBAL STYLING */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f6fa;
  color: #2f3640;
}

/* ============================= */
/* NAVBAR */
.agent-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background: linear-gradient(90deg, #061a6d, #060717);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dcdde1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ICON BUTTONS */
.icon-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: rgba(255,255,255,0.4);
  transform: scale(1.1);
}

/* PROFILE SECTION */
.profile-section {
  position: relative;
}

.profile-section img {
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.profile-section img:hover {
  transform: scale(1.05);
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 55px;
  right: 0;
  background-color: #fff;
  color: #2f3640;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  min-width: 150px;
  z-index: 10;
}

.dropdown-menu p {
  margin: 0;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-menu p:hover {
  background-color: #f1f2f6;
}

/* ============================= */
/* DASHBOARD CONTAINER */
.dashboard-container {
  padding: 30px;
  max-width: 1000px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.dashboard-container h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #4e54c8;
}

.dashboard-container p {
  font-size: 1.1rem;
  color: #718093;
}

/* ============================= */
/* LOGOUT MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.logout-modal {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 300px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.logout-modal h3 {
  margin-top: 0;
  color: #e84118;
}

.logout-modal p {
  margin: 15px 0;
  font-size: 1rem;
  color: #2f3640;
}

.modal-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.yes-btn, .no-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.yes-btn {
  background-color: #e84118;
  color: #fff;
}

.yes-btn:hover {
  background-color: #c23616;
}

.no-btn {
  background-color: #dcdde1;
  color: #2f3640;
}

.no-btn:hover {
  background-color: #bdc3c7;
}
.dashboard-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.dash-btn {
  background: #1976d2;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.dash-btn:hover {
  background: #125a9d;
}


/* ============================= */
/* RESPONSIVE */
@media (max-width: 768px) {
  .agent-navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .nav-right {
    margin-top: 10px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .dashboard-container h1 {
    font-size: 1.5rem;
  }

  .dashboard-container p {
    font-size: 1rem;
  }
}

/* MAIN WRAPPER */
.clients-wrapper {
  padding: 30px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

/* TITLE */
.clients-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

/* BUTTON WRAPPER */
.clients-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* COMMON BUTTON STYLE */
.client-btn {
  padding: 14px 30px;
  font-size: 17px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  width: 180px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.15);
}

/* ADD BUTTON */
.add-btn {
  background: #28a745;
  color: white;
}
.add-btn:hover {
  background: #1e7e34;
  transform: translateY(-3px);
}

/* VIEW BUTTON */
.view-btn {
  background: #007bff;
  color: white;
}
.view-btn:hover {
  background: #0056b3;
  transform: translateY(-3px);
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* GLOBAL */
.add-client-wrapper {
  max-width: 700px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

h4 {
  margin-bottom: 15px;
  color: #333;
}

/* ============================= */
/* FORM */
.client-form {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.2s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #4caf50;
}

.input-error {
  border-color: #e74c3c !important;
}

.error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 5px;
}

/* ============================= */
/* BUTTONS */
button {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 16px;
  transition: background 0.3s;
}

.next-btn {
  background-color: #4caf50;
  color: white;
  margin-top: 10px;
}

.next-btn:hover {
  background-color: #45a049;
}

.prev-btn {
  background-color: #f0f0f0;
  color: #333;
  margin-top: 10px;
  margin-right: 10px;
}

.prev-btn:hover {
  background-color: #ddd;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================= */
/* RESPONSIVE */
@media (max-width: 768px) {
  .add-client-wrapper {
    padding: 15px;
  }

  .client-form input,
  .client-form select,
  .client-form textarea {
    font-size: 14px;
    padding: 8px 10px;
  }

  button {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* ViewClientPage.css */

/* ======= GENERAL STYLES ======= */
.view-client-wrapper {
  padding: 20px;
  font-family: Arial, sans-serif;
}

h2 {
  margin-bottom: 15px;
}

.dash-btn {
  padding: 8px 15px;
  margin-bottom: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.dash-btn:hover {
  background-color: #0056b3;
}

.success-msg {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ======= TABLE STYLES ======= */
.client-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.client-table th,
.client-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.client-table th {
  background-color: #f2f2f2;
}

.edit-btn,
.delete-btn {
  padding: 5px 10px;
  margin-right: 5px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.edit-btn {
  background-color: #ffc107;
  color: #212529;
}

.delete-btn {
  background-color: #dc3545;
  color: white;
}

.edit-btn:hover {
  background-color: #e0a800;
}

.delete-btn:hover {
  background-color: #c82333;
}

/* ======= MODAL STYLES ======= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
}

.modal-box {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 800px;
  max-width: 100%;
  max-height: 95vh;
  overflow-y: auto;
}

.modal-box.large {
  width: 90%;
  max-width: 900px;
}

.step-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.step-tabs button {
  flex: 1 1;
  padding: 5px 10px;
  border: 1px solid #007bff;
  background-color: white;
  cursor: pointer;
  border-radius: 4px;
}

.step-tabs button.active {
  background-color: #007bff;
  color: white;
}

/* ======= FORM GRID ======= */
.client-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.input-error {
  border-color: #dc3545;
}

.error-text {
  color: #dc3545;
  font-size: 12px;
  margin-top: 3px;
}

/* ======= BUTTON ROW ======= */
.button-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.next-btn,
.prev-btn,
.save-btn,
.close-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.next-btn {
  background-color: #007bff;
  color: white;
}

.prev-btn,
.close-btn {
  background-color: #6c757d;
  color: white;
}

.save-btn {
  background-color: #28a745;
  color: white;
}

.next-btn:hover {
  background-color: #0056b3;
}

.prev-btn:hover,
.close-btn:hover {
  background-color: #5a6268;
}

.save-btn:hover {
  background-color: #218838;
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 768px) {
  .client-form-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    width: 100%;
    padding: 15px;
  }

  /* Table horizontal scroll */
  .client-table-wrapper {
    overflow-x: auto;
  }

  .client-table {
    min-width: 600px;
  }

  .button-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ViewProfile.css */

/* ---------- GENERAL STYLING ---------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f6fa;
}

.profile-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.profile-card {
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #3498db;
}

.profile-info {
  text-align: left;
  margin-top: 15px;
}

.profile-info p {
  margin: 10px 0;
  font-size: 16px;
}

.profile-info input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

h2 {
  margin: 10px 0;
  font-size: 22px;
}

h2 input {
  font-size: 20px;
  text-align: center;
}

/* ---------- PASSWORD BOX ---------- */
.password-box {
  margin-top: 20px;
  text-align: left;
}

.password-box h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.password-box input {
  width: 100%;
  padding: 8px 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.error-text {
  color: red;
  font-size: 13px;
}

/* ---------- BUTTONS ---------- */
.btn-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.edit-btn,
.save-btn,
.cancel-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-btn {
  background-color: #3498db;
  color: #fff;
}

.edit-btn:hover {
  background-color: #2980b9;
}

.save-btn {
  background-color: #2ecc71;
  color: #fff;
}

.save-btn:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.save-btn:hover:enabled {
  background-color: #27ae60;
}

.cancel-btn {
  background-color: #e74c3c;
  color: #fff;
}

.cancel-btn:hover {
  background-color: #c0392b;
}

/* ---------- FILE INPUT ---------- */
input[type="file"] {
  margin-top: 10px;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 600px) {
  .profile-card {
    padding: 15px 20px;
  }

  .profile-info input {
    font-size: 14px;
  }

  .btn-row {
    flex-direction: column;
  }

  .edit-btn,
  .save-btn,
  .cancel-btn {
    width: 100%;
  }
}

/* Footer.css */

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;

  background-color: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 999;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .sticky-footer {
    height: 45px;
  }

  .footer-content p {
    font-size: 13px;
  }
}

/* Reset default text alignment */


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  padding-bottom: 50px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -------------------- Home Page -------------------- */
.home-container {
  text-align: center;
  padding: 20px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  border: 1px solid #ccc;
  padding: 15px;
  width: 200px;
  border-radius: 8px;
  box-shadow: 2px 2px 5px #aaa;
  background-color: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 10px #888;
}

/* -------------------- About, Contact, Sign In -------------------- */
.about-container,
.contact-container,
.signin-container {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 2px 2px 5px #aaa;
}
.landing-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
}


/*# sourceMappingURL=main.cba3792e.css.map*/