/* === OVERLAY (fond sombre) === */
.skarium-cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

/* === POPUP === */
.skarium-cookie-inner {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  text-align: left;
  animation: fadeInScale 0.3s ease-in-out;
  color: #333;
}

/* === TITRE === */
.cookie-title {
  color: rgba(58, 138, 190, 1);
  margin-bottom: 10px;
  text-align: center;
}

/* === MESSAGE === */
.cookie-message {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
  font-weight: 300;
  color: #777;
}

/* === BOUTONS PRINCIPAUX === */
.skarium-cookie-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.skarium-cookie-actions button {
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.95rem;
  min-width: 160px;
}

.button--primary {
  background: rgba(58, 138, 190, 1);
  color: #fff;
  border: none;
  padding: 6px;
}

.button--primary:hover {
  background: rgba(58, 138, 190, 0.85);
}

.button--secondary {
  background: #f1f1f1;
  color: #333;
  border: none;
  padding: 6px;
}

.button--secondary:hover {
  background: #e4e4e4;
}

.button--tertiary {
  background: #ddd;
  color: #333;
}

.button--tertiary:hover {
  background: #ccc;
}
.skarium-cookie-settings-actions {
  margin-top: 2px;
}

/* === PARAMÈTRES COOKIES === */
.skarium-cookie-settings {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.cookie-option {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cookie-option span {
  font-weight: 600;
  color: rgba(58, 138, 190, 1);
}

.cookie-option p {
  margin: 5px 0 10px;
}

/* === SWITCHES ON/OFF === */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.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: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(58, 138, 190, 1);
}

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

/* === DÉSACTIVÉ === */
.switch.disabled .slider {
  background-color: rgba(58, 138, 190, 0.6);
  cursor: not-allowed;
}

.switch.disabled .slider:before {
  background-color: white;
}

/* === ANIMATION === */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .skarium-cookie-inner {
    padding: 20px;
  }
}
/* === VERSION MOBILE === */
@media (max-width: 600px) {
  .skarium-cookie-actions {
    flex-direction: column;
    gap: 10px;
  }

  .skarium-cookie-actions button {
    width: 100%;
    max-width: 260px;
  }
}
