:root {
  --nooria-bg: #070b12;
  --nooria-panel: #111722;
  --nooria-line: #2b3548;
  --nooria-text: #f5f7fb;
  --nooria-muted: #9aa4b6;
  --nooria-primary: #8238f5;
  --nooria-primary-2: #5f2eea;
}

body.fixed {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 64%, rgba(130, 56, 245, 0.22), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(42, 125, 255, 0.12), transparent 28%),
    #070b12;
  color: var(--nooria-text);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body.fixed::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 43%, rgba(130, 56, 245, 0.12) 49%, transparent 56%),
    linear-gradient(250deg, transparent 0 44%, rgba(255, 64, 87, 0.08) 50%, transparent 57%);
  filter: blur(18px);
  animation: nooriaPublicGlow 14s ease-in-out infinite alternate;
}

body.fixed #container,
body.fixed #wrapper,
body.fixed #mainContent {
  background: transparent;
}

body.fixed #header.navbar {
  min-height: 74px;
  background: transparent;
  border: 0;
}

body.fixed #rack-functions {
  max-width: 1160px;
  width: calc(100% - 40px);
}

body.fixed #logo {
  margin: 0;
  padding: 28px 0 10px;
  text-align: center;
}

body.fixed #logo a {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

body.fixed #logo a::after {
  content: "Comunica";
  display: block;
  margin-top: 6px;
  color: var(--nooria-muted);
  font-size: 14px;
  font-weight: 700;
}

body.fixed #wrapper.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

body.fixed .panel {
  margin: 34px auto 0;
  padding: 34px;
  max-width: 920px;
  border: 1px solid rgba(137, 152, 180, 0.25);
  border-radius: 14px;
  background: rgba(17, 23, 34, 0.9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

body.fixed .panel:has(form) {
  max-width: 760px;
}

body.fixed .content,
body.fixed .well {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.fixed .content ul,
body.fixed .content p {
  margin: 0 0 16px;
  padding: 0;
}

body.fixed .content > p:last-child {
  margin-bottom: 0;
}

body.fixed .content a:not(.button):not(.btn) {
  display: block;
  margin: 12px 0;
  padding: 17px 18px;
  border: 1px solid rgba(137, 152, 180, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

body.fixed .content a:hover {
  border-color: rgba(130, 56, 245, 0.7);
  background: rgba(130, 56, 245, 0.16);
}

body.fixed .content h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

body.fixed .content form {
  display: grid;
  gap: 18px;
  margin: 0;
  max-width: 560px;
}

body.fixed .content form:has(table),
body.fixed .content form:has(.list) {
  max-width: 100%;
}

body.fixed .content form p {
  display: grid;
  gap: 9px;
  color: var(--nooria-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

body.fixed input[type="text"],
body.fixed input[type="email"],
body.fixed input[type="password"],
body.fixed select,
body.fixed textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(137, 152, 180, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  outline: none;
}

body.fixed input[type="text"]:focus,
body.fixed input[type="email"]:focus,
body.fixed input[type="password"]:focus,
body.fixed select:focus,
body.fixed textarea:focus {
  border-color: rgba(130, 56, 245, 0.92);
  box-shadow: 0 0 0 3px rgba(130, 56, 245, 0.18);
}

body.fixed input[type="submit"],
body.fixed input[type="button"],
body.fixed button,
body.fixed .button,
body.fixed .btn {
  width: fit-content;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--nooria-primary), var(--nooria-primary-2));
  color: #fff;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(95, 46, 234, 0.28);
}

body.fixed input[type="submit"]:hover,
body.fixed input[type="button"]:hover,
body.fixed button:hover,
body.fixed .button:hover,
body.fixed .btn:hover {
  filter: brightness(1.08);
}

body.fixed .content .required,
body.fixed .content .error,
body.fixed .content .alert {
  border-radius: 8px;
}

body.fixed .content .error {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ff6f82;
}

body.fixed .content .required {
  color: #ff7f8f;
  font-weight: 800;
}

body.fixed .content table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: transparent;
}

body.fixed .content table tr,
body.fixed .content table td,
body.fixed .content .attributeinput,
body.fixed .content .attributename {
  border: 0;
  background: transparent !important;
  color: var(--nooria-text);
}

body.fixed .content table td {
  padding: 0 12px 0 0;
  vertical-align: middle;
}

body.fixed .content table td:first-child {
  width: 240px;
}

body.fixed .content label,
body.fixed .content .attributename label {
  color: var(--nooria-text);
  font-weight: 800;
}

body.fixed .content input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0 10px 0 0;
  accent-color: var(--nooria-primary);
  vertical-align: middle;
}

body.fixed .content .information {
  margin: 20px 0 12px;
  color: var(--nooria-muted);
  font-size: 17px;
  font-weight: 800;
}

body.fixed .content ul.list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}

body.fixed .content li.list {
  display: grid;
  grid-template-columns: 28px minmax(180px, 290px) 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(137, 152, 180, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  list-style: none;
}

body.fixed .content li.list label {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  min-width: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

body.fixed .content li.list label::before,
body.fixed .content li.list label::after {
  display: none !important;
  content: none !important;
}

body.fixed .content li.list .btn-group,
body.fixed .content li.list .btn-group > label {
  display: contents !important;
}

body.fixed .content li.list .btn-group > label > label.btn:first-child {
  display: none !important;
}

body.fixed .content li.list label.btn {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  white-space: normal !important;
}

body.fixed .content li.list label b {
  font-weight: 800;
}

body.fixed .content .listdescription {
  display: block !important;
  color: var(--nooria-muted);
  font-size: 14px;
  line-height: 1.4;
}

body.fixed .content li.list input[type="checkbox"] {
  display: inline-block !important;
  position: static !important;
  opacity: 1 !important;
  width: 22px !important;
  min-height: 0;
  height: 22px !important;
}

body.fixed .content table + .information {
  margin-top: 4px;
}

body.fixed .content table tr:has(input[name^="attribute"]) {
  display: none;
}

body.fixed img[src*="power-phplist"],
body.fixed img[src*="powered"],
body.fixed p:has(img) {
  display: none;
}

body.fixed #mainContent::before {
  content: "Centro de preferencias y comunicaciones de Nooria.";
  display: block;
  margin: 0 auto 16px;
  max-width: 720px;
  color: var(--nooria-muted);
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
}

body.fixed #mainContent::after {
  display: none;
  content: none;
}

body.fixed .nooria-site-footer {
  margin-top: 42px;
  background: #17072f;
  color: #fff;
}

body.fixed .nooria-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.35fr 1fr;
  gap: 48px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

body.fixed .nooria-footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

body.fixed .nooria-footer-column h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

body.fixed .nooria-footer-column a,
body.fixed .nooria-footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

body.fixed .nooria-footer-column a:hover {
  color: #d6a6ff;
}

body.fixed .nooria-footer-contact p {
  padding-left: 0;
}

body.fixed .nooria-footer-logo {
  display: block;
  width: 180px;
  height: 62px;
  margin-top: 22px;
  background: url("../images/logo-nooria-footer.png") left center / contain no-repeat;
}

body.fixed .nooria-footer-bottom {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  background: #c999f3;
  color: #201332;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

body.fixed .nooria-footer-bottom a {
  color: #201332;
  text-decoration: none;
}

body.fixed .nooria-cookie-banner[hidden] {
  display: none;
}

body.fixed .nooria-cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(410px, calc(100vw - 48px));
}

body.fixed .nooria-cookie-card {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: #263040;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

body.fixed .nooria-cookie-card h2 {
  margin: 0 0 12px;
  color: #263040;
  font-size: 20px;
  font-weight: 800;
}

body.fixed .nooria-cookie-card p,
body.fixed .nooria-cookie-options label {
  color: #4b5565;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

body.fixed .nooria-cookie-options {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

body.fixed .nooria-cookie-options[hidden] {
  display: none;
}

body.fixed .nooria-cookie-options input {
  margin-right: 8px;
  accent-color: var(--nooria-primary);
}

body.fixed .nooria-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

body.fixed .nooria-cookie-actions button {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #4b197a;
  border-radius: 4px;
  background: #fff;
  color: #2b1742;
  box-shadow: none;
  font-size: 13px;
}

body.fixed .nooria-cookie-actions button[data-nooria-cookie-accept] {
  border-color: #c999f3;
  background: #c999f3;
  color: #241037;
}

@keyframes nooriaPublicGlow {
  from {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -2%, 0) scale(1.04);
  }
}

@media (max-width: 760px) {
  body.fixed #wrapper.container,
  body.fixed #rack-functions {
    width: calc(100% - 24px);
  }

  body.fixed .panel {
    padding: 22px 16px;
  }

  body.fixed .content a {
    font-size: 14px;
  }

  body.fixed .content table,
  body.fixed .content table tbody,
  body.fixed .content table tr,
  body.fixed .content table td {
    display: block;
    width: 100%;
  }

  body.fixed .content table td {
    padding: 0;
  }

  body.fixed .content table td:first-child {
    width: 100%;
    margin-bottom: 6px;
  }

  body.fixed .content li.list {
    grid-template-columns: 28px 1fr;
  }

  body.fixed .content .listdescription {
    grid-column: 2;
  }

  body.fixed input[type="submit"],
  body.fixed input[type="button"],
  body.fixed button,
  body.fixed .button,
  body.fixed .btn {
    width: 100%;
  }

  body.fixed .nooria-footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    width: calc(100% - 32px);
    padding: 30px 0 34px;
  }

  body.fixed .nooria-footer-bottom {
    flex-wrap: wrap;
    text-align: center;
  }

  body.fixed .nooria-cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  body.fixed .nooria-cookie-actions {
    grid-template-columns: 1fr;
  }
}

body.fixed .content li.list label.btn.btn-default,
body.fixed .content li.list label.btn.btn-default.active,
body.fixed .content li.list label.btn.btn-default:hover,
body.fixed .content li.list label.btn.btn-default:focus {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.fixed .content ul.list li.list.form-group {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
}

body.fixed .content li.list.form-group > input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

body.fixed .content li.list.form-group > .btn-group {
  display: grid !important;
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  width: 100%;
}

body.fixed .content li.list.form-group > .btn-group > label {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin: 0 !important;
}

body.fixed .content li.list label.btn:has(.glyphicon),
body.fixed .content li.list label.btn-default:has(.glyphicon) {
  display: none !important;
}

body.fixed .content li.list label.btn.btn-default.active {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-shadow: none !important;
}

body.fixed .content li.list label.btn.btn-default.active b {
  display: block;
  color: #fff !important;
  font-size: 15px;
  line-height: 1.35;
  white-space: normal;
}

body.fixed .content li.list.form-group .listdescription {
  display: block !important;
  margin: 0;
  color: #bac3d3 !important;
  font-size: 13px;
  line-height: 1.45;
}
