/* Små tilføjelser oven på det oprindelige sites CSS */
.flash-message {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(0, 200, 100, 0.12);
  border: 1px solid rgba(0, 200, 100, 0.45);
  color: inherit;
  font-family: Arial, sans-serif;
  text-align: center;
}
.flash-message.flash-error {
  background: rgba(255, 80, 80, 0.12);
  border-color: rgba(255, 80, 80, 0.5);
}
@media (max-width: 800px) {
  .flash-message { margin: 12px 16px 0; }
}
/* Ét billede skal ikke strækkes over hele bredden */
@media (min-width: 769px) {
  .myphotos-page .photo-gallery { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); justify-content: start; }
}
/* Demo-dialog for betaling (porteføljeudgave) */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 9, 16, 0.72);
  backdrop-filter: blur(4px);
  font-family: Arial, sans-serif;
}
.demo-modal[hidden] { display: none; }
.demo-modal__card {
  width: min(100%, 440px);
  padding: 28px;
  border-radius: 20px;
  background: #1d1f2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: #f4f6fb;
}
.demo-modal__card h2 { margin: 12px 0 10px; font-size: 1.5rem; }
.demo-modal__card p { margin: 0 0 10px; color: #c6cdd8; line-height: 1.5; }
.demo-modal__hint { color: #f4f6fb !important; }
.demo-modal__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.14);
  color: #ffcc00;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-modal__actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.demo-modal__btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffcc00, #ff8a00);
  color: #1a1400;
  font-weight: 800;
  text-decoration: none;
}
.demo-modal__close {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #f4f6fb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.demo-modal__btn:focus-visible, .demo-modal__close:focus-visible { outline: 3px solid #ffcc00; outline-offset: 2px; }

.vote-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 50;
}
