:root {
  /* Paleta de Colores Institucional */
  --c-red: #a6262a;
  --c-red-2: #b52c32;
  --c-blue: #0b2a86;
  --c-green: #1a8f62;
  --c-dark: #0a192f;
  --c-mid: #112240;
  --c-light: #e9edf5;
  --c-white: #ffffff;

  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(34, 211, 238, 0.2);
  --radius: 18px;

  --gradient-primary: linear-gradient(135deg, #4ade80, #22d3ee, #a855f7);
  --gradient-secondary: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899);
  --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
  --gradient-glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
}

html,
body {
  min-height: 100%;
  color: #dbe3f4;
  background: var(--c-dark);
  background: transparent;
  overflow-x: hidden;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      1200px 600px at -10% -20%,
      rgba(181, 44, 50, 0.25),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 110% -10%,
      rgba(11, 42, 134, 0.25),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 50% 50%,
      rgba(26, 143, 98, 0.15),
      transparent 70%
    ),
    linear-gradient(180deg, #0e1830 0%, #0a162c 100%);
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%,
  100% {
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    filter: hue-rotate(15deg) brightness(1.1);
  }
}

#particles-js::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

#particles-js::after {
  content: "";
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

nav,
header,
section,
footer,
.container {
  position: relative;
  z-index: 1;
}

.navbar {
  backdrop-filter: saturate(130%) blur(20px);
  background: linear-gradient(
    90deg,
    rgba(166, 38, 42, 0.9) 0%,
    rgba(11, 42, 134, 0.9) 50%,
    rgba(26, 143, 98, 0.9) 100%
  );
  box-shadow: var(--shadow-lg);
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar:hover {
  backdrop-filter: saturate(150%) blur(25px);
  box-shadow: var(--shadow-glow);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.btn-cta {
  border: none;
  color: #000;
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  font-weight: 600;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-cta:hover::before {
  left: 100%;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.4);
  color: #000;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.btn-glass-light {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbe3f4;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.btn-glass-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.text-primary-light {
  background: linear-gradient(90deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #0b1730;
  background: #bdecdc;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 0 15px rgba(189, 236, 220, 0.3);
}

.tag-blue {
  background: #bae6fd;
  color: #0c4a6e;
}

.hero {
  position: relative;
  overflow: visible;
  border-radius: var(--radius);
  background:
    radial-gradient(
      1200px 600px at -10% -20%,
      rgba(181, 44, 50, 0.3),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 110% -10%,
      rgba(11, 42, 134, 0.3),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 50% 80%,
      rgba(26, 143, 98, 0.2),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(16, 32, 60, 0.6) 0%,
      rgba(11, 23, 48, 0.8) 100%
    );
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    box-shadow: var(--shadow-lg);
  }
  50% {
    box-shadow:
      var(--shadow-lg),
      0 0 50px rgba(34, 211, 238, 0.15);
  }
}

.hero h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-photo-wrapper {
  position: relative;
  padding: 10px;
}

.hero-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  height: 280px;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  z-index: 2;
}

.hero-photo:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.02);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  border-color: rgba(34, 211, 238, 0.4);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.hero-photo:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.hero-photo__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  padding: 1.5rem;
  pointer-events: none;
}

.hero-photo__badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  backdrop-filter: blur(5px);
  margin-bottom: 0.5rem;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(34, 211, 238, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
  }
}

.hero-photo__title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.hero-photo__subtitle {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.hero-backdrop {
  position: absolute;
  top: 20px;
  right: -10px;
  bottom: -10px;
  left: 20px;
  background: var(--gradient-primary);
  opacity: 0.2;
  filter: blur(20px);
  border-radius: 20px;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.hero-photo-wrapper:hover .hero-backdrop {
  opacity: 0.4;
}

.axis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .axis-grid {
    grid-template-columns: 1fr;
  }
}

.axis-card {
  background: #0f213e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.2rem;
  align-items: start;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.axis-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  background: linear-gradient(145deg, #112545, #0d1c36);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.axis-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.axis-icon.security {
  background: linear-gradient(
    135deg,
    rgba(181, 44, 50, 0.4),
    rgba(255, 255, 255, 0.05)
  );
  color: #fca5a5;
}
.axis-icon.convivencia {
  background: linear-gradient(
    135deg,
    rgba(26, 143, 98, 0.4),
    rgba(255, 255, 255, 0.05)
  );
  color: #86efac;
}
.axis-icon.paz {
  background: linear-gradient(
    135deg,
    rgba(11, 42, 134, 0.4),
    rgba(255, 255, 255, 0.05)
  );
  color: #93c5fd;
}
.axis-icon.ddhh {
  background: linear-gradient(
    135deg,
    rgba(234, 179, 8, 0.4),
    rgba(255, 255, 255, 0.05)
  );
  color: #fde047;
}

.axis-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.axis-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #dbe3f4;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.axis-link:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  color: #fff;
  transform: translateX(3px);
}

.panel {
  background: linear-gradient(
    135deg,
    rgba(15, 33, 62, 0.9),
    rgba(17, 34, 64, 0.85)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 211, 238, 0.5),
    transparent
  );
}

#map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 1;
}

#map:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.15);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.logo-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.logo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
  opacity: 0;
  pointer-events: none;
}

.logo-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.logo-card:hover::after {
  left: 150%;
  transition: 0.7s ease;
  opacity: 1;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: transform 0.3s ease;
}

.logo-card:hover img {
  transform: scale(1.08);
}

footer {
  background: linear-gradient(
    135deg,
    rgba(15, 33, 62, 0.95),
    rgba(17, 34, 64, 0.95)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  margin-top: 4rem;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  color: #a9b7d6;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 211, 238, 0.6),
    transparent
  );
}

footer::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150px;
  background: radial-gradient(
    ellipse,
    rgba(34, 211, 238, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(40px);
}

.link-white {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.link-white:hover {
  color: #38bdf8;
  text-decoration: none;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  margin: 1.5rem 0;
}

.modal {
  z-index: 1060 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
  background-color: rgba(5, 10, 20, 0.9) !important;
  backdrop-filter: blur(6px);
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
}

.modal-content.modal-cascop {
  background-color: #0f213e !important;
  background-image: linear-gradient(145deg, #112545, #0d1c36) !important;
  color: #dbe3f4 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.modal-cascop .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(166, 38, 42, 0.9),
    rgba(11, 42, 134, 0.9)
  );
  color: #fff;
  padding: 1rem 1.5rem;
}

.modal-cascop .modal-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.modal-cascop .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 1.5rem;
}

.line-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  height: 100%;
  color: #fff;
}

.line-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #22d3ee;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.line-card .fw-bold {
  color: #fff;
  font-size: 1.1rem;
}

.line-card .small {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
}

.modal-creative-login .modal-content {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 0 50px rgba(11, 42, 134, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.modal-creative-login .modal-content::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: var(--c-blue);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}

.login-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: -45px auto 20px auto;
  background: #0f213e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
  position: relative;
  z-index: 2;
}

.login-icon-wrapper i {
  font-size: 2.5rem;
  color: #22d3ee;
  animation: pulseIcon 3s infinite;
}

@keyframes pulseIcon {
  0% {
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 25px rgba(34, 211, 238, 0.8);
    transform: scale(1.05);
  }
  100% {
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
    transform: scale(1);
  }
}

.input-group-creative {
  position: relative;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
}

.input-group-creative:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.input-group-creative i {
  color: #64748b;
  font-size: 1.1rem;
  margin-right: 10px;
  transition: color 0.3s;
}

.input-group-creative:focus-within i {
  color: #38bdf8;
}

.input-group-creative input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  padding: 0.6rem 0;
  outline: none;
  font-size: 0.95rem;
}

.input-group-creative input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-login-glow {
  width: 100%;
  padding: 0.8rem;
  border-radius: 12px;
  background: var(--gradient-primary);
  border: none;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.btn-login-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.5);
  color: #000;
}

.btn-close-absolute {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 0.5rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-close-absolute:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.act-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  min-height: 80vh;
  align-items: start;
}

@media (max-width: 992px) {
  .act-wrapper {
    grid-template-columns: 1fr;
  }
}

.act-sidebar {
  background: rgba(11, 23, 48, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 100px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.act-sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.act-sidebar-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #38bdf8;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.act-tree {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.act-node-parent {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.act-node-header {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s;
}

.act-node-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.act-node-header i {
  color: #94a3b8;
  transition: transform 0.3s;
}
.act-node-parent.open .act-node-header i.arrow {
  transform: rotate(90deg);
  color: #38bdf8;
}

.act-node-children {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5px 0;
}

.act-node-parent.open .act-node-children {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.act-subitem {
  padding: 8px 15px 8px 35px;
  font-size: 0.85rem;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.2s;
}

.act-subitem::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #475569;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.act-subitem:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.act-subitem:hover::before {
  background: #fff;
}

.act-subitem.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  font-weight: 600;
}
.act-subitem.active::before {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.act-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.act-filter-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.act-filter-pill:hover {
  border-color: #fff;
  color: #fff;
}
.act-filter-pill.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.act-card {
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.act-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(34, 211, 238, 0.4);
}

.act-card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.act-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.act-card:hover .act-card-img-wrapper img {
  transform: scale(1.1);
}

.act-card-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
}

.act-badge {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.act-card-body {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.act-date {
  font-size: 0.8rem;
  color: #38bdf8;
  margin-bottom: 0.5rem;
  display: block;
}
.act-title {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.act-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.act-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.act-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.act-user img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #38bdf8;
}

.act-btn-view {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.3s;
}
.act-btn-view:hover {
  background: #38bdf8;
  color: #000;
}

.act-modal-cover {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-bottom: 3px solid #38bdf8;
}

.act-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 1rem;
}

.act-evidence-thumb {
  height: 80px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
  padding: 5px;
}

.act-evidence-thumb:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: #38bdf8;
}
.act-evidence-thumb i {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.act-evidence-thumb.img i {
  color: #38bdf8;
}
.act-evidence-thumb.pdf i {
  color: #ef4444;
}

.act-loader {
  text-align: center;
  padding: 4rem;
  display: none;
}
.act-loader.active {
  display: block;
}
