.propozzito-cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(100% - 32px, 480px);
  max-height: calc(100vh - 48px);
  padding: 0;
  background: #ffffff;
  color: #0a2363;
  border: 1px solid #d9e1f2;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(12, 26, 61, 0.12);
  overflow: auto;
}

.propozzito-cookie-consent[hidden] {
  display: none !important;
}

.propozzito-cookie-consent__content {
  padding: 20px;
}

.propozzito-cookie-consent__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7a9c;
}

.propozzito-cookie-consent__title {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #0a2363;
}

.propozzito-cookie-consent__text,
.propozzito-cookie-consent__legal,
.propozzito-cookie-consent__preferences-text,
.propozzito-cookie-consent__helper {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #5f6f92;
}

.propozzito-cookie-consent__legal {
  margin-top: 12px;
}

.propozzito-cookie-consent__legal a {
  color: #0a2363;
  font-weight: 600;
  text-decoration: underline;
}

.propozzito-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.propozzito-cookie-consent__actions--stack {
  margin-top: 20px;
}

.propozzito-cookie-consent__button {
  min-height: 40px;
  min-width: 132px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #cfd8eb;
  background: #ffffff;
  color: #31405f;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.propozzito-cookie-consent__button:hover {
  border-color: #b7c4de;
  background: #f7f9fd;
}

.propozzito-cookie-consent__button--primary {
  background: #0a2363;
  color: #ffffff;
  border-color: #0a2363;
}

.propozzito-cookie-consent__button--primary:hover {
  background: #162954;
  border-color: #162954;
}

.propozzito-cookie-consent__preferences {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4ebf8;
}

.propozzito-cookie-consent__preferences-title {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0a2363;
}

.propozzito-cookie-consent__preferences-text {
  margin-bottom: 14px;
}

.propozzito-cookie-consent__options {
  display: grid;
  gap: 10px;
}

.propozzito-cookie-consent__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e4ebf8;
  border-radius: 12px;
  background: #f9fbff;
}

.propozzito-cookie-consent__option input {
  margin-top: 4px;
}

.propozzito-cookie-consent__option-copy {
  display: grid;
  gap: 4px;
}

.propozzito-cookie-consent__option-copy strong {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #0a2363;
}

.propozzito-cookie-consent__option-copy span {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5f6f92;
}

.propozzito-cookie-consent__helper {
  margin-top: 14px;
}

.propozzito-cookie-consent__manage {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d9e1f2;
  border-radius: 999px;
  background: #ffffff;
  color: #0a2363;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(12, 26, 61, 0.1);
  cursor: pointer;
}

.propozzito-cookie-consent__manage[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .propozzito-cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-height: calc(100vh - 32px);
  }

  .propozzito-cookie-consent__actions,
  .propozzito-cookie-consent__actions--stack {
    flex-direction: column;
  }

  .propozzito-cookie-consent__button {
    width: 100%;
    min-width: 0;
  }

  .propozzito-cookie-consent__manage {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }
}
