
/* =============================== */
/* 2. COOKIE BANNER (BOTTOM BAR)   */
/* =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: var(--white-color);
  border-top: 1px solid var(--dark-divider-color);
  z-index: 9999;
  padding: 25px 0;
}

/* CONTAINER */
.cookie-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* TEXT LEFT */
.cookie-left {
  flex: 1;
}

.cookie-left h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--white-color);
}

.cookie-left p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--earth-tone-one-color);
  line-height: 1.5;
}

.cookie-link {
  color: var(--accent-color);
  font-size: 14px;
  text-decoration: none;
}

/* BUTTONS RIGHT */
.cookie-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.cookie-right button {
  padding: 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--default-font);
  font-size: 14px;
  transition: 0.2s;
}

/* ACCEPT BUTTON */
#acceptAll {
  background: var(--accent-color);
  color: var(--white-color);
}

/* SETTINGS BUTTON */
#openSettings {
  background: var(--butoane-color);
  color: var(--white-color);
}

/* REJECT BUTTON */
#rejectAll {
  background: transparent;
  border: 1px solid var(--earth-tone-one-color);
  color: var(--earth-tone-one-color);
}

#rejectAll:hover {
  color: var(--white-color);
  border-color: var(--white-color);
}

/* =============================== */
/* 3. SETTINGS MODAL / POPUP        */
/* =============================== */
.cookie-settings {
  display: none;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
}

/* SETTINGS BOX */
.settings-box {
  background: var(--secondary-color);
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  padding: 25px;
  font-family: var(--default-font);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* SETTINGS TITLE */
.settings-box h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
}

/* SETTINGS ITEM */
.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-color);
}

.setting-item div {
  display: flex;
  flex-direction: column;
}

.setting-item span,
.setting-item small,
.setting-item strong {
  font-size: 14px;
  color: var(--primary-color);
}

/* SAVE BUTTON */
.settings-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

#saveSettings {
  background: var(--accent-color);
  color: var(--white-color);
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--default-font);
}

#saveSettings:hover {
  opacity: 0.9;
}

/* =============================== */
/* 4. SWITCH TOGGLE                 */
/* =============================== */
.switch {
  position: relative;
  width: 42px;
  height: 22px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: var(--earth-tone-one-color);
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  top: 2px;
  background: var(--white-color);
  border-radius: 50%;
  transition: 0.2s;
}

input:checked + .slider {
  background: var(--accent-color);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* =============================== */
/* 5. ANIMATIONS */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* =============================== */
/* 6. RESPONSIVE */
@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-right {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }

  .cookie-right button {
    flex: 1;
  }
}


.cookie-mini-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.cookie-mini-bar button {
  background: var(--accent-color);
  border: none;
  color: var(--white-color);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}