.cookie-blocker-modal {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding-top: 2rem;
}

.container-buttons{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.cookie-blocker-content {
  background: #fff;
  padding: 2rem;
  border-radius: 5px;
  text-align: center;
  max-width: 600px;
  width: 90%;
}

.cookie-blocker-buttons button {
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
}

.cookie-blocker-buttons button:hover {
  background-color: #fff;
  color: #000;
}

#cookie-accept:hover{
  background-color: #fff;
  border-color: 1px solid #000;
  color: #000;
}

#cookie-accept { 
  background-color: #000; 
  color: white;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
}

#cookie-reject { 
  background-color: #000; 
  color: white;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
}

#cookie-configure { 
  background-color: #fff; 
  color: #000;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
}

#cookie-save-config { 
  background-color: #fff; 
  color: #000;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
}

#cookie-save-config:hover{
  background-color: #000;
  color: #fff;
}

#cookie-go-back{
  background-color: #fff; 
  color: #000;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
}

#cookie-go-back:hover{
  background-color: #000;
  color: #fff;
}

.cookie-blocker-center {
  display: flex;
  background: #fff;
  width: 90%;
  max-width: 800px;
  height: 40%;
  overflow: hidden;
}

.cookie-sidebar {
  width: 30%;
  background: #f5f5f5;
  border-right: 1px solid #ccc;
  padding: 1rem;
}

.cookie-sidebar ul {
  list-style: none;
  padding: 0;
}

.cookie-sidebar li {
  padding: 0.75rem;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.cookie-sidebar li.active {
  background: #e6e6e6;
  border-left: 3px solid #000;
  font-weight: bold;
}

.cookie-main {
  width: 70%;
  padding: 1.5rem;
  overflow-y: auto;
}

.cookie-section {
  display: none;
}

.cookie-section.active {
  display: block;
}

.cookie-footer button {
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
}

.cookie-footer button:hover {
  background: #000;
  color: #fff;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 800px;
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 8px 8px 0 0;
  font-size: 1.2rem;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.cookie-modal-logo {
  font-weight: bold;
  color: #000;
}

.cookie-close-btn {
  font-size: 2rem;
  cursor: pointer;
  color: #000;
}

.cookie-modal-footer {
  width: 90%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
}

.cookie-modal-footer button {
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-modal-footer button:hover {
  background: #fff;
  color: #000;
}

.container-footer-btn #cookie-save-config{
  background-color: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 1px solid #000;
}

.container-footer-btn #cookie-save-config:hover {
  background: #fff;
  color: #000;
}

.container-footer-btn {
  display: flex;
  gap: 0.5rem;
}


@media (max-width: 600px) {
  .container-buttons {
    flex-direction: column-reverse !important;
    gap: 0.5rem;
    align-items: stretch;
  }

  .container-buttons > div,
  .cookie-blocker-buttons {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }

  .container-buttons button,
  .cookie-blocker-buttons button {
    width: 100%;
    margin: 0;
  }

  .cookie-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal-footer button {
    width: 100%;
  }

  .cookie-blocker-center {
    flex-direction: column;
    height: auto;
  }

  .cookie-sidebar,
  .cookie-main {
    width: 100%;
  }

  .cookie-main {
    padding: 1rem;
  }
}
