html, body {
    overscroll-behavior: none; /* Prevents bounce in modern browsers */
    height: 100%;
    padding-bottom: 70px; /* Always reserve space for footer navigation */
}

/* Smooth page transitions */
main {
    transition: opacity 0.2s ease-in-out;
}

main.loading {
    opacity: 0.7;
}
:root {
    --primary: #3f60a0;
    --background: #F5F5F5;
    --today: royalblue;
    --tomorrow: sienna;
    --stripe-color: #635bff;
    font-family: 'Lexend', sans-serif;  /* Set base font at root */
}
.three-dots-loader {
  width: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin:0 auto;
  margin-top:50%;
  position: absolute;
  left: 50%;
  animation: l5 1s infinite linear alternate;
}
map-loader-container {
  display: block;
  height: 100vh;
  width: 100%;
  background-color: var(--background);
  opacity: 1;
  transition: opacity 0.5s ease;
}
@keyframes l5 {
    0%  {box-shadow: 40px 0 #000, -40px 0 #0002;background: #000 }
    33% {box-shadow: 40px 0 #000, -40px 0 #0002;background: #0002}
    66% {box-shadow: 40px 0 #0002,-40px 0 #000; background: #0002}
    100%{box-shadow: 40px 0 #0002,-40px 0 #000; background: #000 }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    font-family: 'Lexend', sans-serif; 
    max-width: 100%;
}
a{
    all:unset;
    cursor: pointer;
}
input {
  all: unset;
}
input[type="checkbox"] {
  all: revert;
}
button{
    all:unset;
    cursor: pointer;
}
dialog {
    margin: auto;
    margin-top:1rem;
    z-index: 1;
    width: calc(100% - 26px);
    border:3px dashed;
    height:95vh;
}
dialog#add-comment-popover a{
  pointer-events: none;
}
dialog#add-comment-popover comment-date{
  display:none;
}
dialog#add-comment-popover{
  padding:13px;
  width:100%;
}
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    z-index: 0; /* Ensure this is lower than notification-message */
}
notification-message {
    position: fixed;
    padding: 13px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1003;
    background-color: #fff;
}

notification-message.success {
    background-color: #4CAF50;
    color: #fff;
}
notification-message.warning {
    background-color: #ff9300;
    color: #fff;
}
notification-message.error {
    background-color: #f44336;
    color: #fff;
}

/* Currency display styles */

app-currency::before {
  position: relative;
  margin-right: 1px;
}
price-with-tax {
  display: none;
  position: absolute;
  bottom: -1.2em;
  left: 0;
}

input:focus + price-with-tax {
  display: block;
}
.turn-icon-white{
  filter: brightness(0) invert(1);
}
price-formatted{
  font-size: 0.7em;
  color: rgb(102, 102, 102);
  margin-left: 0.25rem;
  display:block;
}
price-formatted:not(:empty):before {
  content: "(";
}
price-formatted:not(:empty):after {
  content: ")";
}
app-currency[data-currency="USD"]::before {
  content: "$";
}
app-currency[data-currency="EUR"]::before {
  content: "€";
}
#schedule event-date {
    display:none;
}
.tax-button{
  border-radius: 0 !important;
  background-color: teal !important;
}
.install-button{
    display: block;
    margin: 0 auto;
    border: 2px solid black;
    padding: 12px;
    background-color: white;
    color: black;
    font-weight: bold;
  }
  flex-box{
    display: flex;
    align-items: end;
    gap: 1rem;
  }
  .install-instructions p{
    text-align: center;
    margin: 0.5em 0;
    color:white;
  }
  .install-instructions{
    padding:1rem;
  }
  .install-instructions h3{
    margin-bottom:1em;
    text-align: center;
    color:white;
  }
  #loginPage {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .login-container {
    width: 400px;
    max-width: 100%;
  }

  .powered-by-footer {
    background-color: #f2d3af;
    padding: 10px;
    text-align: center;
  }

  .powered-by-footer img {
    height: 40px;
    width: auto;
  }

  .app-branding {
      text-align: center;
      margin-bottom: 40px;
  }

  .login-logo {
      width: 160px;
      height: 160px;
      background: white;
      border-radius: 12px;
      object-fit: contain;
  }
  .app-branding h1 {
      color: white;
      font-size: 32px;
      font-weight: 900;
      line-height: 1.2;
      margin-bottom: 10px;
  }

  .app-branding h2 {
      color: white;
      font-size: 18px;
      font-weight: normal;
  }

  .auth-form {
      width: 100%;
  }

  .auth-form .form-group {
      margin-bottom: 25px;
  }

  .auth-form label {
      display: block;
      color: white;
      margin-bottom: 8px;
      font-size: 12px;
  }

  .auth-form input, .auth-form select {
      width: 100%;
      padding: 15px;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      font-size: 0.9rem;
      color: #333;
  }
  .auth-form select {
    font-weight:bold;
    text-align: right;
    text-transform: uppercase;
    border-radius: var(--radius-drawn-6);
    color: white;
    border: 3px solid white;
  }

  /* Add irregular borders to auth inputs */
  .auth-form .form-group:nth-of-type(6n+1) input {
      border-radius: var(--radius-drawn-1);
  }

  .auth-form .form-group:nth-of-type(6n+2) input {
      border-radius: var(--radius-drawn-2);
  }

  .auth-form .form-group:nth-of-type(6n+3) input {
      border-radius: var(--radius-drawn-3);
  }

  .auth-form .form-group:nth-of-type(6n+4) input {
      border-radius: var(--radius-drawn-4);
  }

  .auth-form .form-group:nth-of-type(6n+5) input {
      border-radius: var(--radius-drawn-5);
  }

  .auth-form .form-group:nth-of-type(6n+6) input {
      border-radius: var(--radius-drawn-6);
  }

  .auth-form input:focus {
      background: white;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .login-button {
      width: 100%;
      padding: 15px;
      text-align: center;
      font-size: 0.9rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-top: 20px;
      border-radius: var(--radius-drawn-6); /* Using the third drawn radius for consistency */
      text-transform: uppercase;
      background: black;
      border: 3px solid white;
      color: white;
  }

  .login-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .form-message {
      color: white;
      text-align: center;
      letter-spacing: -0.05em;
    }
  #claimList{
    margin-top:1em;
  }
  #backToClaimButton, #existingAccountButton{
    margin-top:1em;
    color:white;
    text-decoration:underline;
  }
  #existingAccountButton{
    margin-left:auto;
    margin-bottom:1em;
  }
  .flex{
    display:flex;
    align-items:center;
    gap:0.5em;
  }
  .form-message.error {
    font-weight:bold;
    text-shadow: 2px 2px 0 white;
    paint-order: stroke fill;
    -webkit-text-stroke: 7px red;
  }
pre{
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
    font-size:0.9rem;
}
pre[placeholder]:empty::after{
    content: attr(placeholder);
    opacity: 0.7;
}
.icon-tabler img{
    width:30px;
    height:30px;
}
.content_editable{
    padding: 5px; 
    max-width: 100%;
    text-align: left;
    overflow: scroll;
    position: relative;
}

body {
    background-color: var(--background);
    margin-bottom:2em;
}
hr{
    border: none;
    height: 2px;
    background-color: var(--primary);
    /* margin: 10px 0;  */
}

profile-page input, profile-page textarea {
    text-align:left;
    width: 85%;
    padding: 4px 12px;
    border-bottom: 2px solid var(--primary);
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-radius: var(--radius-drawn-1);
}

/* Looks cool but adds janky on mobile */
input:focus, textarea:focus {
    box-shadow: 0 4px 12px rgba(63,96,160,0.2),
                0 8px 20px rgba(63,96,160,0.15);
    border-bottom: 2px solid var(--primary);
    margin-bottom:-2px;
    transform: translateY(-1px);
}

input:placeholder-shown, textarea:placeholder-shown {
    border-bottom: 2px solid #ccc;
}

textarea[readonly] {
    box-shadow: none; /* Reset box-shadow for readonly textareas */
    border-bottom: none; /* Reset border for readonly textareas */
    background-color: inherit; /* Reset background for readonly textareas */
    transform: none;
    pointer-events: auto;
    /* cursor: default; */
}
textarea[readonly]:focus {
    outline: none; /* Ensure no focus outline appears */
}
input[type="file"] {
    display: none; /* Hide the default file input */
}
.upload-label {
    cursor: pointer; /* Change cursor to pointer to indicate it's clickable */
    display: inline-block; /* Ensure the label is inline-block for proper styling */
}
@keyframes moveLeftRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-10px);
  }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(0); }
    75% { transform: translateX(5px); }
}
@keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(720deg);
    }
  }
.shake-animation {
    animation: shake 0.5s ease-in-out both;
}

main {
  padding: 13px;
  padding-bottom: 110px;
  position: relative;
  min-height: 100vh;
  margin: 0 auto;
}
main, dialog{
  max-width: 768px;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 30px;
    flex-direction: column;
    padding-left:90px;
    padding-right:3px;
}
wallet-container{
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-20deg);
  cursor:pointer;
}
wallet-container:after{
  content: 'wallet';
  font-size: 0.8rem;
  line-height: 0.1rem;
}
wallet-container img {
  width:45px;
}
water-drop{
    position: absolute;
    mask: url('/assets/images/drop.svg') center/cover;
    -webkit-mask: url('/assets/images/drop.svg') center/cover;
    background-size: cover;
    background-position: center;
    width: 135px;
    height: 176px;
    z-index: 1;
    left: -3em;
    top: -3em;
}
location-title{
  display:inherit;
}
location-title-container{
    cursor:pointer;
    width: fit-content;
    max-width:50%;
}
location-title-container.push-button{
  padding: 2px 4px;
  border: 2px solid black;
  align-items:center;
  background-color: var(--primary);
}
venue-name {
  font-size:10px;
  font-weight:300;
}
.event-container.edit-mode venue-name{
    display:none;
}

.header-logo {
    position: absolute;
    top: 3.7em;
    left: 3.7em;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 25%;
    z-index: 1;
    object-fit: contain;
    font-size:1rem;
    animation: pulse 2s ease-in-out infinite;
}

header h1 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: normal;
    text-align:right;
}

tagline-input, header h2 {
    font-style: italic;
    text-align:right;
    margin-top: 0.2rem;
    font-weight: 400;
    font-size: 10px;
}
countdown-heading{
    font-style: italic;
    text-align: right;
    margin-top: 0.2rem;
    font-weight: 400;
    font-size: 10px;
    display: block;
}
push-button.disabled, 
.push-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
subscriber-count{
  font-weight: 300;
  font-size: 0.9rem;
  color: skyblue;
  background: black;
  padding-right: 7px;
  padding-left: 7px;
  text-align: right;
  padding-top: 2px;
  border-radius: var(--radius-drawn-1);
  width: fit-content;
  padding-bottom: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
  margin-left: auto;
}
#sendButton, #subscribeButton, #unsubscribeButton{
  display: block;
  margin:0 auto;
  background: rebeccapurple;
  padding: 10px;
  color: white;
  width:80px;
  text-align:center;
  cursor: pointer;
}
profile-document-text{
  word-wrap: anywhere;
}
profile-directory .profile-image{
    width: 50px;
    height: 50px;
}
#hub-nav-link {
  position: relative; /* Context for positioning the pseudo-element */
}
@keyframes badgePop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
#hub-nav-link[data-badge-visible="true"]::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background-color: orangered;
  border-radius: 50%;
  border: 2px solid black;
  animation: badgePop 0.4s ease-out;
}
event-context{
  font-style: italic;
  padding: 4px 5px;
  font-size: 10px;
  background: black;
  color: white;
  padding: 2px 5px;
  border-radius: var(--radius-drawn-1);
  cursor: pointer;
  margin-bottom: 0.25rem;
  margin-left: auto;
  display: block;
  width: fit-content;
}
.no-comments-message {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
  background-color: rgba(0,0,0,0.05);
  border-radius: var(--radius-drawn-1);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
    max-width: 100%;
    margin-bottom: 30px;
}
.social-links a{
    display: flex;
    justify-content: center;
    align-items: center;
    color:black;
}
.social-links.edit > div{ 
    display: flex;
}
.social-links svg,
.download-link img{
    width:25px;
    height:25px;
}
section {
    background: white;
    padding: 13px;
    margin-bottom: 20px;
    /* box-shadow: 0 7px 11px rgba(0,0,0,0.1); */
    box-shadow: 3px 3px 0px #000;
    text-align: center;
    border:2px solid black;
}
.filter-sections-container .venue-section span,
.filter-sections-container .characteristics-section span {
    padding: 3px 6px;
    background: #eee;
}

.filter-sections-container .venue-section .filter-option[data-checked="true"] span,
.filter-sections-container .characteristics-section .filter-option[data-checked="true"] span {
    background: black;
    color: white;
}

section.download-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.edit-mode section.download-link > div{
    border: 2px dashed #ccc;
}
/* Style for download link when not in edit mode */
.download-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.download-link.edit{
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}


section h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

section p {
    color: #333;
    font-size:0.9rem;
}

footer nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    padding-bottom: 22px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999; /* Highest z-index to always stay on top */
    opacity: 1;
    visibility: visible;
    transition: none; /* No transitions during page load */
    will-change: auto; /* Optimize for always being visible */
}

footer nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    padding-bottom: 8px;
    color:black;
}
footer nav a:hover {
    animation: pulse 0.6s;
}


footer nav img {
    width: 30px;
    height: 30px;
}

footer nav .active svg {
    border-bottom: 2px dashed black;
    margin-bottom: 5px;
}

/* Progress bar styles */
.upload-progress {
    width: 100%;
    height: 10px;
    background-color: #eee;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
}

.upload-progress-bar {
    height: 100%;
    background-color: green;
    width: 0;
    transition: width 0.3s ease;
}

/* Search Container Styles */
.svg-container {
    cursor:pointer;
}
.filter-icon img{
    width:30px;
    height:30px;
}
.input-container{
    width: 100%;
    position: relative;
}
.input-container:after{
    content: '';
    mask: url('/assets/icons/search.svg') center/cover;
    -webkit-mask: url('/assets/icons/search.svg') center/cover;
    background-color: black;
    width: 24px;
    height: 24px;
    top: 8px;
    right: 15px;
    opacity: 0.5;
    position:absolute;
}
search-footer {
    display: flex;
    position: fixed;
    bottom: 68px;
    width: 100%;
    left: 0;
    padding: 8px;
    background: white;
    z-index: 11;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    gap: 10px;
}

.filter-sections-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
filter-header{
    display:flex;
    height:46.05px;
    align-items:center;
}
.filter-section hr{
    margin-top:7px;
}
.search-section input{
    border:3px solid black !important;
    border-radius: var(--radius-drawn-1);
}
.filter-icon {
    display: flex;
    align-items: flex-end;
    margin-bottom: 4px;
    max-height: 30px;
    margin-top: auto;
}
.filter-icon img{
    animation: spin 0.5s ease-in-out;
}
.filter-icon-rotate {
    animation-fill-mode: forwards;
}

@media screen and (max-width: 1024px) {
  search-footer:has(input:focus) {
    top: 0;
    bottom: unset;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  }
}
@media screen and (min-width: 1025px) {
  .pac-container {
    z-index: 9999 !important;
    position: absolute !important;
    top: unset !important;
    bottom: 120px !important;
  }
}
search-container{
    display:flex;
}
search-container input {
    width: 100%;
    padding: 10px;
    border: 2px solid black !important;
    text-align: left;
}
.profile-directory-edit-button{
  position: absolute;
  top: -36px;
  left: -15px;
  padding: 2px;
  z-index:2;
  border-right: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-top: 20px solid transparent;
}
.profile-directory-edit-button img{
  width: 24px;
  background: var(--background);
  border-radius: 100% 0% 100% 0% / 100% 0% 100% 0%;
}
.filter-button {
    padding: 10px 15px;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.filter-button:hover {
    background-color: darken(var(--primary), 10%);
}

/* Attendee List Styles */
.profile-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom:3em;
}

.profile-card, comment-info {
    display: flex;
    align-items: center;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}
.profile-card > img, comment-info > img {
    flex-shrink: 0;
}
.profile-card > span {
    flex-shrink: 0;
}

.profile-card:hover {
    background-color: #f9f9f9; /* Light hover effect */
}
comment-info .profile-image{
    height:40px;
    width:40px;
}
comment-metadata{
    margin-left:auto;
}
comment-metadata h2{
    text-align:right;
}
summary {
  display: flex;
}
comment-section summary{
    margin-top:0.5rem;
    text-align:right;
}
toggle-comments {
    font-size: 10px;
    background: black;
    color: white;
    padding: 2px 5px;
    border-radius: var(--radius-drawn-1);
    cursor: pointer;
    margin-top: 0.25rem;
    margin-left: auto;
    display: block;
    height: fit-content;
    width: fit-content;
}

.profile-info {
    flex-grow: 1;
    margin-left: 10px;
    margin-right: 5px;
    text-align: left;
    margin-bottom: auto;
    margin-top: 0.15rem;
}

.profile-info h2 {
    margin: 0;
    font-size: 0.9rem;
}

.profile-info p {
    font-size: 12px;
    color: #666;
}

sup{
    font-size:0.6rem;
}

calendar-header day-header{
    background-color: var(--background);
    text-align: center;
    padding: 6px 17px;
}
/* Ensure the container allows scrolling */
.schedule-container {
    position: relative;
}
textarea[readonly]{
    background-color: inherit;
}

#directory-filter-expanded {
    background: inherit;
    margin: 4px;
    display:none;
}

.filter-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-icon {
    width: 24px;
    height: 24px;
}

.filter-divider {
    margin: 15px 0;
}

.filter-divider hr {
    border: none;
    height: 1px;
    background-color: #ddd;
}
.filter-section p{
    text-align: left;
    font-style: italic;   
}

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

.toggle-details {
    display: none;
}
.schedule-selector{
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
}
.schedule-selector a{
    padding: 5px 15px;
    background-color: #27335b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-size:10px;
}
.day-group {
  position: relative;
  padding: 1rem 0;
  border-radius: 0;
}

.day-group event-day-header {
  position: sticky;
  display: flex;
  top: 32px;
  background-color: black;
  color:white;
  z-index: 1;
  padding: 0.5rem 13px;
  margin-bottom: 1rem;
}
.day-group.past-day{
    opacity:0.65;
}
img{
    font-size: 0.4rem;
}
  event-host[data-id=""]{
    display: none;
  }
  .event-container .new-host{
    display:none;
  }
  .event-container.edit-mode .new-host{
    display:flex;
  }
  .event-container.edit-mode event-host[data-id=""]{
    display: flex !important;
  }
  .event-container.edit-mode pre[contenteditable="true"]:focus,
  .event-container.edit-mode input:focus {
    background: whitesmoke;
    padding: 0.35rem;
    color: black;
  }
  edit-button{
    display: flex;
    left: -0.8rem;
    top: -1em;
    border-radius: 25%;
    position: absolute;
  }
  edit-button img{
    width: 24px;
    background: var(--background);
    border-radius: 100% 0% 100% 0% / 100% 0% 100% 0%;
  }
  edit-button img.trash {
    border-radius: 100% 80% 100% 50% / 100% 50% 100% 55%;
  }
  button[popovertarget="add-event-popover"] edit-button {
    cursor: pointer;
    margin-left: auto;
    display: none;
  }
  favorite-event-button{
    cursor: pointer;
    margin-left: auto;
    min-width:24px;
    min-height:24px;
    position: absolute;
    top: -15px;
    right: -12px;
  }
  favorite-event-button status-img{
    background-image: url('/assets/icons/star2.svg');
  }
  favorite-event-button[data-current-status="purchased_standalone"] status-img{
    background-image: url('/assets/icons/ticket-filled.svg');
  }
  favorite-event-button[data-current-status="hosting"] status-img{
    background-image: url('/assets/icons/star-filled.svg');
  }
  favorite-event-button[data-current-status="liked"] status-img{
    background-image: url('/assets/icons/star-filled.svg');
  }

  status-img{
    background: var(--background);
    border-radius: 20%;
    width:24px;
    height:24px;
    display:block;
  }

  @keyframes rotate {
    0% {
      transform: scale(1) rotate(0deg);
    }
    50% {
      transform: scale(1.25) rotate(180deg);
    }
    100% {
      transform: scale(1) rotate(360deg);
    }
  }
  favorite-event-button[data-is-host="true"] img{
    animation: rotate 3.5s ease-in-out infinite;
  }
  favorite-event-button img {
    width: 24px;
    background: var(--background);
    border-radius: 20%;
  }
  select{
    all: unset;
  }
  filter-options{
    max-height:10rem;
    display:block;
    overflow-y: scroll;
  }
  location-title-container select{
    pointer-events: none;
    overflow-x: clip;
  }
  location-title-container option {
    overflow-x: clip;
  }
  location-title select {
    font-size:0.9rem;
    max-width:100%;
    display:none;
  }
  .event-container.edit-mode location-title select{
    display:block;
    color: white;
    background: var(--primary);
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
  }
  .event-container.edit-mode event-info{
    overflow-x: clip;
  }
  .event-container interest-option{
    transform: rotate(0deg);
    position: absolute;
    right: 0;
    top: -9px;
  }
  #schedule .event-container.edit-mode event-date {
    display: flex;
  }
  #schedule .event-container.edit-mode event-date img {
    visibility: hidden;
  }
  .event-date-input {
    display:none;
  }
  .event-container.edit-mode .event-date-input {
    display:block;
  }
  .event-container.edit-mode event-date img {
    pointer-events: none;
  }
  .event-container.edit-mode event-date-formatted {
    display:none;
  }
  .event-container.edit-mode .event-date-input {
    display:block;
    width:100%;
    font-size: unset;
    padding: 0;
    border-bottom: 0;
  }
.event-container interest-option label{
    cursor: default;
  }
  .event-container.edit-mode select{
    all: revert;
    background: aliceblue;
    border: 1px solid var(--primary);
    border-radius: 4px;
    max-width:100%;
  }

  .sheriff button[popovertarget="add-event-popover"],
  .sheriff edit-button {
      display: inherit;
  }
  .event-container.edit-mode edit-button{
    min-width:64px;
  }
  .event-container.edit-mode {
    outline: 3px dashed black;
    background-color: powderblue;
  }
  section.event-container[data-id="new"]{
    padding:1em;
    margin-bottom:0;
    background-color: antiquewhite;
    height: 95vh;
  }
  reset-profile-attachment-button {
    display: none;
  }
  .attach_profile_input:placeholder-shown {
    -webkit-text-stroke: unset !important;
    text-shadow: unset !important;
    color: black;
  }
  .event-container.edit-mode reset-profile-attachment-button,
  sponsor-card.edit-mode reset-profile-attachment-button{
    display: block; 
    cursor: pointer;
    margin-left: 0.5rem;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
  }
  reset-profile-attachment-button img{
    width: 16px;
    height: 16px;
  }
  [onclick] {
    cursor: pointer;
  }
  sponsor-profile-name input{
    display: none;
  }
  sponsor-card.edit-mode sponsor-profile-name input{
    display: block;
  }
  sponsor-card sponsor-profile{
    display:flex;
    justify-content: space-between;
    margin-top:0.5rem;
    align-items:center;
  }
  .event-container.edit-mode event-host input,
  sponsor-card.edit-mode sponsor-profile-name input{
    border-bottom: 2px solid var(--primary);
    padding:0;
    text-align:left;
    width: 100%;
    cursor: text;
    color: black;
  }
  event-host.highlight, sponsor-profile.highlight {
    animation: highlight-pulse 0.7s ease-in-out;
  }
  
  
  @keyframes highlight-pulse {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(255, 147, 0, 0.54); }
  }
  .event-container.edit-mode event-host{
    display: flex !important; 
  }
  .event-container.edit-mode .ajax-link,
  sponsor-card.edit-mode .ajax-link{
    pointer-events: none;
  }
  event-host{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:0.35rem;
  }
  
  profile-item{
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1em;
    padding:0.5em;
    border-bottom: 1px solid var(--primary);
    font-size:0.9rem;
    text-align:left;
  }
  .event-container.edit-mode favorite-event-button{
    display: none;
  }
  .event-container.edit-mode:before,
  sponsor-card.edit-mode:before{
    content: '.';
    font-size:13px;
    padding:0 1.7rem; 
    display:block;
    margin-bottom:2em;
    font-weight:bold;
    color: powderblue;
    text-align: center;
  }
  .event-container.edit-mode[data-id="new"]:before{
    color: black;
    content: 'New Event';
  }
  sponsor-card.edit-mode[data-sponsor-id="new"]:before{
    content: 'Create Partner';
    text-align: center;
    color: black;
  }
  location-title-container {
    text-align:left;
    display:flex;
  }
  event-profile-name{
    position: relative;
  }
  profile-search-results{
    display: flex;
    flex-direction: column;
    position: absolute;
    background: whitesmoke;
    width: 100%;
    z-index:9;
  }
  
  /* Search loading and error states */
  .search-loading, .search-error {
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
  }
  
  .search-loading {
    color: #666;
    font-style: italic;
  }
  
  .search-error {
    color: #d73027;
    background-color: #fdf2f2;
  }
  .event-container.edit-mode event-expanded {
    display: block !important;
  }
  
  .event-container.edit-mode .event-description {
    cursor: text;
  }
  .event-container.edit-mode .event-description {
    display: block !important;
  }
  /* Event description display - use real elements */
  event-description-container {
    display: block;
    position: relative;
  }
  
  event-description-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
  }
  
  event-description-text.expanded {
    -webkit-line-clamp: none;
  }
  
  /* Hide container and edit version based on mode */
  .event-container.edit-mode event-description-container {
    display: none;
  }
  
  .event-container:not(.edit-mode) .event-description-edit {
    display: none;
  }
  
  .event-container.edit-mode event-time input {
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
    border-radius: var(--radius-drawn-1);
  }
  pre:empty:before{
    color: rgba(0, 0, 0, 0.5);
  }
  .event-container.edit-mode event-title pre:empty:before{
    content: 'Event Title';
  }
  .event-container.edit-mode location-title pre:empty:before{
    content: 'Location';
  }
  .event-container.edit-mode event-expanded pre:empty:before{
    content: 'Event Description';
  }
  event-title-container{
    display:flex;
    font-weight:bold;
    text-align:left;
    margin-bottom:0.5rem;
  }
  location-title-container img,
  event-time img{
    width:16px;
  }
  event-info{
    display: flex;
    justify-content:space-between;
    gap: 1em;
    margin-bottom:1em;
  }
  event-info img {
    margin-right: 0.1rem;
  }
  .today event-day-header::before {
    content: 'Today - ';
    margin-right: 5px;
  }
  .today + div event-day-header::before {
    content: 'Tomorrow - ';
    margin-right: 5px;
  }
  .day-group.today event-day-header {
    color: white;
    background-color: var(--today);
  }
  .day-group.today + div event-day-header {
    color: white;
    background-color: var(--tomorrow);
  }
  .event-container.happening-soon {
    background-color: lightskyblue !important;
  }
  .event-container.happening-now {
    background-color: lightgreen !important;
  }
  /* for Safari's hardcore User Agent */
  input[type="time"]:disabled{
    color: black !important;
    opacity: 1 !important;
    -webkit-text-fill-color: black !important;
    -webkit-opacity: 1 !important;
    filter: none !important;
  }
  .happening-soon:not(.edit-mode):before,
  .happening-now:not(.edit-mode):before {
    top: -16px;
    right: 20px;
    border-left: 2px solid black;
    border-top: 2px solid black;
    border-right: 2px solid black;
    font-size: 11px;
    position: absolute;
    padding-left: 5px;
    padding-right: 6px;
  }
  .happening-now:not(.edit-mode):before {
    content: 'Happening Now !';
    background: lightgreen;
  }
  .happening-soon:not(.edit-mode):before {
    content: 'Up Next !';
    background: lightskyblue;
  }
  event-time{
    display:flex;
    align-items: center;
  }
  event-time input{
    width:auto;
    padding:0;
    border-bottom:0;
    word-spacing: -8px;
    font-size:1rem;
  }
  event-date {
    text-align: left;
    font-size:1rem;
    display: flex;
    background: black;
    color: white;
    margin-bottom: 0.5rem;
    padding: 0.5rem 13px;
  }
  .goBackArrow{
    display:none;
    margin-right: auto;
    width: 20px;
    animation: moveLeftRight 2s infinite ease-in-out;
  }
  .event-container{
    position: relative;
  }
  section[data-empty="true"]:not(.edit-mode section) {
    display: none;
  }
  profile-page .interests-flex interest-option:not(profile-page.edit-mode .interests-flex interest-option) {
    pointer-events: none;
  }
   /* Hide edit-only elements by default */
   /* profile-edit-container[data-is-user-profile="true"] {
    display: block !important;
  }  */
  .transaction-table-container{
    overflow-x: scroll;
  }
  profile-page header h1{
    display:flex;
    align-items:end;
  }
  profile-page header h1 span{
    margin-left:auto;
  }

  .edit-only {
    display: none !important;
  }

  /* Show edit-only elements when edit-mode is active */
  profile-page.edit-mode .edit-only {
    display: flex !important;
    align-items: center;
  }

  /* Hide display values when in edit mode */
  profile-page.edit-mode .display-value {
    display: none !important;
  }

  profile-page.edit-mode .social-links {
    grid-template-columns: 1fr !important;
  }

  /* Hide empty sections in non-edit mode */
  profile-page:not(.edit-mode) .icebreaker[data-empty="true"],
  profile-page:not(.edit-mode) pre[data-content=""],
  profile-page:not(.edit-mode) .social-network-container:not(:has(a[href])),
  profile-page:not(.edit-mode) .download-link[data-has-document=""] {
    display: none;
  }
  .download-link > div{
    width:100%;
    justify-content: space-between;
    align-items: center;
  }

  /* Show all social networks in edit mode */
  profile-page.edit-mode .social-network-container {
    display: flex !important;
  }

  /* Add progress bar styles */
  .upload-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    z-index: 9999;
  }

  .upload-progress-bar {
    height: 100%;
    background: #4CAF50;
    width: 0;
    transition: width 0.3s ease;
  }
  /* Remove content_editable specific styles */
  profile-page.edit-mode pre[contenteditable="true"]:not(.event-container pre):not(sponsor-card pre) {
    outline: 2px dashed #ccc;
    border-bottom: none;
    padding: 5px;
    min-height: 20px;
    cursor:text;
  }

  /* Add contenteditable focus styles to match schedule.php */
  [contenteditable="true"]:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(63,96,160,0.2), 0 8px 20px rgba(63,96,160,0.15);
    transform: translateY(-2px);
  }
  /* Toggle profile-edit-toggle CSS from codepen */

  input#profile-edit-toggle[type=checkbox]{
    height: 0;
    width: 0;
    padding:0;
    display: none;
  }

  #profile-edit-toggle-label {
    cursor: pointer;
    text-indent: -9999px;
    width: 30px;
    height: 20px;
    background: grey;
    display: block;
    position: relative;
  }

  #profile-edit-toggle-label:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s;
  }

  input#profile-edit-toggle:checked + #profile-edit-toggle-label {
    background: var(--primary);
  }

  input#profile-edit-toggle:checked + #profile-edit-toggle-label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
  }

  #profile-edit-toggle-label:active:after {
    width: 15px;
  }

  /* Update social network container styles */
  profile-page:not(.edit-mode) social-network-container:not(:has(a[href])) {
    display: none;
  }

  profile-page.edit-mode social-network-container {
    display: flex !important;
  }

  /* Social network container styles */
  social-network-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Hide standalone icon in non-edit mode */
  profile-page:not(.edit-mode) social-network-container > img {
    display: none;
  }

  /* Show standalone icon in edit mode */
  profile-page.edit-mode social-network-container > img {
    display: block;
  }

  profile-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0.5em;
    align-items:center;
    margin-bottom: 20px;
    height:200px;
  }
  .ajax-link{
    position: relative;
  }
  /* .ajax-link:has(.profile-image):before{
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-crown'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 6l4 6l5 -4l-2 10h-14l-2 -10l5 4z' fill='currentColor' /%3E%3C/svg%3E");
    position: absolute;
    top: -13px;
    right: 0px;
    width: 16px;
    height: 16px;
    transform: rotate(15deg);
    z-index: 1;
  } */

  image-wrapper {
    position: relative;
  }

  image-wrapper img.profile-image {
    width: 200px;
    height: 200px;
  }
  .profile-image{
    object-fit: cover;
  }
  /* Edit mode overlay styles */
  profile-page.edit-mode image-overlay {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%; 
    background: linear-gradient(to top, 
      rgba(0, 0, 0, 0.5) 10%,
      rgba(0, 0, 0, 0) 100%
    );
    display: flex;
    align-items: end;
    padding-bottom: 15px;
    justify-content: center;
  }

  image-overlay .upload-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Makes the icon white */
  }

  /* Hide the old upload form in edit mode */
  profile-page.edit-mode .edit-only.upload-form {
    display: none !important;
  }
  event-description-text:empty + toggle-comments {
    display: none;
  }

  .box-shadow{
    box-shadow: 3px 3px 0px #000;
  }
  .box-shadow-white {
    box-shadow: 3px 3px 0px #f5f5f5;
  }
  .box-shadow-orange {
    box-shadow: 3px 3px 0px #ffa500;
  }
  .push-down {
    user-select: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    position: relative; /* Important for consistent shadow behavior */
  }
  .push-down:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 #000 !important;
  }
  profile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  profile-edit-container {
    background: rgba(0,0,0,0.65);
    color: white;
    border-radius: 4px;
    margin-bottom: 3px;
    margin-left: auto;
    padding: 5px;
    width: fit-content;
    position: relative;
    cursor: pointer;
  }
  .offline-section{
    text-align: center; 
    height: 90%;
    max-height:100%;
    background-color: #f4ddb6;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
  }
  .offline-icon{
    width:150px;
  }
  sheriff-button-container {
    width: 60px;
    border-radius: 16%;
    color:white;
  }
  #sheriff-button {
    background: #923926;
    border: 3px solid #923926;
  }

  tagline-input {
    display: block;
    width: 100%;
  }
  section.profile_intro{
    border:none;
  }
  .share-api{
    margin-left: 8px; 
    padding: 4px 8px; 
    border-radius: 4px; 
    background: #0077b5;
    text-wrap: nowrap;
    font-size: 12px;
    color: white; 
    border: none; 
    cursor: pointer;
  }

  tagline-input pre {
    background: none;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    width: 100%;
    text-align: right; 
    width: 100%;
    min-height: 1em;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
  }
  .event-container[data-id="new"]{
    /* Counteracts some other filtering logic that hides the new event container */
    display: block !important;
  }

  .event-container[data-id="new"] event-date{
    background: black !important;
  }

  .event-container:not(.edit-mode)[data-user-status="liked"],
  .event-container:not(.edit-mode)[data-user-status="hosting"],
  .event-container:not(.edit-mode)[data-user-status="purchased_standalone"] {
    background-color:beige;
    /* This is for the cutout ticket effect, look into it later */
    /* background: radial-gradient(circle at calc(100% - 0px) 50%, black 10px, beige 10px); */
  }
  .event-container.past-event {
    background-color: #f0f0f0;
    opacity: 0.65;
  }
  .event-container.edit-mode.past-event{
    opacity: 1;
  }
  /* Remove past-event styling after conference has ended */
  .conference-ended .past-day,
  .conference-ended .event-container.past-event{
    /* background-color: inherit; */
    opacity: 1;
  }
  .conference-ended day-header.highlight.past-day a {
    opacity: 1;
  }
  calendar-header {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    border-collapse: collapse;
    background-color: var(--background);
    position: sticky;
    margin-top:40px;
    top: 0;
    left: 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    z-index: 2; /* Ensure it appears above other elements */
    justify-content: space-between;
    box-shadow: -13px 0px 0px 0px var(--background), 13px 0px 0px 0px var(--background);
  }
  calendar-header .current-day {
    color: var(--today);
  }
  calendar-header .current-day + day-header {
    color: var(--tomorrow);
  }
  calendar-header .past-day {
    color: #aaa;
  }
  day-header a {
    padding: 1px 4px;
    font-weight: bold;
  }
  day-header.highlight a {
    background-color: black;
    color: white;
  }
  day-header.highlight.past-day a {
    opacity: 0.6;
  }
  day-header.highlight.current-day a {
    background-color: var(--today);
    color: white;
  }
  calendar-header .current-day + day-header.highlight a {
    background-color: var(--tomorrow);
    color: white;
  }
  section event-top{
    display: flex;
    justify-content: space-between;
    position:relative;
  }
  event-top details{
    width: 100%;
  }
  event-top details summary{
    width:fit-content;
  }
  
  [contenteditable="true"] {
    cursor: text;
    display: inline-block;
    min-width: 50px;
    width: 100%;
    /* border-radius: var(--radius-drawn-1); */
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
  }
  
  [contenteditable="true"]:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(63,96,160,0.2), 0 8px 20px rgba(63,96,160,0.15);
    transform: translateY(-1px);
  }
  .event-description {
    display: block;
    cursor: pointer;
    text-align:left;
  }
  event-expanded {
    display:block;
    margin-top: 0.5rem;
    text-align:left;
  }
  event-capacity{
    margin-bottom: 0.5rem;
    display:flex;
    justify-content: right;
  }
  event-capacity-private{
    display:none;
  }
  .event-container.edit-mode event-capacity-private{
    display: flex;
  }
  event-capacity-public{
    display: flex;
    align-items: center;
    width: fit-content;
    background: #635bff !important;
    color: white;
    padding: 0 7px;
    gap: 4px;
    border: 2px solid black;
  }
  event-capacity-public img{
    width:18px;
  }
  event-info-badges{
    display: flex;
    align-items: center;
    gap: 7px;
  }
  count-loading-span{
    font-size: 10px;
  }
  .maplibregl-map{
    font: unset !important;
  }
  .maplibregl-popup-content{
    background: var(--background) !important;
  }
  .close-popover {
    cursor: pointer;
    color: #888;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 3px solid black;
    background-color: orangered;
    display:grid;
    place-content: center;
    top: 20px;
    right: 20px;
  }
  modal-header-container em {
    font-size:12px;
  }
  .close-popover:after{
    content: 'X';
    font-size: 12px;
    color: black;
    font-weight: bold;
    width: 20px !important;
    text-align: center;
  }
  .event-container.edit-mode{
    position: relative;
  }
  .event-container.edit-mode event-info-badges {
    display:none;
  }
  delete-event-button, save-event-button{
    display: none;
  }
  save-event-button{
    right: 13px;
  }
  save-event-button:after{
    content: 'SAVE';
    font-size: 0.5rem;
    color: green;
    font-weight: bold;
  }
  .event-container.edit-mode[data-id="new"] delete-event-button:after{
    content: 'CLOSE';
  }
  delete-event-button:after{
    content: 'DEL';
    font-size: 0.5rem;
    color: red;
    font-weight: bold;
  }
  .event-container.edit-mode edit-button{
    display: none;
  }
  .event-container.edit-mode delete-event-button,
  .event-container.edit-mode save-event-button,
  sponsor-card.edit-mode save-sponsor-button,
  sponsor-card.edit-mode delete-sponsor-button{
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 0.5em;
  }
  
  dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
  }
  
  /* Remove popover-specific styles */
  button[popovertarget="add-event-popover"] {
    cursor: pointer;
    margin-left: auto;
    display: none;
  }
  
  /* Update button attributes */
  .sheriff button[onclick*="addEvent"] {
    display: inherit;
    min-width: 24px;
    max-height: 24px;
  }
  .event-container.edit-mode location-title-container {
    display: flex !important;
    margin: 0.5rem 0;
  }
  .flip-clock-container {
    display: flex;
    gap: 7px;
    justify-content: flex-end;
    margin-top:10px;
    margin-bottom:-30px;
    font-family: 'Arial', sans-serif;
  }

  .flip-clock-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .flip-card {
    background: #333;
    border-radius: 4px;
    width: 24px;
    height: 30px;
    position: relative;
    perspective: 1000px;
  }

  .flip-card.flip {
    animation: flip-complete 0.3s ease-out;
    transform-origin: center;
  }
  .label {
    font-size: 8px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight:bold;
  }

  search-container {
    display: flex;
  }

  .input-container {
    flex: 1;
  }

  .input-container input {
    width: 100%;
    padding: 7px;
    border: 1px solid var(--primary);
    font-size: 0.9rem;
  }

  /* Adjust schedule container bottom margin */
  .schedule-container {
    margin-bottom: 70px; /* Make room for fixed search footer */
  }

  .view-toggle.active img {
    filter: brightness(0) invert(1);
  }

/* Interest Selection Styles */
.interests {
  margin: 20px 0;
}

.interests-flex {
  display: flex;
  flex-wrap: wrap;
}

/* Remove duplicate interest styles and consolidate into one section */
interest-option {
  background: var(--background);
  padding: 0;
  border: 2px dashed black;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
  position: relative;
  font-size:10px;
  font-weight:bold;
  transform: rotate(-5deg);
  margin: 5px auto;
}

interest-option label {
  display: block;
  width: 100%;
  height: 100%;
  padding: 2px;
  cursor: pointer;
  text-align: left;
  position: relative;
  font-weight: 400 !important;
}
selector-group{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1em;
}
selector-wrapper {
  display:flex;
  flex-direction: column;
}
selector-wrapper select {
  user-select: none;
}
interest-option input[type="checkbox"] {
  display: none;
}

interest-option input[type="checkbox"]:checked + label {
  font-weight: bold;
  color: white;
}

interest-option:has(input[type="checkbox"]:checked) {
  background: black;
  border-color: black;
}

interest-option input[type="checkbox"]:checked + label:before {
  color: white;
}

/* Profile-specific interest visibility rules */
profile-page:not(.edit-mode) interest-option {
  display: none;
}

profile-page:not(.edit-mode) interest-option:has(input[type="checkbox"]:checked) {
  display: block;
}
profile-page section.interests {
    background: none;
    border:none;
    box-shadow:none;
    padding:0;
    margin: 1em;
}

profile-page.edit-mode interest-option {
  display: block;
}
.filter-section.interests-section,
.filter-section.profile-type-section{
    flex-wrap: wrap;
    gap:0 3px;
}
.filter-section.profile-type-section .text{
  cursor: pointer;
  width: fit-content;
  position: relative;
  font-size: 12px;
  font-weight: bold;
  margin: 5px;
  transform: rotate(-5deg);
}
/* When shown, use flex instead of block */
.filter-section.interests-section[style*="display: block"],
.filter-section.profile-type-section[style*="display: block"] {
  display: flex !important;
}

/* Interest Selection Styles */
.interests-select {
  display: none;
  position: absolute;
  background: white;
  z-index: 2;
  margin-top: 5px;
  max-height: 200px;
  overflow-y: auto;
  width: fit-content;
  min-width: 150px;
  right:0;
}
/* Hide the select element but keep it functional */
.interests-select select {
  opacity: 0;
  position: absolute;
}

/* Style the native select dropdown options (works in most modern browsers) */
.interests-select select option {
  opacity: 1;
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}

/* Update interest-option styles */
event-interests {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

event-interests interest-option {
  cursor: default;
}

.event-container.edit-mode event-interests interest-option {
  cursor: pointer;
}

/* Hide empty interest options completely */
interest-option:has(label:empty) {
  display: none !important;
}

/* Only show empty interest options in edit mode */
.event-container.edit-mode interest-option:has(label:empty) {
  display: block !important;
}
.event-container.edit-mode interest-option label:empty:before {
  content: '#select interest';
  opacity: 0.7;
}
comment-info {
    margin-left:auto;
    background:transparent;
    box-shadow:none;
}

/* Latest comment preview - only shown on hub discussions */
latest-comment-preview {
    display: none; /* Hidden by default */
}
latest-comment-preview comment-pretext{
  text-align: left;
  font-size: 0.7rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid #666;
  margin-bottom: 0.5rem;
  display: block;
  font-style: italic;
}
#discussions .event-container.edit-mode latest-comment-preview {
  display: none;
}
#discussions latest-comment-preview {
    display: block;
    margin-bottom: 1rem;
}
section#announcements,
section#discussions,
section#sponsors{
  padding: 0;
  border: 0;
  box-shadow: none;
  background: inherit;
}
comment-post[data-profile-type]{
  border-radius: 0 !important;
}

latest-comment-preview comment-info {
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    width: 100%;
}

latest-comment-preview .profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

latest-comment-preview .profile-info {
    flex: 1;
    margin-left: 10px;
    text-align: left;
}

latest-comment-preview .profile-info h2 {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
}
comment-metadata span,
comment-metadata comment-date{
  display:block;
}

name-cont{
  display: flex;
}
comment-date {
    font-size: 0.8rem;
    font-style: italic;
    color: #666;
}
#announcements comment-date {
  color: #ddd;
}
comment-post{
    display:block;
    width:100%;
    position:relative;
}
#add-comment-popover:has(comment-post.edit-mode){
    border:none;
    background:transparent;
}
comment-post.edit-mode{
    margin-top:0;
    border: 3px dashed white !important;
}

latest-comment-preview comment-content {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
}
comment-content {
    display:block;
    text-align: left;
    padding:8px;
    max-width: 600px;
    margin: 0 auto;
    color: black;
    padding: 0;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size:0.9rem;
}

hub-header {
    display: flex;
    background-color: black;
    color: white;
    z-index: 1;
    padding: 0.5rem 13px;
    margin-bottom: 1rem;
    font-weight: 500;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

hub-header h3 {
  margin: 0;
  color: white;
  display: flex;
  place-items:center;
}
hub-header img {
  margin-right: 0.5rem;
}   

add-announcement-button {
  cursor: pointer;
  margin-left: auto;
  display: none;  /* Hide by default */
}

.sheriff-only{
  display: none;
}

.sheriff .sheriff-only{
  display: block;
}

/* Show button only for sheriff role */
.sheriff add-announcement-button {
  display: flex;
  align-items: center;
}

add-announcement-button svg {
  width: 24px;
  height: 24px;
}

comment-content pre {
  width: 100%;
  text-align: left;
  font-size: 0.9rem;
  padding:0.2rem;
  word-wrap:anywhere;
}

/* Common profile type styles */
.processedLink{
  text-shadow: 2px 2px 0 var(--primary) !important; 
  -webkit-text-stroke: 4px var(--primary) !important;
}
.filter-option .text{
  padding: 1px 4px;
}
pre a.text, .profile-type-span {
  background: white;
  padding: 2px 8px 1px 5px;
  display: inline-block;
  border-radius: var(--radius-drawn-1);
}
modal-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
}
modal-content {
  height:100%;
  display: block;
  overflow-y: auto;
}
#add-comment-popover comment-content pre:empty:before {
  content: 'Make an Announcement';
  color: rgba(255,255,255,0.5);
}
#add-event-comment-section comment-content pre:empty:before{
  content: 'Leave a comment'
}
#add-event-comment-section comment-date{
  display:none;
}

comment-content pre[contenteditable="true"] {
  cursor: text;
  display: inline-block;
  min-width: 50px;
  border-bottom: 2px dashed white;
  margin-bottom: -2px;
}

comment-content pre[contenteditable="true"]:focus {
  outline: none;
  box-shadow: 0 4px 12px rgba(63,96,160,0.2), 0 8px 20px rgba(63,96,160,0.15);
  transform: translateY(-1px);
}

post-comment-button {
  display: none;
  margin: 1rem 0.5rem;
}
post-comment-button push-button{
  margin-right:1em;
  margin-left: auto;
}

push-button, .push-button {
  padding:5px 8px;
  background:black;
  color:white;
  font-size:0.9rem;
  /* margin-left:auto; */
  cursor: pointer;
  /* border-radius:var(--radius-drawn-5); */
  user-select: none;
}

comment-post.edit-mode post-comment-button {
  display: flex;
}
.edit-mode character-count {
    display: block;
}
character-count {
  display: none;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  margin-top: 4px;
  padding-right: 8px;
}

/* Privacy checkbox styles */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  appearance: none;
  width: 20px;
  height: 20px;
  padding:9px;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-drawn-1);
}

.checkbox-group input[type="checkbox"]:checked {
  background: black;
  border-color: white;
}

.checkbox-group input[type="checkbox"]:checked:after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 0.9rem;
  left: 4px;
  top: 0px;
}

.checkbox-group label {
  font-size: 10px;
  line-height: 1.4;
  text-align: left;
  color: rgba(255, 255, 255, 0.8);
}
sponsor-logo img, event-image img{
  max-width: 100%;
  object-fit: cover;
  max-height:350px; 
  margin:0 auto;
  margin-bottom:0.5rem;
  display:block;
}
sponsor-card,
sponsor-details,
sponsor-logo,
sponsor-name,
sponsor-tier,
sponsor-description,
sponsor-message,
sponsor-link {
  display: block;
}
sponsor-card sponsor-logo label{
  display:none;
  width: fit-content;
}
sponsor-card push-button input {
  display:none;
}
sponsor-card.edit-mode push-button input {
  display:block;
}
sponsor-card.edit-mode push-button a{
  display:none;
}
sponsor-card:not(.edit-mode) push-button:has(a[href=""]) {
  /* display: none; */
  visibility: hidden;
}
.event-container event-image label{
  display:none;
}
.event-container.edit-mode event-image label{
  display:block;
  width:fit-content;
  margin:0 auto;
  margin-bottom:0.5rem;
}
sponsor-card.edit-mode sponsor-logo label{
  display:block;
}
sponsor-card push-button{
  width:fit-content;
  display:block;
  margin-left:auto;
}
hub-page .goBackArrow{
  display:none;
}

hub-page .event-container:not(.edit-mode) event-date,
hub-page .event-container:not(.edit-mode) ticket-access-container,
hub-page .event-container:not(.edit-mode) event-info,
hub-page .event-container:not(.edit-mode) event-host,
hub-page .event-container:not(.edit-mode) event-image,
hub-page .event-container:not(.edit-mode) event-expanded,
hub-page .event-container edit-button,
hub-page .event-container favorite-event-button,
hub-page .event-container event-info-badges event-capacity-public {
  display:none;
}
hub-page event-comments-button:before {
  content: 'View ';
}
hub-page event-comments-button {
  flex:1;
}
sponsor-footer{
  display:flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-left: 0;
  border-bottom: 0;
  border-bottom-left-radius: 0;
}
sponsor-order-buttons{
  display:none;
}
profile-page sponsor-card sponsor-order-buttons{
  display:none;
}
sponsor-card.edit-mode sponsor-order-buttons{
  display:flex;
  align-items: center;
  margin-top:20px;
}
sponsor-card[data-sponsor-id="new"] sponsor-order-buttons, 
profile-page sponsor-card sponsor-order-buttons{
  display:none !important;
}
sponsor-card[data-sponsor-tier-id=""]:not(.edit-mode) sponsor-tier-select,
sponsor-card[data-sponsor-tier-id="0"]:not(.edit-mode) sponsor-tier-select {
  display:none;
}
sponsor-tier-select {
  pointer-events: none;
  margin-left: -13px;
  margin-bottom: -23px;
}

sponsor-tier-select .push-button{
  border-left: 0;
  border-bottom: 0;
  border-bottom-left-radius: 0;
}
sponsor-tier-select select{
  /* background: #00fcff; */
  border: 3px solid black;
  -webkit-text-stroke: 4px black;
  paint-order: stroke;
}

sponsor-card.edit-mode sponsor-tier-select {
  pointer-events: auto;
  margin-bottom: -33px;
}
sponsor-name{
  display:flex;
  background: black;
  margin-bottom: 0.5rem;
  color: white;
  padding: 0.5rem 13px;
}
sponsor-name pre{
  font-size:1rem;
  text-align:center;
  width:100%;
}
sponsor-card {
  position: relative;
  display: block;
  padding: 13px;
  border: 2px solid black;
  margin-bottom: 1rem;
  background-color: white;
}

/* Edit mode for sponsors */
sponsor-card.edit-mode {
  outline: 3px dashed black;
  background-color: powderblue;
  position: relative;
}
sponsor-card[data-sponsor-id="new"].edit-mode {
  background-color: antiquewhite;
  margin-bottom: 0;
  height: 95vh;
}

/* Sponsor top section */
sponsor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Sponsor buttons container */
sponsor-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sponsor specific buttons */
delete-sponsor-button, save-sponsor-button {
  display: none;
}

save-sponsor-button {
  right: 13px;
}

save-sponsor-button:after {
  content: 'SAVE';
  font-size: 0.5rem;
  color: green;
  font-weight: bold;
  text-align:center;
}

sponsor-card.edit-mode delete-sponsor-button:after {
  content: 'DEL';
  font-size: 0.5rem;
  color: red;
  font-weight: bold;
  text-align:center;
}

sponsor-card.edit-mode[data-sponsor-id="new"] delete-sponsor-button:after {
  content: 'CLOSE';
}

/* Show delete/save buttons only in edit mode */
sponsor-card.edit-mode delete-sponsor-button,
sponsor-card.edit-mode save-sponsor-button {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Hide edit button in edit mode */
sponsor-card.edit-mode edit-button {
  display: none;
}

/* Sponsor content layout */
sponsor-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-top: 15px;
}

sponsor-logo {
  grid-column: 1;
}

sponsor-message{
  margin: 0.5rem 0;
}
sponsor-message, sponsor-tier-select, push-button {
  grid-column: 2;
}

/* Input fields in edit mode */
.logo-url-field, .website-url-field {
  margin-bottom: 10px;
}

.logo-url-field label, .website-url-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.website-url-input {
  width: 100%;
  padding: 3px;
  border: 2px dashed #ccc;
  border-radius: var(--radius-drawn-1);
}

/* Only show the add sponsor button for sheriffs */
.sheriff add-sponsor-button {
  display: flex;
}

add-sponsor-button {
  display: none;
  cursor: pointer;
}

sponsor-card.edit-mode sponsor-name pre:empty:before {
  content: 'Partner Name';
  color: white !important;
  opacity: 0.7;
}
sponsor-card.edit-mode sponsor-message pre:empty:before {
  content: 'Partner Description';
}
.no-select {
  -webkit-user-select: none;  /* Safari */
  -ms-user-select: none;      /* IE 10+ and Edge */
  user-select: none;          /* Standard syntax */
}
#main-content:has(map-page:not([style*="display: none"])) {
  padding: 0;
  max-width: 100vw;
}
#mapTiler {
  height:100vh;
}
/* --- Claim Flow Styles --- */

/* Hide standard fields and toggle button initially in claim flow */
.claim-flow-active #standardFields {
  display: none;
}

/* Show claim section initially in claim flow */
.claim-section {
  display: none; /* Hidden by default */
  margin-bottom: 20px;
}
.claim-flow-active .claim-section {
  display: block; 
}
#claimList .profile-card{
  cursor:pointer;
 }
#claimList .profile-card:hover{
  background: rgba(255,255,255,0.7);
  color: white;
}

.claim-register-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Adjust wrapper display if needed, default is block */
.form-group-wrapper {
  display: block; /* Or flex, grid */
}

/* Style for the selected profile card */
.claim-profile-item.selected {
  background: rgba(255,255,255,0.7);
  outline: 4px solid black;
  border:0;
  box-shadow: 3px 5px 7px #000;
}

/* If you want to style the selected card */
.claim-profile-item.selected {
  outline: 3px solid black;
  background: white;
}
ticket-access{
  display:flex;
  max-width: calc(100% - 20px);
  width:100%;
}
selector-wrapper label {
  margin-bottom: 0.5rem;
}
ticket-access-container{
  display:none;
  justify-content: space-between;
  margin-bottom:1rem;
  border-bottom:1px solid #666;
}
ticket-access-container img {
  width:20px;
}
ticket-access select {
  font-size:0.9rem !important;
  cursor: default !important;
  text-align:left !important;
  max-width: calc(100% - 20px);
}

[data-access-restricted="true"] {
  border: 3px solid orangered;
  box-shadow: inset 0 0 0 1000px rgba(245, 158, 11, 0.05);
}
[data-access-restricted="true"] favorite-event-button {
  display:none;
}
[data-access-restricted="true"] ticket-access-container,
.edit-mode ticket-access-container,
.sheriff ticket-access-container {
  display: flex;
}
.lock-icon{
  display:none;
  width:20px;
}
[data-access-restricted="true"] .lock-icon{
  display:block;
}
#checkout-modal{
  margin-top:1rem;
  padding:0;
  flex-direction:column;
}

#checkout-modal modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

#checkout-modal modal-header {
  padding: 13px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#checkout-modal modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  padding-top:0;
  padding-bottom: 85px;
}

#checkout-modal modal-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 10px;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

#checkout-modal #back-to-options{
  background: #333;
}
.price-highlight{
  width: fit-content;
  background: #ff0;
  padding: 0 0.15rem;
}
#checkout-modal #submit-payment{
  background: #ff0;
  color: black;
  border: 2px solid black;
}
#checkout-modal #payment-form{
  flex: 1;
  display: flex;
  flex-direction: column;
}
#checkout-modal modal-container{
  display:block;
  height:100%;
  position:relative;
}
standalone-price-container{
  font-size: 0.9rem;
  margin-top: 1rem;
  background-color:antiquewhite;
  align-items: center;
  padding:5px;
  display:none;
  margin-bottom:1rem;
}
#add-event-popover standalone-price-container{
  background-color: powderblue;
}
purchase-button push-button {
  display: flex;
  margin-left: auto;
  width: fit-content;
  box-shadow: 3px 3px 0px #000;
  text-align: center;
  background-color: yellow;
  color: black;
  border: 2px solid black;
}
standalone-price-container input{
  width:80px;
  border-bottom: 2px solid var(--primary);
  text-align: left;
  padding-left: 0.5rem;
}
.maximum-attendance-input{
  width:50px;
  border-bottom: 2px solid var(--primary);
  text-align: left;
  padding-left: 0.5rem;
  font-size:0.9rem;
}

.event-container[data-capacity="false"] event-capacity-limit{
  display:none;
}
event-capacity-limit:after{
  content: attr(data-capacity);
  font-size:12px;
}
maximum-attendance-container{
  font-size:12px;
}
standalone-price-container app-currency{
  margin-left:auto;
}
.event-container.edit-mode standalone-price-container{
  display:flex;
}

purchase-button {
  display: none;
  width: fit-content;
  margin-left:auto;
}
#event-comments-modal modal-body{
  background-color: #fef8e3;
}
event-comments-button {
  display: flex;
  align-items: center;
  width: fit-content;
  background: #1976d2 !important;
  color: white;
  padding: 0 7px;
  gap: 5px;
  text-align: center;
  justify-content: center;
  border: 2px solid black;
  cursor: pointer;
}

event-comments-button img {
  width: 18px;
}

event-comments-button:hover {
  background-color: #1565c0;
}

/* Prevent body scrolling when dialogs are open */
body:has(dialog[open]) {
  overflow: hidden;
}

/* Show purchase button ONLY if purchase is required */
/* Uses the data-requires-purchase attribute set by PHP/JS */
.event-container[data-requires-purchase="true"] purchase-button {
  display: block; 
}

/* Always hide in edit mode regardless of other conditions */
.event-container.edit-mode purchase-button,
.event-container.past-event purchase-button {
  display: none !important;
}
#profile-edit-form {
  margin-top:1em;
  display: flex;
  flex-direction: column;
  height: calc(100% - 3em);
}
#profile-edit-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

#profile-edit-form label {
  font-weight: bold;
  font-size: 0.9rem;
}

#profile-edit-modal-title{
  font-size:1em;
  text-align:center;
}
modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding-bottom: 0;
}
save-button.push-button{
  background: lightgreen;
  color: green;
  border: 2px solid green;
}
delete-button.push-button{
  background: lightpink;
  color: red !important;
  border: 2px solid red;
}

/* Approach 2: Use a wrapper with a pseudo-element */
.time-input-wrapper {
  position: relative;
}

.time-input-wrapper input[type="time"]:disabled {
  opacity: 0;
}

.time-input-wrapper::after {
  content: attr(data-value);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5px;
  color: black;
  pointer-events: none;
}

/* Approach 3: Use readonly instead of disabled */
input[type="time"][readonly] {
  background-color: #f8f8f8;
  color: black;
}
.pac-container, #venue-autocomplete-details {
  background: antiquewhite !important;
}

/* Highlight event-date if today */
.event-container[data-is-today="true"] event-date {
  background: var(--today);
}
.event-container[data-is-today="true"] event-date-formatted:before {
  content: 'Today - ';
}

/* Highlight event-date if tomorrow */
.event-container[data-is-tomorrow="true"] event-date {
  background: var(--tomorrow);
}
.event-container[data-is-tomorrow="true"] event-date-formatted:before {
  content: 'Tomorrow - ';
}
#transaction-table{
  width:100%;
}
#transaction-table td, #transaction-table th{
  font-size:12px;
  padding: 0.1rem 0.35rem;
  border-bottom: 1px solid black;
}
#transaction-table th{
  text-align:center;
  background: black;
  color: white;
  padding: 0.25rem;
}
#transaction-table th.col-description{
  text-align:left;
}
transaction-ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom:0.5rem;
}
.transaction-total{
  width: fit-content;
  white-space: nowrap;
}
#transaction-table .transaction-manual_ticket_update{
  background-color : #ffff00;
}
#transaction-table .transaction-payment{
  background-color : #00ff00;
}
#transaction-table .transaction-manual_credit_add{
  background-color : orange;
}
#transaction-table .transaction-manual_credit_reduce{
  background-color : orangered;
}
#transaction-table .transaction-credit_usage{
  background-color : navajowhite;
}
#wallet-modal modal-content {
  background: #fff;
  border-radius: 12px;
  margin: 0 auto;
  padding: 0;
}
wallet-credits-section[data-credits-balance="0.00"]{
  display:none;
}

#wallet-modal modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  border-bottom: 1px solid #ccc;
}
#wallet-modal modal-header h4 {
  margin: 0;
  font-size: 1.3em;
}
#wallet-modal modal-body {
  padding: 13px;
}
wallet-credits-section {
  text-align: center;
  margin-bottom: 16px;
}
wallet-credits-balance {
  font-size: 2.2em;
  font-weight: bold;
  text-align:center;
  display:block;
  color: limegreen;
}
#wallet-ticket-section {
  text-align: center;
  margin-bottom: 18px;
}
wallet-ticket-info {
  font-size: 1.75em;
  font-weight: bold;
  color: #333;
  margin: 8px 0 8px 0;
}

/* Styles for the QR Code Section */
wallet-qr-section {
  display: block; /* Custom elements are inline by default */
  text-align: center;
  margin: 18px 0; /* Adjust spacing */
}

#wallet-qr-img {
    width: 276px;
    height: 276px;
    display: block; /* Make it a block element */
    margin: 0 auto; /* Center the image */
}

wallet-qr-section div {
    font-size: 0.9em;
    color: #888;
    margin-top: 8px;
}

/* Styles for Purchased Events Section */
wallet-events-section {
  margin-bottom: 18px;
  max-width: calc(100% - 26px);
  display: block;
  margin: 0 auto;
}
wallet-events-section .event-container edit-button,
wallet-events-section .event-container favorite-event-button,
wallet-events-section .event-container event-top {
  display: none;
}
wallet-events-section .event-container event-info{
  margin:0;
}
wallet-events-section .event-container {
  padding:0;
}

wallet-events-section h5 {
  text-align: center;
  margin-bottom: 12px;
}

/* Make event containers in wallet more compact */
wallet-events-list event-container {
  margin-bottom: 10px;
}
events-list{
  padding-bottom:100px !important;
}
.wallet-name{
  color: limegreen;
}
.checkbox[data-checked="true"]{
  background-color: lightgreen;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.checkbox[data-checked="false"]{
  background-color: lightcoral;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.checkbox{
  border: 1.5px solid black;
  padding: 2px 4px !important;
  color:black;
}
.checkbox .checkbox-checked, .checkbox .checkbox-unchecked{
  display:none;
}
.checkbox[data-checked="true"] .checkbox-checked{
  display:block;
}
.checkbox[data-checked="false"] .checkbox-unchecked{
  display:block;
}

/* Delete Image Button */
delete-image-button {
  position: absolute;
  top: -13px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100% 80% 100% 50% / 100% 50% 100% 55%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

delete-image-button img {
  width: 24px;
  height: 24px;
  margin:0;
}

/* Only show delete button in edit mode AND when there's an image */
.event-container.edit-mode delete-image-button.edit-mode-only {
  display: none;
}

.event-container.edit-mode event-image:has(img.uploadedImage[src]:not([src=""])) delete-image-button.edit-mode-only {
  display: flex;
}

/* Make sure event-image is positioned relative for absolute positioning */
event-image {
  position: relative;
  display: block;
}