.sidebar-nav {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  /*background-color: lavenderblush; */
  background-color: cornsilk;
}
.sidebar-nav .nav-link {
  padding-top: 0px;
  padding-bottom: 0px;
}
header {
  padding: 20px;
  text-align: center;
  background-color: cornsilk;
}
footer {
  padding: 20px;
  text-align: center;
  background-color: cornsilk;
}

summary {
  cursor: pointer;
}

summary > * {
  display: inline;
}

input:valid {
  background-color: #fff; 
}
input:invalid {
  background-color: lightpink;
}
.wishheader {
  background-color: cornsilk;
}

.bg-primary {
  background-color: cornsilk!important;
}
.border-primary {
  border-color: cornsilk!important;
}
.wishmain {
  padding: 5px;
}
.wishdate{
  font-size: 0.75em;
  color: silver;
}
.wishcontainer {
  margin-bottom: 10px;
  margin-right: 2%;
}
.wishcontainer .linkbox {
  margin-bottom: 2px;
  background-color: lightyellow!important;
}
.wishcontainer .linkbox ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
/* On small, switch back to two columns */
@media (min-width: 300px) {
  .wishcontainer .linkbox ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* On medium viewports (e.g., phone landscape where linkbox is a narrow side column), use one column */
@media (min-width: 768px) {
  .wishcontainer .linkbox ul {
    grid-template-columns: 1fr;
  }
}
/* On desktops (wide), switch back to two columns */
@media (min-width: 1500px) {
  .wishcontainer .linkbox ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.wishcontainer .linkbox ul li { margin-bottom: 0; }
.wishcontainer .linkbox ul li a { display: block; }
.wishcontainer ul li button {
  width: 100%;
  background-color: cornsilk!important;
  border-color: bisque!important;
  border-width: 3px;
  color:grey;
}
.wishcontainer ul li .btn-primary:hover {
  color: orangered;
}
.addwish {
  display: flex;
  flex-direction: column;
}

#descfield {
  height: 300px;
}
#nameandprio {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
#priceandlink {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
#sortfield {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-right: 2%;
}
.link-button {
     background: none;
     border: none;
     color: #0d6efd;
     text-decoration: underline;
     cursor: pointer; 
     padding-left: 0;
}
.dropdownmove {
  position: relative;
  display: inline-block;
}
.dropdownmove-content {
  display: none;
  position: absolute;
  z-index: 1;
}
.show {display:block;}

.markdown-img {
  max-width: 100%;
  margin-left: 20px;
  margin-right: 20px;
}

/* Make the Insights popover wider for better readability */
.popover.insights-popover {
  max-width: 540px; /* default Bootstrap is 276px */
}
#email-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);    /* dunkler, aber weich */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;                   /* über allem */
  backdrop-filter: blur(3px);      /* leichter Blur – edel! */
}
.email-modal {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
}
