
/* Impresiona.me Cookies Banner - v2 */
.impresioname-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #203530; /* verde oscuro */
  color: #ffffff;
  z-index: 99999;
  box-shadow: 0 -3px 15px rgba(0,0,0,0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 1px;
  position: relative;
}

.cookie-text {
  flex: 1 1 auto;
  padding-right: 20px;
}

.cookie-text p {
  margin: 0 0 30px 0;
  line-height: 1.35;
  font-size: 15px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.imp-btn {
  background: none;
  border: 2px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.imp-accept {
  background-color: #ffffff;
  color: #1e4620;
  border-color: transparent;
}
.imp-reject {
  background: transparent;
}
.imp-config {
  background: rgba(255,255,255,0.06);
}

/* Image on the right, overflowing */
.cookie-image-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 160px;
  height: 160px;
  margin-right: -40px; /* makes it overflow (desbordar) */
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-image {
  height: 190px;
  width: auto;
  display: block;
  transform: translateY(-40%);
  /* box-shadow: 0 6px 18px rgba(0,0,0,0.25); */
}

/* Modal styles */
.impresioname-cookie-modal { 
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.imp-modal {
  position: relative;
  background: #ffffff;
  color: #111;
  width: 92%;
  max-width: 640px;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  z-index: 100001;
}

.imp-modal h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
}

.imp-cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.imp-cookie-desc {
  font-size: 13px;
  color: #666;
  max-width: 60%;
}

/* simple checkbox style */
.imp-cookie-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

/* modal actions */
.imp-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.imp-save {
  background-color: #1e4620;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
}

.imp-cancel {
  background: transparent;
  border: 1px solid #ccc;
  padding: 10px 14px;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .cookie-content { padding: 14px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-image-wrap { margin-right: 0; transform: translateX(30%); order: 2; }
  .cookie-text { order: 1; }
}
