.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.cookie-modal {
  background: #fff;
  padding: 20px;
  width: 420px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  border: none;
  background: none;
}

.enlace{
  font-weight: bold;
  color: var(--bg-soft);
}

.title{
  text-align: center;
}

.texto{
  text-align: justify;
}

h2 {
  margin-top: 0;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.toggle-titulo{
  font-weight: bold;
  font-size: 15px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  display: none; 
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; 
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: rgb(7, 66, 175);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.actions {
  margin-top: 20px;
  text-align: right;
}

.btn {
  padding: 10px 15px;
  margin-left: 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.btn-accept {
  background: var(--bg-soft);
  color: white;
}

.btn-reject {
  background: #ddd;
}