
/*--------------------------------------------------------------
# cookie banner
--------------------------------------------------------------*/
.cookie {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
}

#cookie-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--body-color);
  padding: 20px;
  max-width: 400px;
  width: 90%;
  border-radius: 8px;
  z-index: 10000;  
  display: none;   
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

 #cookie-banner {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: #333;
      color: var(--body-color);
      padding: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 9999;
    }

    #cookie-banner button {
      background: #8200cd;
      color: white;
      border: none;
      padding: 10px 15px;
      margin-left: 10px;
      border-radius: 4px;
      cursor: pointer;
    }
 
    #cookie-settings label { 
        display: block; 
        margin-top: 10px; 
    }

    #cookie-settings button {
      background: #8200cd;
      color: white;
      padding: 10px;
      margin-top: 15px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .cookie a { 
        color: #2b80b9; 
        cursor: pointer; 
        margin-left: 15px; 
    }



    .cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookie-banner__inner{
  background: rgba(10,10,35,0.98);
  color: #e8e8e8;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.cookie-banner__text p{ margin: 6px 0 0; font-size: .95rem; }
.cookie-banner__actions{ display:flex; gap:10px; flex-wrap: wrap; justify-content: flex-end; }

.cookie-btn{
  border: 0;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: #e8e8e8;
  font-weight: 600;
}

.cookie-btn--primary{
  background: #8200cd;
}

.cookie-link{
  background: none;
  border: 0;
  color: #e8e8e8;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  font-weight: 600;
}

.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.cookie-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.cookie-modal__panel{
  position: relative;
  width: min(640px, calc(100% - 32px));
  margin: 10vh auto 0;
  background: #0a0a23;
  color: #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.cookie-modal__header,
.cookie-modal__footer{
  padding: 14px 16px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cookie-modal__header{
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.cookie-modal__content{
  padding: 16px;
}

.cookie-close{
  background: rgba(255,255,255,0.12);
  border: 0;
  color: #e8e8e8;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 22px;
  line-height: 0;
}

.cookie-option{
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  margin-bottom: 12px;
}

.cookie-option__row{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cookie-option p{ margin: 6px 0 0; font-size: .95rem; opacity: .9; }
.cookie-small{ font-size: .9rem; opacity: .9; margin-top: 10px; }

@media (max-width: 520px){
  .cookie-banner__inner{ flex-direction: column; align-items: stretch; }
  .cookie-banner__actions{ justify-content: stretch; }
  .cookie-btn{ width: 100%; }
}
