#cookie_note {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  z-index: 1000;
  box-sizing: border-box;
}

#cookie_note.show {
  display: flex;
  align-items: center;
  gap: 15px;
}

#cookie_note > p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #000;
  text-align: left;
  flex: 1;
}

#cookie_note img {
  vertical-align: middle;
  margin-right: 10px;
  max-width: 32px;
  height: auto;
}

.cookie_accept {
  width: 30%;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  appearance: none;
}

.cookie_accept:hover {
  background-color: #0056b3;
}

.cookie_accept:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* Адаптивные стили */
@media (min-width: 576px) {
  #cookie_note.show {
    max-width: 600px;
  }
  
  #cookie_note > p {
    font-size: 0.8rem;
  }
  
  #cookie_note img {
    margin-right: 15px;
  }
}

@media (max-width: 575px) {
  #cookie_note.show {
    display: block;
    padding: 15px;
    max-width: calc(100% - 30px);
  }
  
  .cookie_accept {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
  }
  
  #cookie_note img {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 48px;
  }
  
  #cookie_note > p {
    text-align: center;
    margin-bottom: 15px;
  }
}
