/* --- ESTILO AMEBA STUDIOS PARA COOKIES --- */

.cookie-notification {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0px; /* Estilo minimalista ameba */
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 350px;
  max-width: calc(100vw - 4rem);
  z-index: 100000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.cookie-notification a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.cookie-notification a:hover {
  color: #D4FF00;
}

.cookie-notification p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(229, 229, 229, 0.8);
  margin: 0;
}

.cookie-notification p.cookie-title, .modal-title {
  font-family: 'Montserrat', sans-serif;
  color: white;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.cookie-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Replicando ameba-btn-effect */
.cookie-group .btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cookie-group .btn.btn-primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.cookie-group .btn.btn-primary:hover {
  background: #D4FF00;
  border-color: #D4FF00;
}

.cookie-group .btn.btn-outline-primary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-group .btn.btn-outline-primary:hover {
  border-color: #D4FF00;
  color: #D4FF00;
}

/* --- MODAL CONFIGURACIÓN --- */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100001;
  justify-content: center;
  align-items: center;
}

.modal-dialog {
  width: 90%;
  max-width: 600px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 0;
}

.cookie-block {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-block:last-child {
  border-bottom: none;
}

.cookie-block p {
  font-weight: 500;
  color: #fff;
  font-size: 14px;
}

/* Switch estilo Ameba (verde lima) */
.cookie-block input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 3rem;
  height: 1.6rem;
  background: #222;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-block input[type=checkbox]:checked {
  background: #D4FF00;
}

.cookie-block input[type=checkbox]::after {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: 1rem;
  height: 1rem;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-block input[type=checkbox]:checked::after {
  transform: translateX(1.4rem);
  background: #000;
}

.cookie-block input[type=checkbox]#tecnicas {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Responsivo */
@media screen and (max-width: 600px) {
  .cookie-notification {
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 2rem;
    max-width: 100vw;
  }
  
  .modal-dialog {
    padding: 2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}