.auna-page {
  --auna-header-offset: 56px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(32, 102, 136, 0.12), transparent 32%),
    linear-gradient(180deg, #f2f7f8 0%, #e1ecee 100%);
  color: #183642;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body.auna-page.menu-open {
  overflow: hidden;
}

body.auna-page {
  top: 0 !important;
}

html.auna-translation-pending body.auna-page .auna-shell,
html.auna-translation-pending body.auna-page .auna-login-shell {
  opacity: 0;
}

html.auna-translation-pending body.auna-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background:
    radial-gradient(circle at top, rgba(32, 102, 136, 0.1), transparent 34%),
    linear-gradient(180deg, #f2f7f8 0%, #e1ecee 100%);
}

html.auna-translation-pending body.auna-page::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2147483001;
  width: 2.25rem;
  height: 2.25rem;
  margin: -1.125rem 0 0 -1.125rem;
  border: 3px solid rgba(32, 102, 136, 0.22);
  border-top-color: #206688;
  border-radius: 50%;
  animation: auna-spin 0.8s linear infinite;
}

@keyframes auna-spin {
  to {
    transform: rotate(360deg);
  }
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
body > .skiptranslate,
body > iframe[id*="container"],
body > iframe[name*="container"] {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.auna-shell {
  position: relative;
}

.auna-topbar {
  background: rgba(12, 49, 64, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(12, 49, 64, 0.18);
}

.auna-topbar .navbar-brand,
.auna-topbar .nav-link,
.auna-topbar .navbar-text {
  color: #f8fcfd;
}

.auna-topbar .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auna-language-switcher {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: auto;
}

.auna-topbar .auna-language-switcher {
  margin-left: auto;
}

.auna-hero .auna-language-switcher {
  margin-left: 0;
  padding: 0.35rem;
  background: rgba(12, 49, 64, 0.22);
}

.auna-language-button {
  position: relative;
  z-index: 21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 1.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
}

.auna-language-button:hover,
.auna-language-button:focus {
  border-color: rgba(159, 227, 207, 0.9);
  background: rgba(255, 255, 255, 0.18);
  outline: 0;
}

.auna-flag {
  position: relative;
  display: block;
  width: 1.55rem;
  height: 1rem;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(12, 49, 64, 0.16);
  color: transparent;
  font-size: 0;
  pointer-events: none;
}

.auna-flag-spain {
  background: linear-gradient(180deg, #c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75% 100%);
}

.auna-flag-great-britain,
.auna-flag-english {
  background:
    linear-gradient(90deg, transparent 0 43%, #c8102e 43% 57%, transparent 57% 100%),
    linear-gradient(180deg, transparent 0 38%, #c8102e 38% 62%, transparent 62% 100%),
    linear-gradient(90deg, transparent 0 35%, #fff 35% 65%, transparent 65% 100%),
    linear-gradient(180deg, transparent 0 28%, #fff 28% 72%, transparent 72% 100%),
    linear-gradient(27deg, transparent 0 44%, #c8102e 44% 49%, transparent 49% 100%),
    linear-gradient(153deg, transparent 0 44%, #c8102e 44% 49%, transparent 49% 100%),
    linear-gradient(27deg, transparent 0 37%, #fff 37% 61%, transparent 61% 100%),
    linear-gradient(153deg, transparent 0 37%, #fff 37% 61%, transparent 61% 100%),
    #012169;
}

.auna-flag-france {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.auna-flag-basque {
  background:
    linear-gradient(35deg, transparent 0 43%, #fff 43% 49%, #009b48 49% 55%, #fff 55% 61%, transparent 61% 100%),
    linear-gradient(145deg, transparent 0 43%, #fff 43% 49%, #009b48 49% 55%, #fff 55% 61%, transparent 61% 100%),
    linear-gradient(90deg, transparent 0 43%, #fff 43% 57%, transparent 57% 100%),
    linear-gradient(180deg, transparent 0 38%, #fff 38% 62%, transparent 62% 100%),
    #d52b1e;
}

.auna-google-translate {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auna-topbar-session {
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.auna-topbar-user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  color: #f8fcfd;
  line-height: 1.2;
}

.auna-topbar-welcome {
  font-size: 0.76rem;
  white-space: nowrap;
}

.auna-topbar-coupon {
  font-size: 0.8rem;
  white-space: nowrap;
}

.auna-topbar-logout {
  min-height: 2.1rem;
  padding: 0.4rem 0.9rem;
  box-shadow: none;
}

.auna-topbar .nav-link {
  border-radius: 999px;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.auna-topbar .nav-link:hover,
.auna-topbar .nav-link:focus,
.auna-topbar .navbar-brand:hover,
.auna-topbar .navbar-brand:focus {
  color: #9fe3cf;
  background: rgba(255, 255, 255, 0.08);
}

.auna-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(135deg, #206688 0%, #3f8bb0 52%, #77aa00 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(32, 102, 136, 0.22);
}

.auna-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.auna-logo-link img {
  width: 140px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.auna-hero-copy {
  position: relative;
  z-index: 1;
}

.auna-hero-title {
  margin: 0;
  color: lightgray;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.auna-hero-subtitle {
  max-width: 52rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.auna-layout {
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.auna-sidebar-column {
  display: block;
  box-sizing: border-box;
  position: fixed;
  top: var(--auna-header-offset);
  left: var(--auna-sidebar-left, 0px);
  z-index: 1200;
  width: min(86vw, 360px);
  height: calc(100vh - var(--auna-header-offset));
  margin: 0;
  padding: 1rem;
  background: #f4f7f8;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.42s ease, opacity 0.32s ease, visibility 0s linear 0.42s;
  scrollbar-width: none;
}

.auna-sidebar-column::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.auna-sidebar-column.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.42s ease, opacity 0.32s ease, visibility 0s linear 0s;
}

.auna-sidebar-column.is-closing {
  transform: translateX(-110%);
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: transform 0.42s ease, opacity 0.32s ease, visibility 0s linear 0s;
}

.auna-panel,
.auna-login-card,
.auna-content-card,
.auna-sidebar-card {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(24, 54, 66, 0.12);
}

.auna-sidebar-card,
.auna-login-card {
    /*padding: 1.25rem;*/
}

.auna-sidebar-card {
    max-width: 300px;
    margin: 0 auto;
    /*padding: 1.25rem;*/
}

.auna-sidebar-title,
.auna-card-title {
  margin: 0 0 0.85rem;
  color: #183642;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mensajeSesion2 {
  border-radius: 0;
  background: linear-gradient(135deg, #206688, #3f8bb0);
  color: #fff;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.botoncerrarsession,
.auna-login-card input[type="submit"],
.auna-login-card input[type="button"],
.auna-login-card button,
.auna-login-card .btn,
.auna-visitor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #77aa00, #4f8610);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(119, 170, 0, 0.18);
}

.auna-visitor-button:hover,
.auna-visitor-button:focus,
.botoncerrarsession:hover,
.botoncerrarsession:focus {
  color: #fff;
  filter: brightness(1.03);
}

.auna-location {
  margin-bottom: 1rem;
  border-radius: 0;
  background: rgba(32, 102, 136, 0.08);
  padding: 0.85rem 1rem;
  border: 0;
}

.auna-location table,
.auna-location tbody,
.auna-location tr {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.auna-location th,
.auna-location td {
  padding: 0;
}

.titulo {
  color: #206688;
}

.global,
.global2,
.auna-location a {
  color: #183642;
  font-size: 0.95rem;
}

.global:hover,
.auna-location a:hover {
  background: transparent;
  color: #206688;
}

.auna-mobile-menu {
  margin-bottom: 1rem;
}

.auna-mobile-menu .btn {
  border-radius: 0;
}

.auna-sidebar-backdrop {
  display: none;
}

.auna-nav-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin-left: 10px;
  margin-right: 0.75rem;
}

.auna-nav-menu-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  fill: none;
}

.auna-content-card {
  padding: 1.5rem;
}

.auna-content-card table {
  max-width: 100%;
}

.auna-content-card img,
.auna-content-card svg,
.auna-content-card iframe,
.auna-content-card embed {
  max-width: 100%;
  height: auto;
}

.auna-page-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.05rem;
}

.auna-page-heading h1 {
  margin: 0;
  color: #173641;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  line-height: 1.08;
  font-weight: 700;
}

.auna-page-heading p {
  margin: 0;
  max-width: 700px;
  color: #557078;
  font-size: 0.9rem;
  line-height: 1.5;
}

.auna-eyebrow {
  color: #c57d38 !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auna-books-summary-grid {
  display: grid;
  gap: 0.8rem;
}

.auna-book-summary-card {
  display: grid;
  grid-template-columns: minmax(104px, 150px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid rgba(28, 88, 100, 0.12);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
  box-shadow: 0 12px 26px rgba(23, 54, 65, 0.08);
}

.auna-book-summary-cover {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.auna-book-summary-cover img {
  width: min(100%, 138px);
  min-height: 164px;
  max-height: 204px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(28, 88, 100, 0.16);
  background: #fff;
  box-shadow: 0 10px 18px rgba(23, 54, 65, 0.12);
}

.auna-book-summary-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.auna-book-summary-copy h2 {
  margin: 0;
  padding: 0;
  color: #173641;
  font-size: 1.05rem;
  line-height: 1.2;
}

.auna-book-summary-copy p {
  margin: 0;
  color: #405f68;
  font-size: 0.84rem;
  line-height: 1.5;
}

.auna-book-summary-meta {
  color: #1f7a78 !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.auna-books-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.auna-pager-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(28, 88, 100, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #173641;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(23, 54, 65, 0.08);
}

.auna-pager-button:hover,
.auna-pager-button:focus {
  border-color: rgba(31, 122, 120, 0.32);
  background: #e5f2ec;
  color: #173641;
}

.auna-empty-state {
  padding: 1rem;
  border: 1px solid rgba(28, 88, 100, 0.12);
  border-radius: 6px;
  background: #f8faf8;
  color: #405f68;
}

.auna-empty-state h2 {
  margin: 0 0 0.35rem;
  padding: 0;
  color: #173641;
  font-size: 1.02rem;
}

.auna-empty-state p {
  margin: 0;
}

.auna-grades-list {
  display: grid;
  gap: 0.55rem;
}

.auna-grade-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(28, 88, 100, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
  box-shadow: 0 14px 30px rgba(23, 54, 65, 0.08);
}

.auna-grade-book {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.auna-grade-book h2 {
  margin: 0;
  padding: 0;
  color: #173641;
  font-size: 1.08rem;
  line-height: 1.3;
}

.auna-grade-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.auna-grade-details div {
  display: grid;
  gap: 0.2rem;
  min-height: 3.35rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: rgba(31, 122, 120, 0.08);
  border: 1px solid rgba(31, 122, 120, 0.12);
}

.auna-grade-details strong {
  color: #173641;
  font-size: 0.9rem;
  line-height: 1.2;
}

.auna-grade-label {
  color: #c57d38;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.auna-sidebar-card #basic-accordian {
  visibility: visible !important;
  width: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.auna-sidebar-card .accordion_headings {
  position: relative;
  margin: 0 auto 0.35rem;
  padding: 0.75rem 1.25rem 0.75rem 0.95rem;
  border-radius: 0;
  background: linear-gradient(135deg, #206688, #2f7b9f);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  width: 100% !important;
  height: auto !important;
  line-height: 1.2;
  border: 0 !important;
  box-sizing: border-box;
}

.auna-sidebar-card .accordion_headings:hover,
.auna-sidebar-card .header_highlight {
  background: linear-gradient(135deg, #2b7c95, #77aa00);
}

.auna-sidebar-card .accordion_headings > span.flecha {
  left: auto;
  right: 1rem;
  top: 0.9rem;
}

.auna-sidebar-card .accordion_child {
  width: 100%;
  margin: 0 auto 1rem;
  border-radius: 0;
  background: rgba(24, 54, 66, 0.06);
  color: #183642;
  overflow: hidden;
  border: 0;
  display: block;
  box-sizing: border-box;
}

#basic-accordian > div[id$='-content'],
.auna-level-panel,
.auna-book-panel,
.auna-sub-panel {
  overflow: hidden;
  opacity: 0;
  height: 0;
  transition: height 0.26s ease, opacity 0.22s ease, margin 0.26s ease, padding 0.26s ease;
  will-change: height, opacity;
}

#basic-accordian > div[id$='-content'].is-open,
#basic-accordian > div[id$='-content'].is-collapsing,
.auna-level-panel.is-open,
.auna-level-panel.is-collapsing,
.auna-book-panel.is-open,
.auna-book-panel.is-collapsing,
.auna-sub-panel.is-open,
.auna-sub-panel.is-collapsing {
  opacity: 1;
}

.auna-sidebar-card .accordion_child,
.auna-sidebar-card .accordion_child table,
.auna-sidebar-card .accordion_child tr,
.auna-sidebar-card .accordion_child td {
  border: 0 !important;
}

/* The account menu is supplied by the legacy database menu markup. */
#test1-content .accordion_child {
  padding: 0.42rem;
  background: #edf4f2;
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) {
  margin: 0.28rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) > a.boton {
  display: flex !important;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid #d2e3de;
  border-left: 3px solid #287a78;
  border-radius: 6px;
  background: #ffffff;
  box-sizing: border-box;
  color: #174650 !important;
  text-decoration: none;
  text-align: left !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: 0 3px 9px rgba(23, 54, 65, 0.05);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) > a.boton::after {
  content: "";
  margin-left: auto;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 2px solid #2a7c77;
  border-right: 2px solid #2a7c77;
  transform: rotate(45deg);
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) > a.boton:hover,
#test1-content .accordion_child > div[align]:not(.auna-guest-panel) > a.boton:focus {
  border-color: #8fbeb4;
  background: #f5faf8;
  color: #123f49;
  transform: translateX(2px);
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) > a.boton[href*="password"] {
  border-left-color: #c78338;
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) > a.boton[href*="asociar"] {
  border-left-color: #6e9d26;
}

#test1-content .accordion_child > div[align]:not(.auna-guest-panel) .style2 {
  flex: 1 1 auto;
  color: #174650 !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left !important;
}

.auna-sidebar-card .style2,
.auna-sidebar-card .accordion_child td > div,
.auna-sidebar-card .accordion_child td {
  color: #183642;
}

.auna-book-list {
  display: grid;
  gap: 0.6rem;
  padding: 0.3rem 0 0.45rem;
  width: 100%;
  margin: 0 auto;
}

.auna-book-item {
  display: grid;
  gap: 0rem;
  min-width: 0;
}

.auna-level-item {
  display: grid;
  gap: 0;
  min-width: 0;
}

/* The sidebar has three deliberate navigation levels: category, book, and action. */
.auna-level-toggle {
  min-height: 3.45rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #2d7b78;
  border-left: 4px solid #c98838;
  border-radius: 8px;
  background: #e6f1ed;
  box-shadow: none;
}

.auna-level-toggle .auna-toggle-copy strong {
  color: #124650;
  font-size: 0.92rem;
}

.auna-level-toggle .auna-menu-icon {
  background: #247a78;
}

.auna-level-toggle .auna-menu-caret {
  background: #d3e7e2;
  color: #176965;
}

.auna-level-toggle,
.auna-book-toggle,
.auna-sub-toggle,
.auna-book-link,
.auna-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(28, 88, 100, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #eef5f1 100%);
  color: #173641;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 12px 24px rgba(23, 54, 65, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.auna-toggle-main,
.auna-link-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.auna-toggle-copy,
.auna-link-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.auna-toggle-copy strong,
.auna-link-copy strong {
  color: #173641;
  font-size: 0.9rem;
  line-height: 1.2;
}

.auna-toggle-copy small,
.auna-link-copy small {
  color: #5e7981;
  font-size: 0.72rem;
  line-height: 1.25;
}

.auna-menu-icon,
.auna-menu-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.auna-menu-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f7a78, #c57d38);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.auna-menu-icon svg,
.auna-menu-caret svg {
  width: 1rem;
  height: 1rem;
}

.auna-menu-caret {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(31, 122, 120, 0.1);
  color: #1f7a78;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.auna-book-item.is-open > .auna-book-toggle,
.auna-level-item.is-open > .auna-level-toggle,
.auna-level-toggle:hover,
.auna-book-toggle:hover,
.auna-sub-toggle:hover,
.auna-book-link:hover,
.auna-sub-link:hover,
.auna-level-toggle:focus,
.auna-book-toggle:focus,
.auna-sub-toggle:focus,
.auna-book-link:focus,
.auna-sub-link:focus {
  background: linear-gradient(180deg, #ffffff 0%, #e5f2ec 100%);
  border-color: rgba(31, 122, 120, 0.3);
  box-shadow: 0 14px 30px rgba(23, 54, 65, 0.12);
  color: #173641;
  transform: translateY(-1px);
}

.auna-level-item.is-open > .auna-level-toggle,
.auna-level-toggle:hover,
.auna-level-toggle:focus {
  background: #dcece6;
  border-color: #247a78;
  box-shadow: none;
}

.auna-level-toggle.is-open .auna-menu-caret,
.auna-book-toggle.is-open .auna-menu-caret,
.auna-sub-toggle.is-open .auna-menu-caret {
  transform: rotate(180deg);
  background: #1f7a78;
  color: #fff;
}

.auna-level-panel,
.auna-book-panel,
.auna-sub-panel {
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0.15rem 0 0.1rem;
  background: transparent;
}

.auna-level-books {
  display: grid;
  gap: 0.38rem;
  padding: 0.45rem 0 0.05rem 0.62rem;
  width: calc(100% - 0.82rem);
  margin-left: 0.82rem;
  border-left: 2px solid #bbd9d2;
  box-sizing: border-box;
  min-width: 0;
}

.auna-book-toggle {
  min-height: 3.05rem;
  padding: 0.5rem 0.62rem;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 3px 9px rgba(23, 54, 65, 0.06);
}

.auna-book-toggle .auna-menu-icon {
  width: 1.72rem;
  height: 1.72rem;
  border-radius: 7px;
  background: #4f8c83;
}

.auna-book-toggle .auna-menu-caret {
  width: 1.55rem;
  height: 1.55rem;
  background: #edf4f2;
  color: #397d76;
}

.auna-book-toggle .auna-toggle-copy strong {
  font-size: 0.84rem;
}

.auna-book-toggle .auna-toggle-copy small {
  font-size: 0.67rem;
}

.auna-book-item.is-open > .auna-book-toggle,
.auna-book-toggle:hover,
.auna-book-toggle:focus {
  background: #f2f8f6;
  border-color: #78aaa1;
  box-shadow: 0 4px 11px rgba(23, 54, 65, 0.08);
}

.auna-book-actions {
  display: grid;
  gap: 0.32rem;
  width: calc(100% - 1.25rem);
  margin: 0.35rem 0 0.1rem 1.25rem;
  padding: 0.38rem;
  border-left: 2px solid #d5a35e;
  background: #f7f3ea;
  box-sizing: border-box;
  min-width: 0;
}

.auna-book-thumb {
  padding: 0.1rem 0.1rem 0.15rem;
  display: flex;
  justify-content: center;
}

.auna-book-thumb img {
  width: min(100%, 96px);
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(28, 88, 100, 0.12);
  box-shadow: 0 12px 24px rgba(23, 54, 65, 0.08);
}

.auna-book-link,
.auna-sub-link {
  margin: 0;
  font-weight: 500;
}

.auna-book-actions .auna-book-link {
  min-height: 2.15rem;
  gap: 0.42rem;
  padding: 0.38rem 0.45rem;
  border: 1px solid #eadbc3;
  border-radius: 6px;
  background: #fffdf9;
  box-shadow: none;
}

.auna-book-actions .auna-book-link:hover,
.auna-book-actions .auna-book-link:focus {
  background: #fff7e9;
  border-color: #cf9951;
  box-shadow: none;
}

.auna-book-actions .auna-menu-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 5px;
  background: #b47b35;
}

.auna-book-actions .auna-link-main {
  gap: 0.42rem;
}

.auna-book-actions .auna-link-copy strong {
  color: #624720;
  font-size: 0.72rem;
  line-height: 1.1;
}

.auna-book-panel > .auna-book-link,
.auna-book-panel > .auna-sub-toggle {
  width: calc(100% - 1.9rem);
  margin-left: 1.9rem;
}

.auna-sub-toggle {
  margin-top: 0.1rem;
  background: linear-gradient(180deg, #fffaf5 0%, #f5eee1 100%);
}

.auna-sub-panel {
  display: grid;
  gap: 0.4rem;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
}

.auna-sub-link {
  font-size: 0.84rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
  width: calc(100% - 1.9rem);
  margin-left: 1.9rem;
}

.auna-book-item-static .auna-book-link {
  margin-top: 0;
}

.auna-book-link-static .auna-menu-icon {
  background: linear-gradient(135deg, #c57d38, #d29d52);
}

@media (min-width: 576px) {
  .auna-book-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .auna-summary-page {
    display: grid;
    gap: 0.9rem;
  }

  .auna-page-heading {
    gap: 0.3rem;
    margin-bottom: 0.25rem;
  }

  .auna-page-heading h1 {
    font-size: 1.35rem;
  }

  .auna-page-heading p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .auna-books-summary-grid {
    gap: 0.7rem;
  }

  .auna-book-summary-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .auna-book-summary-cover {
    justify-content: center;
  }

  .auna-book-summary-cover img {
    width: min(64vw, 156px);
    min-height: 0;
    max-height: 188px;
  }

  .auna-book-summary-copy {
    gap: 0.3rem;
  }

  .auna-book-summary-copy h2 {
    font-size: 0.98rem;
  }

  .auna-book-summary-copy p {
    font-size: 0.81rem;
    line-height: 1.45;
  }

  .auna-books-pager {
    gap: 0.4rem;
    margin-top: 0.8rem;
  }

  .auna-grade-card {
    grid-template-columns: 1fr;
  }

  .auna-grade-details {
    grid-template-columns: 1fr;
  }
}

.auna-sidebar-card .menu,
.auna-sidebar-card .menu div,
.auna-sidebar-card ul.menu,
.auna-sidebar-card li.menu div {
  width: 100%;
  background: none;
  border: 0 !important;
  box-shadow: none;
}

.auna-sidebar-card ul.menu,
.auna-sidebar-card ul.menu ul {
  width: 100%;
  border: 0 !important;
  background: none;
  box-shadow: none;
  outline: 0;
  padding-left: 0.75rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.auna-sidebar-card ul.menu li,
.auna-sidebar-card ul.menu ul li {
  margin: 0;
  list-style: none;
}

.auna-sidebar-card ul.menu a,
.auna-sidebar-card ul.menu span {
  width: auto;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 1.5rem 0.55rem 1rem;
  color: #183642;
  font-size: 0.9rem;
  box-sizing: border-box;
}

    .auna-sidebar-card ul.menu li:hover,
    .auna-sidebar-card li.menu-resaltado,
    .auna-sidebar-card li.menu-enlace-resaltado,
    .auna-sidebar-card .style2:hover {
        /*background: rgba(32, 102, 136, 0.12);*/
    }

.auna-sidebar-card li.menu {
  overflow: visible;
  border: 0 !important;
  padding-left: 0.75rem;
  padding-right: 1rem;
}

.auna-sidebar-card li.menu > div {
  left: 0;
  top: 0;
  position: relative;
  visibility: hidden;
  display: none;
  padding-left: 0.75rem;
  padding-right: 1rem;
  border: 0 !important;
  box-shadow: none;
}

.auna-sidebar-card li.menu:hover > div,
.auna-sidebar-card li.menu.menu-resaltado > div,
.auna-sidebar-card li.menu:focus-within > div {
  visibility: visible;
  display: block;
}

.auna-sidebar-card ul.menu ul li a,
.auna-sidebar-card ul.menu ul li span {
  font-size: 0.88rem;
}

.auna-sidebar-card ul.menu ul {
  padding-top: 0.4rem;
  padding-bottom: 0.5rem;
}

.auna-sidebar-card ul.menu ul li {
  display: flex;
  justify-content: center;
  padding: 0.3rem 0;
}

.auna-sidebar-card ul.menu ul li a,
.auna-sidebar-card ul.menu ul li span,
.auna-sidebar-card li.menu > div a,
.auna-sidebar-card li.menu > div span {
  width: calc(100% - 3.2rem);
  min-height: 2rem;
  justify-content: center;
  margin: 0 auto;
  padding: 0.5rem 0.85rem;
  background: #3f7fa0;
  color: #f7fbfc;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  border: 0 !important;
  box-shadow: none !important;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.auna-sidebar-card ul.menu ul li a:hover,
.auna-sidebar-card ul.menu ul li a:focus,
.auna-sidebar-card li.menu > div a:hover,
.auna-sidebar-card li.menu > div a:focus {
  background: #66a2c0;
  color: #ffffff;
}

.auna-sidebar-card ul.menu ul li a > div,
.auna-sidebar-card ul.menu ul li span > div,
.auna-sidebar-card li.menu > div a > div,
.auna-sidebar-card li.menu > div span > div,
.auna-sidebar-card li.menu > div .style2 {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  text-align: center !important;
}

.auna-sidebar-card li.menu > div > div,
.auna-sidebar-card .accordion_child > div,
.auna-sidebar-card div[align='justify'] {
  width: auto !important;
  margin: 0.3rem auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.auna-sidebar-card li.menu > div a.boton,
.auna-sidebar-card .accordion_child a.boton {
  display: block !important;
  width: calc(100% - 3.2rem) !important;
  margin: 0 auto !important;
  padding: 0.5rem 0.85rem !important;
  border: 1px solid grey;
  color: #f7fbfc !important;
  text-decoration: none !important;
  text-align: center !important;
  border: 0 !important;
  box-shadow: none !important;
}

.auna-sidebar-card li.menu > div a.boton:hover,
.auna-sidebar-card li.menu > div a.boton:focus,
.auna-sidebar-card .accordion_child a.boton:hover,
.auna-sidebar-card .accordion_child a.boton:focus {
  background: #66a2c0 !important;
  color: #ffffff !important;
}

.auna-guest-panel {
  display: grid;
  gap: 1rem;
  padding: 0.95rem 0.9rem 1.1rem;
}

.auna-guest-copy {
  margin: 0;
  color: #32515d;
  font-size: 0.84rem;
  line-height: 1.55;
}

.auna-guest-copy-small {
  font-size: 0.8rem;
}

.auna-guest-title {
  margin: 0 0 0.75rem;
  color: #183642;
  font-size: 0.92rem;
}

.auna-guest-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(70% - 1.2rem);
  min-height: 2.3rem;
  margin: 0 auto;
  padding: 0.2rem 0.7rem;
  background: #3f7fa0;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 0 !important;
  box-shadow: none !important;
}

.auna-guest-action:hover,
.auna-guest-action:focus {
  background: #66a2c0;
  color: #ffffff !important;
}

.auna-guest-action-secondary {
  background: #5d8da5;
}

.auna-guest-login {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
}

.auna-guest-login-frame {
  display: block;
  width: 100%;
  min-height: 255px;
  border: 0;
  background: transparent;
}

.auna-sidebar-card ul.menu .icono {
  margin: 0.5rem 0;
  padding: 0 1rem 0.75rem;
  width: auto;
}

.auna-sidebar-card ul.menu .icono img {
  max-width: 120px;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(24, 54, 66, 0.16);
}

.auna-sidebar-card span > span.flecha,
.auna-sidebar-card span.desc {
  display: none;
}

.auna-sidebar-card a {
  color: inherit;
}

.auna-footer {
  padding: 2rem 0 3rem;
  color: #32515d;
}

.auna-footer a {
  color: #206688;
}

.auna-footer a:hover {
  color: #77aa00;
}

.auna-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

.auna-footer-contact {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.auna-footer-contact-title {
  color: #206688;
}

.auna-footer-copy {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
}

.auna-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.auna-login-card {
  padding: 1.5rem;
}

.auna-login-card-featured {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(119, 170, 0, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 248, 0.98) 100%);
}

.auna-login-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  background: rgba(32, 102, 136, 0.1);
  color: #206688;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auna-login-iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.auna-login-frame-wrap {
  padding: 1rem 0.75rem;
  background: linear-gradient(180deg, rgba(32, 102, 136, 0.06) 0%, rgba(32, 102, 136, 0.02) 100%);
  border: 1px solid rgba(32, 102, 136, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.auna-session-message {
  margin-bottom: 1rem;
  border-radius: 0;
  background: rgba(119, 170, 0, 0.14);
  color: #32515d;
  padding: 0.8rem 1rem;
}

.auna-login-choices {
  display: grid;
  gap: 1rem;
}

.auna-login-choices > div {
  border-radius: 0;
  background: rgba(24, 54, 66, 0.04);
  padding: 1rem;
  border: 0;
}

.auna-login-choices > div h2 {
  margin: 0 0 0.5rem;
  padding: 0;
  color: #183642;
  font-size: 1rem;
}

.auna-profile-shell {
  display: grid;
  gap: 1.25rem;
}

.auna-profile-intro {
  display: grid;
  gap: 0.55rem;
}

.auna-profile-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  background: rgba(32, 102, 136, 0.1);
  color: #206688;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auna-profile-title {
  margin: 0;
  color: #183642;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
}

.auna-profile-copy {
  margin: 0;
  max-width: 48rem;
  color: #4d6975;
  font-size: 0.98rem;
  line-height: 1.65;
}

.auna-profile-frame {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(32, 102, 136, 0.06) 0%, rgba(32, 102, 136, 0.02) 100%);
  border: 1px solid rgba(32, 102, 136, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  width: 100%;
  box-sizing: border-box;
}

.auna-profile-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 1380px;
  min-height: 1380px;
  border: 0;
  background: transparent;
}

.auna-profile-iframe-compact {
  height: 760px;
  min-height: 760px;
}

.auna-profile-iframe-short {
  height: 560px;
  min-height: 560px;
}

.auna-profile-iframe-dynamic {
  min-height: 900px;
}

.auna-profile-iframe-register {
  min-height: 1100px;
}

.auna-profile-iframe-recovery {
  min-height: 720px;
}

.auna-sidebar-column .auna-sidebar-card {
  width: 100%;
  display: block;
  min-height: 100%;
  margin: 0 auto;
  box-shadow: none;
}

.auna-sidebar-backdrop {
  position: fixed;
  top: var(--auna-header-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  background: rgba(24, 54, 66, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auna-sidebar-backdrop.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.auna-sidebar-backdrop.is-closing {
  display: block;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .auna-topbar .container {
    position: relative;
    flex-wrap: nowrap;
    align-items: flex-start;
    min-height: 7rem;
    padding-right: 10.5rem;
  }

  .auna-topbar-session {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    width: auto;
    margin-left: 0;
    justify-content: flex-end;
    align-self: auto;
  }

  .auna-topbar .auna-language-switcher {
    position: absolute;
    top: 3.65rem;
    right: 0.75rem;
    margin-left: 0;
  }

  .auna-content-card,
  .auna-sidebar-card,
  .auna-login-card {
    border-radius: 0;
    padding: 1rem;
  }

  .auna-footer-links {
    align-items: center;
    flex-direction: column;
  }
}
