    body {
      background-color: #fdf6e3;
      font-family: 'Georgia', serif;
      color: #2c3e50;
      margin: 0;
      padding: 0;
    }
    header {
      background: linear-gradient(90deg, #5a1f1f, #7b2c2c, #a34545);
      color: white;
      padding: 20px;
      text-align: center;
      font-variant: small-caps;
      letter-spacing: 1px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
    }
    .header-left {
      text-align: center;
      flex: 1;
    }
    .header-left h1 {
      margin: 0;
    }
    .header-left p {
      margin: 5px 0 0;
    }
    .header-right {
      margin-left: 20px;
    }

    .paypal-button {
      background-color: #0070ba; /* PayPal blue */
      color: #fff;
      border: 2px solid #fff;
      padding: 12px 24px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      display: inline-block;
      transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    .paypal-button:hover {
      background-color: #005c99;
      transform: translateY(-2px);
      box-shadow: 0 6px 14px rgba(0,0,0,0.3);
    }

    .paypal-button:active {
      transform: translateY(0);
    }

    .donate-text {
      margin-top: 8px;
      font-size: 14px;
      color: #fff;
      text-align: center;
      font-weight: 500;
    }

    .sticky-donate {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #0070ba;
      color: #fff;
      padding: 10px 18px;
      border-radius: 50px;
      font-weight: bold;
      box-shadow: 0 4px 12px rgba(0,0,0,0.25);
      cursor: pointer;
      z-index: 1000;
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .sticky-donate:hover {
      background: #005c99;
      transform: translateY(-2px);
    }

    #main {
      display: flex;
      padding: 20px;
      gap: 20px;
    }
    #sidebar {
      width: 250px;
      background-color: #f5f0e1;
      border: 2px solid #7b2c2c;
      padding: 15px;
      border-radius: 8px;
    }
    #sidebar h3 {
      margin-top: 0;
      font-size: 1.2em;
      border-bottom: 1px solid #7b2c2c;
      padding-bottom: 5px;
    }
    #map {
      height: 400px;
      border: 2px solid #7b2c2c;
      border-radius: 8px;
      margin-bottom: 20px;
    }
    #content {
      flex-grow: 1;
    }
    button {
      padding: 10px 15px;
      background-color: #7b2c2c;
      color: white;
      border: none;
      border-radius: 6px;
      font-family: 'Georgia', serif;
      cursor: pointer;
      margin-top: 10px;
    }
    button:hover {
      background-color: #5a1f1f;
    }
    .checkbox-group {
      margin-bottom: 10px;
    }
    .selected-marker {
      filter: hue-rotate(120deg) brightness(1.2);
    }
    #chartContainer {
      background-color: #fff;
      border: 2px solid #7b2c2c;
      border-radius: 8px;
      padding: 20px;
      margin-top: 20px;
      overflow-x: auto;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th, td {
      border: 1px solid #7b2c2c;
      padding: 8px;
      vertical-align: top;
    }
    th {
      background-color: #7b2c2c;
      color: white;
    }
    td {
      background-color: #fffdf7;
    }
    tr:nth-child(even) td {
      background-color: #f5f0e1;
    }
    .highlight-allowed { background-color: #e0f7e9; }
    .highlight-restricted { background-color: #fff8e1; }
    .highlight-prohibited { background-color: #fdecea; }
    .truncate {
      max-height: 6em;
      overflow: hidden;
      position: relative;
    }
    .truncate::after {
      content: '...';
      position: absolute;
      bottom: 0;
      right: 0;
      background: linear-gradient(to right, transparent, #fffdf7 50%);
      padding-left: 10px;
    }
    .expand-toggle {
      color: #7b2c2c;
      cursor: pointer;
      font-size: 0.9em;
      display: block;
      margin-top: 5px;
    }

    .content {
      max-width: 900px;
      margin: 20px auto;
      padding: 20px;       /* <-- add padding here */
      background: #fffdf7; /* optional: subtle background to distinguish the box */
      border-radius: 8px;  /* optional: soften edges */
    }

    .popup {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .popup.show {
      opacity: 1;
      pointer-events: auto;
    }

    .popup-content {
      background: #fff;
      padding: 2rem;
      border-radius: 10px;
      margin: auto;
      position: relative;
      max-width: 90vh;
      width: 90%;
      overflow-y: auto;
      box-shadow: 0 8px 20px rgba(0,0,0,0.25);
      font-family: "Segoe UI", Arial, sans-serif;
      transform: translateY(-20px);
      opacity: 0;
      transition: all 0.5s ease;
    }

    .popup-content h2 {
      margin-top: 0;
      color: #2c3e50;
      font-size: 1.6rem;
    }

    .popup-content ul {
      margin: 1rem 0;
      padding-left: 1.2rem;
    }

    .popup-content li {
      margin-bottom: 0.5rem;
    }

    .popup-content .important {
      background: #f9f9f9;
      border-left: 4px solid #2c3e50;
      padding: 0.5rem 1rem;
      margin-top: 1rem;
      font-size: 0.95rem;
    }

    .popup-content .note {
      background: #fff3cd;
      border-left: 4px solid #ffc107;
      padding: 0.5rem 1rem;
      margin-top: 1rem;
      font-size: 0.95rem;
    }

    .popup.show .popup-content {
      transform: translateY(0);
      opacity: 1;
    }

    .close {
      float: right;
      font-size: 1.5rem;
      cursor: pointer;
      color: #888;
    }

    .close:hover {
      color: #000;
    }

    .dont-show-btn {
      display: inline-block;
      margin-top: 1rem;
      background: #2c3e58;
      color: #fff;
      border: none;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      font-size: 0.95rem;
      font-family: "Segoe UI", Arial, sans-serif;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
    }

    .dont-show-btn:hover {
      background: #1a252f;
      transform: translateY(-2px);
    }

    .dont-show-btn:active {
      transform: translateY(0);
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    /* Mobile adjustments */
    @media (max-width: 600px) {
      .popup-content {
        width: 95%;           
        padding: 1.2rem;      
        font-size: 0.95rem;
      }

      .popup-content h2 {
        font-size: 1.3rem;
      }

      .close {
        font-size: 1.3rem;
      }
      .sticky-donate {
        display: none;
      }
    }

    #revisionLog ul li {
      margin-bottom: 6px;
    }

    #feedbackForm input, #feedbackForm textarea {
      font-family: 'Georgia', serif;
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 6px;
    }

    /* list & modal minor styles */
    #ordinancesList ul { margin: 0; padding: 0; }
    #ordinancesList li h4 { font-size: 1.05em; }
    #detailModal button#closeDetail {
      background: #7b2c2c; color: #fff; border: none; padding: 6px 10px; border-radius: 6px; cursor: pointer;
    }