﻿/*#cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  box-sizing: border-box;   /* critical 
  padding: 5px 10px;
  padding-bottom:5px; /* fallback bottom 
  padding-bottom: calc(5px + env(safe-area-inset-bottom));

  background-color: #FFFFCC;
  text-align: center;
  border: 1px solid rgba(181, 154, 0, 0.55);
  z-index: 9999;
}*/
#cookie-banner{
  display: none;
  position: fixed;
  left: 0;
  right: 0;

  /* Anchor the bar itself, not its padding */
  bottom: env(safe-area-inset-bottom);

  box-sizing: border-box;
  padding: 5px 10px;

  background-color: #FFFFCC;
  text-align: center;
  border: 1px solid rgba(181, 154, 0, 0.55);
  z-index: 9999;
}
  bottom: env(safe-area-inset-bottom);

  box-sizing: border-box;
  padding: 5px 10px;

  background-color: #FFFFCC;
  text-align: center;
  border: 1px solid rgba(181, 154, 0, 0.55);
  z-index: 9999;
}
#cookie-banner p{
  margin: 0;
  font-size: 14px;
  color: #333;
  /*line-height: 1.35;
  text-align: left;
  flex: 1 1 260px;*/
}

#cookie-banner p a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Buttons: smaller + calmer */
#cookie-banner button{
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.18);
  cursor: pointer;
  background: #fff;
  color: #222;
  transition: opacity 0.2s ease;
  flex: 0 0 auto;
}

/* Make the main “Accept” slightly stronger without shouting */
#accept-cookies{
  font-weight: 600;
  border-color: rgba(0,0,0,0.25);
}

#cookie-banner button:hover{
  opacity: 0.9;
}

/* Mobile: keep it tidy */
@media (max-width: 600px){
  #cookie-banner{
    left: 10px;
    right: 10px;
    bottom: 0px;
  }
  #cookie-banner p{
    font-size: 13px;
  }
}

/* --- Overlay (for modal) --- */
#cookie-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  display: none;
}

/* --- Modal wrapper --- */
#cookie-modal{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
  background: none;
  border: none;
  box-shadow: none;
}

/* --- Modal box --- */
#cookie-modal-box{
  background: #fffbe6;
  border: 3px solid #b59a00;
  /*border-radius: 10px; */
  padding: 20px 25px;
  width: 100%;   /* 90% */
  /* max-width: 600px; */
  margin: 0 auto;
  /* box-shadow: 0 0 10px rgba(0,0,0,0.2); */
  font-family: Calibri, Arial, sans-serif;
  color: #333;
  text-align: center;
}

/* Labels */
#cookie-modal-box label{
  display: block;
  margin: 10px 0;
  color: #333;
  text-align: left;
}

/* Buttons inside the modal */
#cookie-modal-box button{
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#cookie-modal-box button:hover{
  opacity: 0.9;
}

/* Button row — aligns Save + Cancel side-by-side */
#cookie-modal-box .button-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

/* Footer link */
#cookie-settings-link{
  font-size: 13px;
  color: #555;
  text-decoration: underline;
  cursor: pointer;
}

#cookie-settings-link:hover{
  color: #000;
}  