/* Override default tags */

:root {
	--default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
		"Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
		"Source Han Sans CN", sans-serif;
	--Indivisible-Light-Blue: #E2ECF3;
	--Indivisible-Navy: #2D4C6B;
	--Indivisible-Red: #CA4948;
	--Indivisible-Dark-Red: #9e2e2e;
	--Indivisible-Black: #172636;
	--Indivisible-Navy-Hover: #3d638b;
	--Indivisible-Blue: #6C9FC2;
	--White: #ffffff;
  --muted:#666;
  --border:#e6e6e6;
}


html,
body {
  padding: 0px;
  margin: 0px;
  min-height: 100%;
  height: 100%;
  font-family: 'Montserrat', sans-serif;

}

/* HTMX Indicators */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline;
}

.htmx-request.htmx-indicator {
  display: inline;
}

/* Page container */

.page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-feature-settings: 'clig' off, 'liga' off;
  color: var(--Indivisible-Black);

}

/* Logo / Graphic styles */

.n2n-logo {
  width: 167.04px;
  height: 44px;
}

.ind-logo {
  width: 202.698px;
  height: 19.628px;
}

.icon {
  width: 18px;
  height: 18px;
  transition: filter 0.3s;
}

.neighbor-icon {
  width: 16px;
  height: 16px;
}

.checkmark-icon {
  margin-right: 5px;
  vertical-align: middle;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  gap: 4px;
  background-color: var(--Indivisible-Red);
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  margin: 10px 0;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 800;
  font-feature-settings: 'clig' off, 'liga' off;
}

.button:hover {
  background-color: var(--Indivisible-Dark-Red);
}

/* Text styles */
h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

h2 {
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;

}

a.email-style {
  color: var(--Indivisible-Navy);
  text-decoration: underline;
  font-weight: 700;
}

@media only screen and (min-width: 768px) {
    h1 {
        font-size: 48px;
        margin-bottom: 10px;
    }

    p {
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 1.50;
    }

    h3 {
        font-size: 22px;
        font-style: normal;
        font-weight: 800;
        margin: 0;
        line-height: 150%;
    }
    strong {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.60;
    }

    a.address-style {
        color: var(--Indivisible-Navy, #2D4C6B);
        font-size: 18px;
    }
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

	p {
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 1.50;

        /* Fix link word-wrap on mobile webkit (Chrome) */
        @media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
            max-width: 100%;
            word-break: break-word;
        }
    }

  h3 {
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    margin: 0;
    line-height: 150%;
  }

  strong {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.60;
  }

  a.address-style {
    color: var(--Indivisible-Navy, #2D4C6B);
    font-size: 16px;
  }

  a.email-style {
    font-size: 16px;
  }
}

/* Header style */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  background: var(--Indivisible-Light-Blue, #E2ECF3);
  padding: 20px 40px;
  position: relative;
  /*necessary to get the popup menu to work */
}

/* Navigation styles */
.nav-item-container {
  display: flex;
  align-items: center;
  gap: 10px;
    text-decoration: none;
}

.nav-item-container:hover .navigation-bold-text,
.nav-item-container:focus .navigation-bold-text {
  text-decoration: underline;
}

.navigation-bold-text {
  color: var(--Indivisible-Navy);
  font-weight: bold;
}


/* Navigation styles for screens narrower than 1156px */
@media only screen and (max-width: 1155px) {
  .hamburger-menu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        position: relative;
    }

  .hamburger-icon__frame, .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .hamburger-icon__frame {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 4px;
  }

  .icon-container {
    position: relative;
        display: flex; 
    padding: 5px;
  }
  
  .hamburger__icon {
    width: 14px;
    height: 2px;
    background: var(--Indivisible-Red);
  }
  
  .close-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
  }
  
  .close-icon.is-shown {
    opacity: 1;
    visibility: visible;
  }
  
  .close-icon.is-hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .close-icon .close__bar {
    height: 2px;
    width: 14px;
    background-color: var(--Indivisible-Red);
    position: absolute;
  }
  
  .close-icon .close__bar:first-child {
    transform: rotate(45deg);
  }
  
  .close-icon .close__bar:last-child {
    transform: rotate(-45deg);
  }

    #nav-menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0; 
        background: var(--White);
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        width: 100%;
        box-sizing: border-box;
        z-index: 1000;
    }

    #nav-menu.is-active {
        display: flex !important;
    }

    .nav-item-container {
        display: flex;
        align-items: center;
        margin-top: 5px;
        padding: 10px;
        transition: background-color 0.3s;
    }

    .nav-item-container:hover {
        background-color: var(--Indivisible-Light-Blue);
    }

    .hamburger-menu:hover + .nav, .hamburger-menu:click + .nav {
        display: flex;
    }

    .nav.is-active + .hamburger-menu .hamburger-icon__frame {
        opacity: 0;
        visibility: hidden;
    }
    
    .nav.is-active + .hamburger-menu .close-icon {
        opacity: 1;
        visibility: visible;
    }

    .below-nav-gradient {
        height: 20px;
        /* background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); */
        background-color: rgba(255, 0, 0, 0.5);
    }

  .is-hidden {
    display: none !important;
  }
}


/* Navigation styles for screens wider than 1156px */
@media only screen and (min-width: 1156px) {
  .hamburger-menu {
    display: none;
  }

  .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 30px;
  }
}


/* Body content styles */
.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 80%;
  max-width: 786px;
  margin: 0 auto;
  flex-grow: 1;
}

.thermometer-content {
  margin: 0 auto;
  margin-top: 16px;
}

.thermometer {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,.25);
}

.mercury {
    background-color: #CA4948;
    height: 100%;
    position: absolute;
    bottom: 0;
    border-radius: 20px;
    transition: height 0.3s ease-in-out;
  max-width: 100%;
}


@media only screen and (max-width: 768px) {
  .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 90%;
    margin: 0 auto;
    padding: 10px 0px;
    flex-grow: 1;
  }
}

@media only screen and (min-width: 768px) {
  .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 80%;
    max-width: 786px;
    margin: 0 auto;
    padding: 15px 0px;
    flex-grow: 1;
  }
}

.content-wide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 90%;
  max-width: 1200;
  margin: auto;
  padding: 0 20px;
}

/* Neighbor Header */

.lists-nav {
    display: flex;
    max-width: 1600px;
    min-width: 60%;
    margin: auto;
    margin-top: 32px;
    justify-content: space-between;
}

.lists-nav__lists-bar {
    display: flex;
}

.lists-nav__left, .lists-nav__right {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lists-nav__link {
    text-decoration: none;
    color: var(--Indivisible-Blue);
    width: 24px;
    height: 24px;
    border: 3px solid var(--Indivisible-Blue);
    border-radius: 6px;

    display: flex;
    justify-content: center; /* Align horizontal */
    align-items: center; /* Align vertical */
}

.lists-nav__link:hover{
    color: var(--Indivisible-Navy-Hover);
    border: 3px solid var(--Indivisible-Navy-Hover);
    background-color: var(--Indivisible-Light-Blue);
}

.lists-nav__link--current {
    border: 3px solid var(--Indivisible-Dark-Red);
    background-color: var(--Indivisible-Red);
    color: var(--White);
    font-weight: bolder;
}

.lists-nav__link--current:hover {
    border: 3px solid var(--Indivisible-Dark-Red);
    background-color: var(--Indivisible-Red);
    color: var(--White);
    cursor: default;
}

.lists-nav__lists-bar {
    display: flex;
    gap: 20px;
}

.lists-nav__arrow {
    font-size: 36px;
}

.lists-nav__arrow--active {
    text-decoration: none;
    color: var(--Indivisible-Blue);
}

.lists-nav__arrow--active:hover {
    color: var(--Indivisible-Navy-Hover);
}

.lists-nav__arrow--inactive {
    font-weight: lighter;
    cursor: not-allowed;
}

/* Neighbor Form */

.neighbors-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    margin: 0 auto; 
  }

@media only screen and (min-width: 768px) {
  .neighbors-container {
        grid-gap: 20px; 
        max-width: 1200px; 
        min-width: 50%; /* If the container is smaller, the radio buttons will pop */
  }
}
@media only screen and (max-width: 768px) {
    .neighbors-container {
        grid-template-columns: 1fr;
    grid-gap: 10px;
    max-width: 700px;
    }
}

.neighbor-card {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 20px;
  height: fit-content;
}

.neighbor-card.visited {
  background-color: #F0F6FA;
}

input[type="checkbox"] {
  margin-right: 5px;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 15px;
  height: 15px;
  outline: none;
  cursor: pointer;
}

input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 2px solid #6C9FC2;
  border-radius: 50%;
}

input[type="checkbox"]:checked::before {
  background-color: var(--Indivisible-Blue);
  border: 2px solid #6C9FC2;
}

input[type="checkbox"].not-home-checkbox:checked::before {
    background-color: var(--Indivisible-Red);
    border: 2px solid var(--Indivisible-Red);
}

input[type="checkbox"].opposition-checkbox:checked::before {
    background-color: var(--Indivisible-Red);
    border: 2px solid var(--Indivisible-Red);
}

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

.checkbox-container {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 5px;
}

label {
  display: flex;
  align-items: center;
  margin-right: 10px;
  cursor: pointer;
  font-size: 12px;
}

.bold-label {
  font-weight: bold;
}

.fancy_list {
  list-style-type: none;
  padding-right: 10px;
}

.fancy_list li::before {
  content: "•";
  color: var(--Indivisible-Red);
  display: inline-block;          
  width: 1em;
  margin-left: -1em;
}

.fancy_list li {
    height: auto;
}

@media only screen and (max-width: 768px) {
  .fancy_list li {
    font-size: 16px;
        padding: 0 10px;
    font-weight: 400;
    line-height: 1.50;
  }
}

@media only screen and (min-width: 768px) {
  .fancy_list li {
    line-height: 1.60;
        padding: 5px 20px;
  }
}

/* Achievement styles */
.achievement-icon {
  width: 120px;
  height: 120px;
  transition: filter 0.3s;
}

.achievements-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 786px;
  padding-top: 12px;
  padding-bottom: 32px;
}

.challenge-wrapper {
  display: flex;
  align-items: center;
  background-color: #f5f9fc;
  border-radius: 4px;
  padding: 12px 16px;
  position: relative;
}

.challenge-wrapper .achievement-icon {
  width: 80px;
  margin-right: 16px;
}

.completed-wrapper {
  display: flex;
  flex-direction: column;
}

.completed-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: #00854d;
}

.progress-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: #CA4948;
}

.not-started-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: #172636;
}
.completed-icon {
  width: 16px;
  height: 10px;
  margin-right: 4px;
}

.title {
  margin: 0;
  font-size: 24px;
}

.description-text {
  margin: 4px 0 0 0;
  font-size: 16px;
}

.rewards-wrapper {
  margin-top: 8px;
}

.group-title {
  font-size: 32px;
  font-weight: bold;
  margin-top: 24px;
  text-transform: capitalize;
}

@media only screen and (max-width: 768px) {
  .group-title, .title {
    font-size: 18px;
  }
  .description-text {
    font-size: 14px;
  }
}

/* Popup CSS */
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 0.5s;
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
}

.overlay-visible {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 15% auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 80%;
  max-width: 400px;
  position: relative;
  transition: all 0.5s ease-in-out;
}

.popup-content {
  align-items: center;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  color: #172636;
  padding: 0 40px 40px;
}

.popup-achievement-icon {
  width: 120px;
  max-width: 100%;
  object-fit: contain;
  margin-top: -70px;
}

.popup-congrats {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 16px;
  font: 12px Montserrat, sans-serif;
}

.popup-title {
  color: #2d4c6b;
  text-align: center;
  margin-top: 4px;
  font: 32px/150% Montserrat, sans-serif;
}

.popup-description {
  text-align: center;
  margin-top: 4px;
  font: 16px/24px Montserrat, sans-serif;
}

.popup-actions {
  background-color: #ca4948;
  display: flex;
  margin-top: 20px;
  gap: 4px;
  font-size: 18px;
  color: #fff;
  padding: 8px 20px;
  text-decoration: none;
}

.popup-action-icon {
  width: 18px;
  margin: auto 0;
}

.popup-action-text {
  font-family: Montserrat, sans-serif;
}

.popup-close {
  color: #2d4c6b;
  letter-spacing: 2px;
  text-decoration: underline;
  text-transform: uppercase;
  margin-top: 20px;
  font: 12px Montserrat, sans-serif;
}

/* Footer styles */


@media only screen and (max-width: 768px) {

  .text-content {
    width: 85%;
    padding: 10px 20px;
  }

  .footer__columns {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .vertical-break {
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    width: 1px;
    background: url(./assets/images/break.png) no-repeat center;
    background-size: cover;
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer-sub-div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  
}

@media only screen and (min-width: 768px) {

  .text-content {
    width: 80%;
    max-width: 786px;
    padding: 20px;
  }

  .footer__columns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .vertical-break {
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    width: 1px;
    background: url(./assets/images/break.png) no-repeat center;
    background-size: cover;
    margin-left: 40px;
    margin-right: 40px;
  }

  .footer-sub-div {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 20px;
  padding: 40px 120px 40px 120px;
  background: var(--Indivisible-Light-Blue, #E2ECF3);
}

.footer-text-light {
  color: #2d4c6b;
  font-size: 18px;
  white-space: nowrap;
  text-decoration: none;
}

.footer-nav-item-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding-top: 1.5px;
  padding-bottom: 1.5px;
}



.footer-text {
  flex-shrink: 0;
  flex-basis: auto;
  position: relative;
  color: #2d4c6b;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
  text-decoration: none;
}


.footer__columns__primary_links_column {
  display: flex;
  flex-direction: column;

  padding: 5px 20px;
  gap: 10px;
}

.footer__columns__secondary_links_column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-item-container:hover .footer-text,
.footer-nav-item-container:focus .footer-text {
  text-decoration: underline;
}

.footer__columns__secondary_links_column a:hover,
.footer__columns__secondary_links_column a:focus {
  text-decoration: underline;
}
.horizontal-break {
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  height: 1px;
  background: url(./assets/images/horizontal-break.png) no-repeat center;
  background-size: cover;
}

/* Auth-specific styles */
.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 32px;
    border: 1px solid #e9ecef;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    color: #555;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    margin: 0 auto;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: white;
    font-weight: 400;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--Indivisible-Red);
    box-shadow: 0 0 0 2px rgba(202, 73, 72, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
    font-weight: 400;
}

.auth-link {
    color: var(--Indivisible-Red);
    text-decoration: none;
    font-weight: 500;
}

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

/* Auth page layout */
.auth-page {
    font-family: 'Montserrat', sans-serif;
    background: var(--Indivisible-Light-Blue);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--Indivisible-Black);
}

.auth-page .page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.auth-body {
  font-family: 'Montserrat', sans-serif;
  background: var(--Indivisible-Light-Blue);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--Indivisible-Black);
}

.auth-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* Admin styles */
.admin-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.admin-container h1 {
  color: var(--Indivisible-Black);
  margin-bottom: 20px;
  font-weight: 400;
}

.admin-container p {
  color: var(--Indivisible-Black);
  margin-bottom: 20px;
  font-weight: 400;
}

/* Admin table styles */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  background: var(--Indivisible-Light-Blue);
  font-weight: 400;
  color: var(--Indivisible-Black);
}

.admin-table-striped tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

.admin-table-responsive {
  overflow-x: auto;
}

.admin-btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  margin: 2px;
  font-family: 'Montserrat', sans-serif;
}

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

.admin-btn-success:hover {
  background: #218838;
}

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

.admin-btn-danger:hover {
  background: #c82333;
}

.admin-btn-secondary {
  background: var(--Indivisible-Blue);
  color: white;
}

.admin-btn-secondary:hover {
  background: var(--Indivisible-Navy-Hover);
}

.admin-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.admin-alert {
  padding: 12px 16px;
  margin-bottom: 16px;
}

.admin-alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.admin-mt-3 {
  margin-top: 1rem;
}

.flash-messages {
  margin-bottom: 20px;
}

.flash-message {
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 400;
}

.flash-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-message.warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.flash-message.info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.hint {
  color:var(--muted);
  font-size:.875rem;
  margin-top:.25rem;
}

.campaign-form {
  background:#fff;
  border:1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.container {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section {
  border:1px solid var(--border);
  border-radius:12px;
  padding:2rem;
  margin-bottom:1rem;
}

.grid {
  display:grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.campaign-form [type="text"],
.campaign-form input[type="email"],
.campaign-form input[type="number"],
.campaign-form input[type="date"],
.campaign-form input[type="url"],
.campaign-form textarea,
.campaign-form select {
  width:100%;
  padding:.7rem .8rem;
  border:1px solid var(--border);
  border-radius:10px;
  font:inherit;
}

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

.campaign-form label {
  display:block;
  font-weight:600;
  margin-bottom:.35rem;
}

.campaign-form .actions {
  display:flex;
  gap:.75rem;
  justify-content:flex-end;
  margin-top: .5rem;
  align-items: center;
}

.campaign-form .left-actions {
  margin-right:auto;
}
.campaign-form .req {
  color:#b00020;
  margin-left:.25rem;
  font-weight:700;
}
.campaign-form .chips {
  display:flex;
  flex-wrap: wrap;
  gap:.4rem;
  margin-top:.5rem;
}

.campaign-form .chip {
  border:1px solid var(--border);
  border-radius:999px;
  padding:.15rem .6rem;
  font-size:.85rem;
  background:#fafafa;
}

.campaign-form .radio-row {
  display:flex;
  gap:1rem;
  align-items:center;
  flex-wrap:wrap;
}
.hint {
  color:var(--muted);
  font-size:.875rem;
  margin-top:.25rem;
}

.hint a {
  color:var(--muted);
  font-size:.875rem;
}

.hint--collapsible {
  --hint-lines: 2;
  --hint-bg: #fff;
  position: relative;
  margin: 0.5rem;
}

.hint--collapsible .hint__content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--hint-lines);
  overflow: hidden;
}

.hint--collapsible.is-open .hint__content {
  display: block;
  -webkit-line-clamp: initial;
  overflow: visible;
}

.hint__toggle {
  margin-top: 0.25rem;
  background: none;
  border: 0;
  color: var(--Indivisible-Blue);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* Status Options Grid Layout */
.status-options {
  margin-top: 10px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.status-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--White);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.status-option:hover {
  background: var(--Indivisible-Light-Blue);
  border-color: var(--Indivisible-Blue);
}

.status-option input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
}

.status-option.bold-label {
  background: var(--Indivisible-Light-Blue);
  border-color: var(--Indivisible-Blue);
  font-weight: 600;
}


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

.form-group label {
  font-weight: 600;
  color: var(--Indivisible-Navy);
  margin-bottom: 4px;
  font-size: 13px;
}

.form-control {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--Indivisible-Blue);
  box-shadow: 0 0 0 2px rgba(108, 159, 194, 0.2);
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--Indivisible-Blue);
  color: var(--White);
}

.btn-primary:hover {
  background: var(--Indivisible-Navy-Hover);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Return List Styles */
.return-list-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  width: 100%;
}

.return-list-wrapper {
  max-width: 600px;
  width: 100%;
}

.return-success {
  padding: 20px;
  background-color: var(--Indivisible-Light-Blue);
  border-radius: 8px;
  border-left: 4px solid var(--Indivisible-Red);
  text-align: center;
}

.return-success h3 {
  margin-top: 0;
  color: var(--Indivisible-Red);
  font-family: 'Montserrat', sans-serif;
}

.return-success p {
  margin-bottom: 0;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
}

.return-list-section {
  padding: 20px;
  background-color: var(--Indivisible-Light-Blue);
  border-radius: 8px;
  border-left: 4px solid var(--Indivisible-Red);
  text-align: center;
}

.return-list-section h3 {
  margin-top: 0;
  color: var(--Indivisible-Red);
  font-family: 'Montserrat', sans-serif;
}

.return-list-section p {
  margin-bottom: 15px;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
}

.return-button {
  background-color: var(--Indivisible-Red);
  color: var(--White);
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.return-button:hover {
  background-color: var(--Indivisible-Dark-Red);
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .status-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .status-option {
    padding: 6px 8px;
    font-size: 13px;
  }
  
}

