@import url('https://font-googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,100;1,300;1,400&display=swap');#cookies{font-size:1rem;font-family:'Roboto', sans-serif;padding:2px;}
#cookies .container{width:1600px;margin:auto;}
.subcontainer{width:85%;margin:auto;}
#cookies{width:100%;position:fixed;bottom:0;color:white;background-color:rgba(0,0,0,0.7);z-index:999;display:none;}
.cookies{min-height:70px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.cookies p{color:white;}
.cookies a{color:yellow;font-weight:500;text-decoration:none;}
.cookies-btn{border-radius:5px;padding:8px 12px;font-size:1rem;font-family:inherit;cursor:pointer;background-color:black;color:white;}
.accept-all{background-color: #2563EB!important; border: none !important;}
@media (max-width:1600px){#cookies .container{width:100%;}
}
@media (max-width:1024px){.cookies{padding:10px 0;}
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 1rem;
}

/* Modal content */
.cookie-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content h2 {
  margin-top: 0;
}

.privacy-title {
  font-weight: bold;
  margin: 1rem 0;
}

/* Close button */
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #444;
}

.close-modal:hover {
  color: #000;
}

/* Cookie option toggle */
.cookie-option {
  background: #f9f9f9;
  border-radius: 6px;
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #ddd;
}

.cookie-option summary {
  font-weight: 600;
  cursor: pointer;
}

/* Switch toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
  margin-top: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3.5px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #007bff;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Buttons */
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.btn {
  flex: 1;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn.accept {
  background: #007bff;
  color: white;
}

.btn.accept:hover {
  background: #0056b3;
}

.btn.reject {
  background: #222;
  color: white;
}

.btn.reject:hover {
  background: #000;
}

.btn.save {
  background: #444;
  color: white;
}

.btn.save:hover {
  background: #222;
}

/* Responsive */
@media (max-width: 600px) {
  .cookie-content {
    padding: 1.2rem;
    margin: 10% auto;
  }

  .cookie-actions {
    flex-direction: column;
  }
}