@charset "UTF-8";

/* src/styles.scss */
.modal {
  z-index: 1200 !important;
}
.modal-backdrop {
  z-index: 1100 !important;
}
@font-face {
  font-family: "regular";
  src: url("./media/Poppins-Regular.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "bold";
  src: url("./media/Poppins-Bold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "semiBold";
  src: url("./media/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("./media/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --font-family-base: "regular", sans-serif;
  --ciaf-sidebar-width: 277px;
  --ciaf-topbar-height: 60px;
  --ciaf-radius: 10px;
  --bg-1: rgba(15,25,50,0.95);
  --bg-2: rgba(59, 130, 246, 0.18);
  --bg-3: rgba(255,255,255,0.08);
  --bg-input: rgba(255,255,255,0.08);
  --color-nav: #7e7e7e;
  --color-nav-active: #ffffff;
  --bg-nav-active: #222327;
  --btn1-bg: rgba(255,255,255,0.08);
  --btn1-border: rgba(255,255,255,0.15);
  --btn1-color: var(--ciaf-text);
  --btn1-hover-bg: rgba(59,130,246,0.15);
  --btn1-hover-border: rgba(59,130,246,0.4);
  --btn1-hover-color: var(--ciaf-text);
  --unitxp-bg: rgba(34,197,94,0.10);
  --unitxp-border: rgba(34,197,94,0.25);
  --unitxp-color: #bbf7d0;
  --ciaf-bg-base: #0b0f1a;
  --ciaf-bg-card: rgba(15,25,55,0.85);
  --ciaf-bg-card-hover: rgba(20,30,70,0.92);
  --ciaf-bg-sidebar: #0d1220;
  --ciaf-body-bg: #050a19;
  --ciaf-bg-subtle: rgba(255,255,255,.04);
  --ciaf-bg-glass: rgba(255,255,255,.08);
  --ciaf-border: rgba(255,255,255,.06);
  --ciaf-border-hover: rgba(59,130,246,.35);
  --ciaf-text: #ffffff;
  --ciaf-text-muted: #64748b;
  --ciaf-text-inv: #ffffff;
  --ciaf-accent: #3b82f6;
  --ciaf-accent-soft: rgba(59,130,246,.12);
  --ciaf-accent-grad:
    linear-gradient(
      90deg,
      #2563eb,
      #3b82f6);
  --ciaf-hover: rgba(59,130,246,.08);
  --ciaf-success: #22c55e;
  --ciaf-danger: #ef4444;
  --ciaf-danger-soft: rgba(239,68,68,.18);
  --ciaf-grad-avatar:
    linear-gradient(
      135deg,
      #1d4ed8,
      #7c3aed);
  --ciaf-grad-purple:
    linear-gradient(
      135deg,
      #7c3aed,
      #a855f7);
  --ciaf-grad-orange:
    linear-gradient(
      135deg,
      #ea580c,
      #f97316);
  --ciaf-grad-green:
    linear-gradient(
      135deg,
      #16a34a,
      #22c55e);
  --ciaf-grad-amber:
    linear-gradient(
      135deg,
      #b45309,
      #f59e0b);
  --ciaf-grad-gold:
    linear-gradient(
      135deg,
      #eab308,
      #fbbf24);
  --ciaf-grad-silver:
    linear-gradient(
      135deg,
      #94a3b8,
      #cbd5e1);
  --ciaf-grad-blue:
    linear-gradient(
      135deg,
      #2563eb,
      #60a5fa);
  --ciaf-grad-warm-dk:
    linear-gradient(
      145deg,
      #1e1a0a 0%,
      #2b2000 55%,
      #191300 100%);
  --ciaf-grad-rank-me:
    linear-gradient(
      90deg,
      rgba(37,99,235,.35),
      rgba(96,165,250,.18));
  --ciaf-gold-hint: rgba(234,179,8,.08);
  --ciaf-gold-soft: rgba(234,179,8,.18);
  --ciaf-brand-grad-1:
    linear-gradient(
      90deg,
      #60a5fa 0%,
      #c084fc 100%);
  --ciaf-brand-grad-2:
    linear-gradient(
      90deg,
      #c084fc 0%,
      #f472b6 100%);
  --login-body-bg:
    linear-gradient(
      135deg,
      #0f172a,
      #0b1b2f);
  --login-glow-bg:
    radial-gradient(
      circle,
      rgba(0,123,255,.3),
      transparent 60%);
  --login-overlay-bg:
    radial-gradient(
      circle at center,
      #0b1b2f 0%,
      #050c18 100%);
  --login-card-bg: rgba(15, 23, 42, 0.85);
  --login-input-bg: #1e293b;
}
html[data-ciaf-theme=light] {
  --bg-1: #ffffff;
  --bg-3: rgba(59, 130, 246, 1);
  --bg-input: rgba(236, 236, 236, 0.5);
  --color-nav: #7e7e7e;
  --color-nav-active: #1E3FB4;
  --bg-nav-active: rgb(232.5, 235.8, 247.5);
  --btn1-bg: #ffffff;
  --btn1-border: rgba(148,163,184,0.45);
  --btn1-color: #334155;
  --btn1-hover-bg: rgb(232.5, 235.8, 247.5);
  --btn1-hover-border: rgba(100,116,139,0.55);
  --btn1-hover-color: #0f172a;
  --unitxp-bg: #ecfdf3;
  --unitxp-border: rgba(34,197,94,0.35);
  --unitxp-color: #166534;
  --ciaf-bg-base: #f1f5f9;
  --ciaf-bg-card: #ffffff;
  --ciaf-bg-card-hover: #f8fafc;
  --ciaf-bg-sidebar: #ffffff;
  --ciaf-body-bg:
    linear-gradient(
      135deg,
      #e8eef7 0%,
      #f1f5f9 50%,
      #eaf0fa 100%);
  --ciaf-bg-subtle: rgba(0,0,0,.04);
  --ciaf-bg-glass: rgba(0,0,0,.06);
  --ciaf-border: rgba(0,0,0,.09);
  --ciaf-border-hover: rgba(59,130,246,.4);
  --ciaf-text: #0f172a;
  --ciaf-text-muted: #475569;
  --ciaf-accent: #3b82f6;
  --ciaf-accent-soft: rgba(59,130,246,.10);
  --ciaf-hover: rgba(59,130,246,.06);
  --ciaf-brand-grad-1:
    linear-gradient(
      90deg,
      #2563eb 0%,
      #7c3aed 100%);
  --ciaf-brand-grad-2:
    linear-gradient(
      90deg,
      #7c3aed 0%,
      #db2777 100%);
}
html[data-ciaf-theme=light] .ciaf-nav-btn {
  color: var(--ciaf-text-muted);
}
html[data-ciaf-theme=light] .ciaf-nav-sub {
  color: var(--ciaf-text-muted);
}
html[data-ciaf-theme=light] .ciaf-nav-sub:hover {
  background: var(--ciaf-bg-glass);
  color: #1e40af;
}
html[data-ciaf-theme=light] .ciaf-topbar-toggle {
  color: #475569;
}
html[data-ciaf-theme=light] .ciaf-topbar-toggle:hover {
  background: var(--ciaf-bg-glass);
  color: #0f172a;
}
html[data-ciaf-theme=light] .ciaf-lang-btn:hover {
  background: var(--ciaf-bg-glass);
}
html[data-ciaf-theme=light] .nav-section-label {
  color: #94a3b8;
}
html[data-ciaf-theme=light] .ciaf-stat-badge {
  color: #334155;
}
html[data-ciaf-theme=light] .sidebar-brand-slogan {
  color: rgba(71, 85, 105, 0.7);
}
html[data-ciaf-theme=light] .sidebar-brand-name {
  background: var(--ciaf-brand-grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
html[data-ciaf-theme=light] .sidebar-brand-name span {
  background: var(--ciaf-brand-grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
html[data-ciaf-theme=light] .ciaf-card-2 {
  background: var(--ciaf-bg-subtle);
  border: 1px solid rgba(0, 0, 0, 0.09);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: var(--font-family-base);
  margin: 0;
}
.ff-bold {
  font-family: "bold", sans-serif;
}
body.login-page {
  min-height: 100vh;
  background: var(--login-body-bg);
  color: var(--ciaf-text-inv);
  overflow: hidden;
  position: relative;
}
body.login-page .bg-glow {
  position: fixed;
  width: 800px;
  height: 800px;
  background: var(--login-glow-bg);
  top: -200px;
  right: -200px;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
body.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.25),
      transparent 50%),
    radial-gradient(
      circle at 80% 80%,
      rgba(34, 197, 94, 0.15),
      transparent 55%);
  animation: moveGlow 8s infinite alternate ease-in-out;
  z-index: 0;
  pointer-events: none;
}
body.login-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}
@keyframes moveGlow {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}
.login-wrapper {
  position: relative;
  z-index: 2;
}
.login-brand .brand-sub {
  color: #94a3b8;
}
.craia-badge {
  display: inline-block;
  font-size: 0.8125rem;
  color: #60a5fa;
  background: var(--ciaf-accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.18);
  padding: 10px 16px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.login-card {
  background: var(--login-card-bg);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.2);
  animation: fadeInUp 1s ease both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text-color-3 {
  color: #cbd5e1;
}
.inp-dark {
  background-color: var(--login-input-bg) !important;
  border: 1px solid #334155 !important;
  color: var(--ciaf-text-inv) !important;
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.inp-dark::placeholder {
  color: #475569;
}
.inp-dark:focus {
  background-color: var(--login-input-bg) !important;
  border-color: #3b82f6 !important;
  color: var(--ciaf-text-inv) !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
  outline: none;
}
.btn-login {
  position: relative;
  overflow: hidden;
  background: var(--ciaf-accent-grad);
  border: none;
  border-radius: 10px;
  color: var(--ciaf-text-inv);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transition: 0.8s;
}
.btn-login:hover::before {
  left: 120%;
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  color: var(--ciaf-text-inv);
}
.login-links a {
  color: #93c5fd;
  text-decoration: none;
}
.login-links a:hover {
  text-decoration: underline;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--ciaf-success);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.login-overlay {
  position: fixed;
  inset: 0;
  background: var(--login-overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.login-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.loader-box {
  text-align: center;
  color: var(--ciaf-text-inv);
  animation: fadeZoom 0.8s ease both;
}
@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.portal-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-top: 3px solid #3b82f6;
  margin: 0 auto 25px;
  animation: spin 1.2s linear infinite;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loader-box p {
  font-size: 1rem;
  margin-bottom: 8px;
}
.loader-box small {
  font-size: 0.8125rem;
  color: #94a3b8;
}
body.ciaf-dashboard-body {
  font-family: var(--font-family-base);
  background: var(--ciaf-body-bg);
  color: var(--ciaf-text);
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
body.ciaf-dashboard-body::before {
  content: none;
}
.card-1 {
  background: var(--ciaf-bg-card);
  border: 1px solid var(--ciaf-border);
  border-radius: var(--ciaf-radius);
  padding: 1.1rem 1.2rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.card-1:hover {
  background: var(--ciaf-bg-card-hover);
  border-color: var(--ciaf-border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.pea-card-detalle-icon {
  transition: transform 0.2s ease;
}
.pea-card-topblock {
  height: 126px;
  overflow: hidden;
}
.pea-card-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  min-height: 2.4em;
}
.pea-card-detalle-toggle {
  border: 1px solid transparent !important;
  background: color-mix(in srgb, var(--ciaf-bg-subtle) 65%, transparent);
  color: var(--ciaf-text-muted);
  box-shadow: none !important;
}
.pea-card-detalle-toggle:hover,
.pea-card-detalle-toggle:focus,
.pea-card-detalle-toggle:active {
  border-color: transparent !important;
  background: color-mix(in srgb, var(--ciaf-accent-soft) 55%, transparent);
  color: var(--ciaf-text);
}
.pea-card-detalle-toggle[aria-expanded=true] .pea-card-detalle-icon {
  transform: rotate(180deg);
}
.card-2 {
  background: var(--ciaf-bg-subtle);
  border: 1px solid var(--ciaf-border);
  border-radius: 14px;
  transition: border-color 0.3s;
}
.card-2:hover {
  border-color: var(--ciaf-border-hover);
}
.pea-toast-container {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1100;
}
.toast.pea-toast-soft {
  background: color-mix(in srgb, var(--ciaf-bg-card) 88%, transparent);
  border: 1px solid var(--ciaf-border);
  color: var(--ciaf-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.pea-toast-soft.show {
  opacity: 0.9;
  transform: translateY(0);
}
.toast.pea-toast-soft.pea-toast-success {
  background: color-mix(in srgb, var(--ciaf-success) 18%, var(--ciaf-bg-card));
  border-color: color-mix(in srgb, var(--ciaf-success) 40%, var(--ciaf-border));
}
.toast.pea-toast-soft.pea-toast-danger {
  background: color-mix(in srgb, var(--ciaf-danger) 14%, var(--ciaf-bg-card));
  border-color: color-mix(in srgb, var(--ciaf-danger) 35%, var(--ciaf-border));
}
.toast.pea-toast-soft .btn-close {
  filter: invert(1) grayscale(1) brightness(1.8);
}
.ciaf-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ciaf-sidebar {
  display: flex;
  flex-direction: column;
  width: var(--ciaf-sidebar-width);
  min-width: var(--ciaf-sidebar-width);
  height: 100vh;
  background: var(--ciaf-bg-sidebar);
  border-right: 1px solid var(--ciaf-border);
  overflow: hidden;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--ciaf-topbar-height);
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--ciaf-border);
  flex-shrink: 0;
}
.sidebar-brand-group {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  overflow: hidden;
  min-width: 0;
}
.sidebar-brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: var(--ciaf-brand-grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
}
.sidebar-brand-name span {
  background: var(--ciaf-brand-grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-brand-slogan {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.6);
  font-style: italic;
  letter-spacing: 0.025em;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.25s, max-width 0.25s;
}
.ciaf-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}
.ciaf-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sidebar-nav-area {
  flex: 1;
  overflow-y: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 0;
  padding-left: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar-nav-area::-webkit-scrollbar {
  display: none;
}
.sidebar-footer {
  border-top: 1px solid var(--ciaf-border);
  flex-shrink: 0;
}
.offcanvas.ciaf-sidebar {
  width: var(--ciaf-sidebar-width) !important;
  background: var(--ciaf-bg-sidebar);
  border-right: 1px solid var(--ciaf-border);
}
.offcanvas.ciaf-sidebar .offcanvas-header {
  height: var(--ciaf-topbar-height);
  border-bottom: 1px solid var(--ciaf-border);
}
.ciaf-nav-btn {
  display: flex;
  align-items: center;
  width: 100%;
  color: var(--ciaf-text-muted);
  border-radius: 8px;
  padding: 0.42rem 0.75rem;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  border: none;
  background: transparent;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.ciaf-nav-btn:hover {
  background: var(--ciaf-accent-soft);
  color: #cbd5e1;
}
.ciaf-nav-btn:focus-visible {
  outline: 2px solid var(--ciaf-accent);
  outline-offset: 1px;
}
.ciaf-nav-btn.active {
  background: var(--ciaf-accent-soft);
  color: var(--ciaf-accent);
}
.nav-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "semiBold", sans-serif;
}
.ciaf-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  opacity: 0.55;
}
.ciaf-nav-btn[aria-expanded=true] .ciaf-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.ciaf-nav-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ciaf-text-muted);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.ciaf-nav-sub:hover {
  background: var(--ciaf-bg-subtle);
  color: #e2e8f0;
}
.nav-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ciaf-text-muted);
  padding: 0.9rem 0.75rem 0.3rem;
  opacity: 0.6;
}
.ciaf-content-area {
  flex: 1;
  min-width: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ciaf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ciaf-topbar-height);
  min-height: var(--ciaf-topbar-height);
  padding: 0 1.25rem;
  gap: 1rem;
  background: transparent;
  flex-shrink: 0;
}
.ciaf-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ciaf-grad-avatar);
  color: var(--ciaf-text-inv);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.ciaf-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ciaf-text);
  background: var(--ciaf-bg-subtle);
  border: 1px solid var(--ciaf-border);
  border-radius: 20px;
  padding: 0.22rem 0.7rem;
  white-space: nowrap;
}
.ciaf-stat-badge.highlight {
  background: var(--ciaf-gold-hint);
  border-color: rgba(234, 179, 8, 0.25);
}
.ciaf-main {
  flex: 1;
  background: transparent;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.06) transparent;
}
.ciaf-pending-item,
.ciaf-activity-item {
  border-bottom: 1px solid var(--ciaf-border);
}
.ciaf-pending-item:last-child,
.ciaf-activity-item:last-child {
  border-bottom: none;
}
.ciaf-topbar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ciaf-border);
  border-radius: 8px;
  background: transparent;
  color: var(--ciaf-text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.ciaf-topbar-toggle:hover {
  background: var(--ciaf-accent-soft);
  color: var(--ciaf-accent);
  border-color: var(--ciaf-border-hover);
}
.ciaf-sidebar.is-collapsed {
  width: 60px;
  min-width: 60px;
}
.ciaf-sidebar.is-collapsed:hover {
  width: var(--ciaf-sidebar-width);
  box-shadow: 6px 0 28px rgba(0, 0, 0, 0.45);
  z-index: 200;
  position: relative;
}
.ciaf-sidebar.is-collapsed:not(:hover) .sidebar-brand-text,
.ciaf-sidebar.is-collapsed:not(:hover) .sidebar-brand-slogan,
.ciaf-sidebar.is-collapsed:not(:hover) .nav-label,
.ciaf-sidebar.is-collapsed:not(:hover) .ciaf-chevron,
.ciaf-sidebar.is-collapsed:not(:hover) .btn-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.ciaf-sidebar.is-collapsed:hover .sidebar-brand-text,
.ciaf-sidebar.is-collapsed:hover .sidebar-brand-slogan,
.ciaf-sidebar.is-collapsed:hover .nav-label,
.ciaf-sidebar.is-collapsed:hover .ciaf-chevron,
.ciaf-sidebar.is-collapsed:hover .btn-label {
  opacity: 1;
  max-width: 200px;
}
.ciaf-sidebar.is-collapsed:not(:hover) .ciaf-nav-btn {
  justify-content: center !important;
  padding-left: 0;
  padding-right: 0;
  gap: 0;
}
.ciaf-sidebar.is-collapsed:not(:hover) .ciaf-nav-btn > span.d-flex {
  justify-content: center;
  gap: 0;
}
.ciaf-sidebar.is-collapsed:not(:hover) .collapse {
  display: none !important;
}
.sidebar-brand-text,
.nav-label,
.ciaf-chevron,
.btn-label {
  transition: opacity 0.2s ease, max-width 0.2s ease;
}
.ciaf-sidebar {
  transition: width 0.25s ease, box-shadow 0.25s ease;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  transition: transform 0.2s;
}
.avatar:hover {
  transform: scale(1.07);
}
.avatar i {
  color: var(--ciaf-text-inv);
}
.bar-animate {
  height: 100%;
  border-radius: 999px;
  background: var(--ciaf-grad-purple);
  width: 0;
  transition: width 0.6s ease;
}
.text-color-nav {
  color: var(--color-nav) !important;
}
.text-color-1 {
  color: var(--ciaf-text) !important;
}
.text-color-2 {
  color: var(--ciaf-text-muted) !important;
}
.text-color-3 {
  color: #cbd5e1;
}
.text-color-4 {
  color: var(--ciaf-text-inv) !important;
}
.text-color-5 {
  color: #f87171 !important;
}
.fs-0 {
  font-size: 68px;
}
.fs-7 {
  font-size: 14px;
}
.fs-8 {
  font-size: 13px;
}
.fs-9 {
  font-size: 12px;
}
.fs-10 {
  font-size: 10px;
}
.bg-1 {
  background-color: var(--bg-1) !important;
}
.bg-2 {
  background-color: var(--bg-2) !important;
}
.bg-3 {
  background-color: var(--bg-3) !important;
}
.bg-input {
  background-color: var(--bg-input) !important;
}
.form-select {
  color: var(--ciaf-text) !important;
  background-color: var(--bg-1) !important;
}
.bg-radial-1 {
  background:
    radial-gradient(
      circle,
      #7c3aed,
      #a855f7);
}
.bg-radial-2 {
  background:
    radial-gradient(
      circle,
      #ea580c,
      #f97316);
}
.bg-radial-3 {
  background:
    radial-gradient(
      circle,
      #16a34a,
      #22c55e);
}
.bg-radial-4 {
  background:
    radial-gradient(
      circle,
      #fbbf24,
      #f59e0b);
}
.progress-bar {
  transition: width 1s ease-in-out;
}
.progress-6 {
  height: 6px;
}
.progress-8 {
  height: 8px;
}
.border-dashed {
  border-style: dashed !important;
}
.border-s-1 {
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.border-s-2 {
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.border-bottom-s-2 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-1 {
  width: fit-content;
  border-radius: 10px;
  border: 1px solid var(--btn1-border);
  background: var(--btn1-bg);
  color: var(--btn1-color);
  cursor: pointer;
  transition: 0.25s;
}
.btn-1:hover {
  background: var(--btn1-hover-bg);
  border-color: var(--btn1-hover-border);
  color: var(--btn1-hover-color);
}
.btn-icono {
  border-radius: 50%;
  transition: background 0.2s ease;
}
.btn-icono:hover {
  background: var(--bg-2);
}
.table > :not(caption) > * > * {
  box-shadow: none;
  background-color: transparent;
}
#estCourseChatPanel {
  position: sticky;
  top: 0;
  height: calc(100vh - 16px);
  max-height: calc(100vh - 16px);
  display: flex;
  flex-direction: column;
  border-radius: 0;
}
#estCourseChatPanel .est-chat-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 180px;
}
#estCourseChatPanel .est-chat-tab {
  white-space: nowrap;
}
@media (min-width: 1200px) {
  #estLearningContent .est-main-col {
    min-width: 0;
  }
  #estLearningContent .est-chat-col {
    flex: 0 0 min(380px, 100vw - var(--ciaf-sidebar-width));
    max-width: min(380px, 100vw - var(--ciaf-sidebar-width));
    padding-left: 6px;
    padding-right: 0;
  }
  #estCourseChatPanel {
    position: fixed;
    right: 0;
    top: var(--ciaf-topbar-height);
    width: min(380px, 100vw - var(--ciaf-sidebar-width));
    height: calc(100vh - var(--ciaf-topbar-height));
    max-height: calc(100vh - var(--ciaf-topbar-height));
    z-index: 20;
  }
}
@media (max-width: 1199.98px) {
  #estCourseChatPanel {
    position: static;
    height: auto;
    max-height: none;
  }
}
.unit-xp {
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--unitxp-bg);
  border: 1px solid var(--unitxp-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--unitxp-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
#estTopicOutcomeList {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 1rem;
}
#estTopicOutcomeList li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
#estTopicOutcomeList li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: 700;
}
#estTopicUnitSummaryList {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.est-summary-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.est-summary-question {
  margin: 0;
  color: #3b82f6;
  font-size: 1.05rem;
  font-weight: 700;
}
.est-summary-description {
  margin: 0;
  color: var(--ciaf-text);
  opacity: 0.9;
  line-height: 1.65;
}
#estTopicReadingsList {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.est-reading-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}
.est-reading-title {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ciaf-text);
  text-decoration: none;
  margin-bottom: 4px;
}
.est-reading-title:hover {
  color: #93c5fd;
}
.est-reading-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ciaf-text-muted);
}
#pdfjs-viewer-container {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  margin-bottom: 1rem;
}
#pdfjs-canvas-wrap {
  min-height: 350px;
  max-height: 65vh;
  overflow: auto;
  background: #fff !important;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#pdfjs-canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  background: #fff !important;
}
#pdfjs-viewer-container:fullscreen,
#pdfjs-canvas-wrap:fullscreen {
  background: #fff !important;
}
#pdfjs-nav {
  border-top: 1px solid rgb(212, 212, 212);
  background: var(--bg-1) !important;
  border-radius: 0 0 10px 10px;
  padding: 0.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
#pdfjs-page-label {
  min-width: 120px;
  text-align: center;
  background: transparent;
  color: var(--bs-secondary-color) !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 10px;
}
.est-card-img {
  height: 150px;
  object-fit: cover;
}
.est-card-xp-pill-container {
  margin-top: -20px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.est-recomendado-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}
.est-rank-icon {
  display: inline-block;
  width: 24px;
}
.card-asignatura-netflix {
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card-asignatura-netflix:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.card-asignatura-netflix .cover {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.card-asignatura-netflix .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-asignatura-netflix .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7),
      transparent);
}
.card-asignatura-netflix .titulo {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}
.card-asignatura-netflix .btn-eliminar-asignacion {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 0.8rem;
  transition: 0.2s;
}
.card-asignatura-netflix .btn-eliminar-asignacion:hover {
  background: #dc3545;
}
.card-asignatura-netflix .contenido {
  padding: 14px;
}
.meta-label {
  font-size: 0.7rem;
  color: #9aa0a6;
}
.meta-valor {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.card-asignatura-netflix .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.card-docente {
  cursor: grab;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--bg-2);
  border-radius: 8px;
  transition: all 0.2s;
}
.card-docente:hover {
  background: var(--bg-3);
  transform: translateY(-2px);
}
.card-docente:active {
  cursor: grabbing;
}
.drag-icon {
  opacity: 0.6;
  font-size: 18px;
}
.card-asignatura-drop {
  transition: 0.2s;
}
.card-asignatura-drop.drag-hover {
  border: 2px dashed #0d6efd;
  background: rgba(13, 110, 253, 0.062745098);
}
.card-asignatura-drop img {
  height: 130px;
  object-fit: cover;
  width: 100%;
  border-radius: 6px;
}
.btn-eliminar-docente {
  border: none;
  background: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 18px;
}
.btn-eliminar-docente:hover {
  color: #ff0000;
}
.curso-card {
  border-radius: 14px;
  transition: 0.25s;
  cursor: pointer;
}
.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.curso-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.curso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.curso-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}
.curso-card:hover .curso-overlay {
  opacity: 1;
}
.tema-item:hover {
  background: #f1f3f5;
}
.tema-activo {
  background: #e7f1ff;
  border-left: 3px solid #0d6efd;
  font-weight: 500;
}
.unidad-header:hover {
  background: #f8f9fa;
}
.list-group-item {
  background: transparent !important;
}
.card-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 22px;
  opacity: 0.75;
}
.card-1 {
  transition: all 0.2s ease;
}
.card-1:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
nav .nav-link {
  color: var(--color-nav) !important;
}
nav .activem {
  color: var(--color-nav-active) !important;
  background-color: var(--btn1-hover-bg);
  border-right: 4px solid #1E3FB4;
  border-radius: 15px 0px 0px 15px;
}
nav .active {
  color: var(--color-nav-active) !important;
}
.swal2-container {
  z-index: 2000 !important;
}
#sliderTrack {
  transition: transform 0.4s ease;
}
.card-premium {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  background: #f5f6fa;
  transition: all 0.3s ease;
  cursor: pointer;
  --color-main: #2eb85c;
  --color-soft: #d1fae5;
}
.card-premium::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-main);
  border-radius: 50%;
  top: calc(var(--y, 0px) - 150px);
  left: calc(var(--x, 0px) - 150px);
  transform: scale(0);
  transition: transform 0.5s ease;
  z-index: 0;
}
.card-premium:hover::before {
  transform: scale(4);
}
.card-premium * {
  position: relative;
  z-index: 2;
}
.card-premium-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--color-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-main);
  transition: all 0.3s ease;
}
.card-premium-label {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.3s ease 0.1s;
}
.card-premium-value {
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  transition: color 0.3s ease 0.15s;
}
.card-premium-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.card-premium-bar-fill {
  height: 6px;
  background: var(--color-main);
  border-radius: 0 10px 10px 0;
  transition: background 0.3s ease;
}
.card-premium:hover {
  color: #fff;
}
.card-premium:hover .card-premium-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.card-premium:hover .card-premium-label {
  color: rgba(255, 255, 255, 0.8);
}
.card-premium:hover .card-premium-value {
  color: #fff;
}
.card-premium:hover .card-premium-bar-fill {
  background: #fff;
}
.card-premium.green {
  --color-main: #2eb85c;
  --color-soft: #d1fae5;
}
.card-premium.blue {
  --color-main: #3b82f6;
  --color-soft: #dbeafe;
}
.card-premium.purple {
  --color-main: #8b5cf6;
  --color-soft: #ede9fe;
}
.card-premium.yellow {
  --color-main: #f59e0b;
  --color-soft: #fef3c7;
}
.card-premium.red {
  --color-main: #ef4444;
  --color-soft: #fee2e2;
}
.active-pago {
  background: var(--btn1-hover-bg) !important;
  border-color: var(--btn1-hover-border) !important;
  color: var(--btn1-hover-color) !important;
  box-shadow: 0 0 0 1px var(--ciaf-border-hover);
}
.card-apoyo {
  position: relative;
  width: 240px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-apoyo:hover {
  transform: translateY(-6px) scale(1.02);
}
.card-apoyo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-apoyo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 10%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 100%);
}
.card-apoyo-content {
  position: absolute;
  bottom: 16px;
  left: 14px;
  right: 14px;
  z-index: 2;
  color: #fff;
}
.card-apoyo-categoria {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}
.card-apoyo-titulo {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.video-card {
  position: relative;
  padding: 12px;
  border-radius: 12px;
  background: var(--ciaf-bg-subtle);
  border: 1px solid var(--ciaf-border);
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}
.video-card:hover {
  transform: translateX(4px);
  border-color: var(--ciaf-border-hover);
  background: var(--ciaf-bg-card-hover);
}
.video-card.active {
  border-color: var(--ciaf-accent);
  background: var(--ciaf-accent-soft);
  box-shadow: 0 0 0 1px var(--ciaf-accent);
}
.video-card.done {
  opacity: 0.7;
}
.video-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: 0.3s;
}
.video-card.active::before {
  background: var(--ciaf-accent);
}
.video-card.done::before {
  background: var(--ciaf-success);
}
.video-index {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ciaf-bg-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.video-card.active .video-index {
  background: var(--ciaf-accent);
  color: #fff;
}
.video-card.done .video-index {
  background: var(--ciaf-success);
  color: #fff;
}
#barra-progreso {
  background: var(--ciaf-accent-grad);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}
@keyframes pulseBar {
  0% {
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.7);
  }
  100% {
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  }
}
#barra-progreso {
  animation: pulseBar 2s infinite;
}
#videoPlayer {
  border-radius: 14px;
}
.video-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.4),
      transparent);
  pointer-events: none;
}
.xp-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--ciaf-grad-green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  animation: subir 0.6s ease;
}
@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.autoplay-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ciaf-border);
  border-radius: 12px;
  padding: 12px;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
