.lomax-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  padding: 20px;
}

.lomax-container {
  max-width: 800px;
  margin: auto;
}

.lomax-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lomax-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.lomax-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.lomax-intro {
  margin: 10px 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lomax-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lomax-btn {
  background: #c1a65b;
  color: #000;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.3s;
}

.lomax-btn:hover {
  background: #e3ca7f;
}

.lomax-btn.refuse-all {
  background: #222;
  color: #fff;
  border: 1px solid #444;
}

.lomax-settings {
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 15px;
}

.lomax-settings.hidden {
  display: none;
}

.lomax-cookie-group {
  margin-bottom: 15px;
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.always-on {
  color: #c1a65b;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #555;
  transition: .3s;
  border-radius: 22px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #c1a65b;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.lomax-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}


.lomax-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.lomax-buttons-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 600px; 
  text-align: center;
}

.lomax-buttons-table td {
  width: 33.33%;
  padding: 0 5px;
}

.lomax-buttons-table button {
  width: 100%;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 0;
  letter-spacing: 0.3px;
  border-radius: 5px;
}


.lomax-btn.accept-all {
  background: #c1a65b;
  color: #000;
}

.lomax-btn.accept-all:hover {
  background: #e3ca7f;
}

.lomax-btn.refuse-all {
  background: #222;
  color: #fff;
  border: 1px solid #444;
}

.lomax-btn.settings {
  background: #333;
  color: #fff;
  border: 1px solid #555;
}

.lomax-btn.settings i {
  margin-right: 6px;
  color: #c1a65b;
}

.lomax-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998; 
}


.lomax-banner {
  position: relative;
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  width: 90%;
  max-width: 700px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  z-index: 9999; 
}


body.lomax-modal-open {
  overflow: hidden; 
  pointer-events: none; 
}


body.lomax-modal-open #lomax-cookie-overlay,
body.lomax-modal-open #lomax-cookie-overlay * {
  pointer-events: auto;
}


.lomax-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;        
  margin-top: 20px; 
  margin-bottom: 10px; 
}

.lomax-actions .lomax-btn {
  flex: 1;          
}



/* Sovrascrivo tonalità */
.lomax-overlay {
    background: rgba(30, 41, 59, 0.85); /* Slate con trasparenza */
}

.lomax-banner {
    background: #ffffff;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    border-radius: 16px;
    border: 1px solid rgba(0, 123, 158, 0.1);
}

.lomax-header h3 {
    color: #007B9E; /* Blu d-d.one */
}

.lomax-btn.accept-all {
    background: #007B9E;
    color: #ffffff;
}

.lomax-btn.accept-all:hover {
    background: #005f7a;
}

.lomax-btn.refuse-all {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.lomax-btn.settings {
    background: #ffffff;
    color: #007B9E;
    border: 1px solid #007B9E;
}

.lomax-btn.settings i {
    color: #007B9E;
}

input:checked + .slider {
    background-color: #007B9E;
}

.always-on {
    color: #007B9E;
    font-weight: 600;
}