/* ==============================================================================
   IDENTIDAD GRÁFICA - GOBIERNO DE DURANGO / INTRANET SEED REGIÓN LAGUNA
   Inspirado en la cromática oficial: Azul Eléctrico, Rojo Magenta, Amarillo/Ámbar y Verde
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --dgo-blue: #0088e8;
  --dgo-blue-dark: #005bb5;
  --dgo-blue-light: #eff6ff;
  --dgo-cyan: #00c0f0;
  --dgo-red: #e60039;
  --dgo-red-dark: #b8002e;
  --dgo-red-light: #fef2f2;
  --dgo-yellow: #fdbb14;
  --dgo-yellow-dark: #f59e0b;
  --dgo-green: #6bc839;
  --dgo-dark: #1e293b;
  --dgo-slate: #334155;
  --dgo-muted: #64748b;
  --dgo-border: #e2e8f0;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--dgo-dark);
  background-color: #f8fafc;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-title {
  font-family: var(--font-title);
  letter-spacing: -0.025em;
}

/* ==============================================================================
   ESCENARIO Y FONDO DINÁMICO DE DURANGO
   ============================================================================== */
.welcome-viewport {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  /* Textura de finas líneas diagonales estilo institucional */
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(226, 232, 240, 0.4) 0px,
    rgba(226, 232, 240, 0.4) 1px,
    transparent 1px,
    transparent 14px
  );
  overflow: hidden;
  z-index: 1;
}

/* Formas y Ondas Abstractas Oficiales */
.bg-wave {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Onda Esquina Superior Izquierda */
.wave-top-left {
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  border-radius: 43% 57% 65% 35% / 40% 45% 55% 60%;
  background: linear-gradient(135deg, #e60039 0%, #0088e8 45%, #fdbb14 100%);
  opacity: 0.95;
  filter: drop-shadow(0 20px 35px rgba(0, 136, 232, 0.25));
  animation: floatSlow 12s ease-in-out infinite alternate;
}

/* Onda Esquina Superior Derecha */
.wave-top-right {
  top: -140px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 58% 42% 45% 55% / 50% 60% 40% 50%;
  background: linear-gradient(225deg, #fdbb14 0%, #00c0f0 50%, #005bb5 100%);
  opacity: 0.92;
  filter: drop-shadow(0 20px 40px rgba(0, 136, 232, 0.22));
  animation: floatSlow 14s ease-in-out infinite alternate-reverse;
}

/* Onda Esquina Inferior Derecha */
.wave-bottom-right {
  bottom: -130px;
  right: -110px;
  width: 500px;
  height: 500px;
  border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
  background: linear-gradient(135deg, #e60039 0%, #c40030 50%, #fdbb14 100%);
  opacity: 0.92;
  filter: drop-shadow(0 -20px 40px rgba(230, 0, 57, 0.22));
  animation: floatSlow 15s ease-in-out infinite alternate;
}

/* Onda Esquina Inferior Izquierda */
.wave-bottom-left {
  bottom: -100px;
  left: -100px;
  width: 420px;
  height: 420px;
  border-radius: 48% 52% 40% 60% / 60% 40% 60% 40%;
  background: linear-gradient(45deg, #6bc839 0%, #0088e8 55%, #fdbb14 100%);
  opacity: 0.88;
  filter: drop-shadow(0 -15px 35px rgba(107, 200, 57, 0.2));
  animation: floatSlow 16s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(15px, 15px) rotate(4deg); }
}

/* ==============================================================================
   TARJETA MAESTRA CENTRAL (MASTER GLASS CONTAINER)
   ============================================================================== */
.main-portal-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 25px 60px -15px rgba(15, 23, 42, 0.12),
    0 10px 20px -5px rgba(0, 136, 232, 0.06),
    0 0 0 1px rgba(226, 232, 240, 0.7);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Borde tricolor decorativo superior */
.main-portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0088e8 0%, #00c0f0 25%, #e60039 50%, #fdbb14 75%, #6bc839 100%);
}

/* Contenedor de Logotipos Oficiales Centrados */
.durango-brand-badge {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.1rem 2rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  max-width: fit-content;
  gap: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px -5px rgba(0, 50, 120, 0.08);
  transition: all 0.3s ease;
}

.durango-brand-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px -5px rgba(0, 50, 120, 0.12);
}

.brand-logo-main {
  height: 70px;
  max-height: 78px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo-main:hover {
  transform: scale(1.03);
}

.durango-vr-divider {
  width: 2.5px;
  height: 60px;
  border-radius: 99px;
  background: linear-gradient(180deg, #0088e8 0%, #6bc839 35%, #fdbb14 70%, #e60039 100%);
  opacity: 0.85;
}

/* Badge de la Intranet */
.intranet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 136, 232, 0.08) 0%, rgba(230, 0, 57, 0.06) 100%);
  color: var(--dgo-blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 50rem;
  border: 1px solid rgba(0, 136, 232, 0.25);
  box-shadow: 0 2px 8px rgba(0, 136, 232, 0.08);
}

/* Trazo de Acento Multicolor Durango */
.durango-accent-line {
  width: 140px;
  height: 5px;
  border-radius: 50rem;
  background: linear-gradient(90deg, #0088e8 0%, #e60039 45%, #fdbb14 80%, #6bc839 100%);
  box-shadow: 0 3px 10px rgba(0, 136, 232, 0.35);
}

/* Píldoras de Información de la Intranet */
.feature-pill {
  background: #ffffff;
  border: 1px solid var(--dgo-border);
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.feature-pill:hover {
  border-color: rgba(0, 136, 232, 0.4);
  box-shadow: 0 6px 15px rgba(0, 136, 232, 0.08);
  transform: translateY(-2px);
}

.feature-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ==============================================================================
   FORMULARIO Y PANEL DE ACCESO
   ============================================================================== */
.login-box-wrapper {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 2.25rem 2rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05);
}

.login-avatar-halo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--dgo-blue);
  background: linear-gradient(135deg, rgba(0, 136, 232, 0.12) 0%, rgba(230, 0, 57, 0.08) 100%);
  border: 2px solid rgba(0, 136, 232, 0.2);
  box-shadow: 0 8px 16px rgba(0, 136, 232, 0.12);
}

.form-floating-custom {
  position: relative;
}

.input-custom-group {
  border: 1.5px solid #cbd5e1;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.25s ease;
  background: #ffffff;
}

.input-custom-group:focus-within {
  border-color: var(--dgo-blue);
  box-shadow: 0 0 0 4px rgba(0, 136, 232, 0.15);
}

.input-custom-group .form-control {
  border: none;
  font-size: 0.95rem;
  padding: 0.75rem 0.85rem;
  color: var(--dgo-dark);
}

.input-custom-group .form-control:focus {
  box-shadow: none;
}

.input-custom-group .input-group-text {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding-left: 1rem;
}

.input-custom-group:focus-within .input-group-text {
  color: var(--dgo-blue);
}

/* Botón Principal de Acceso */
.btn-intranet-submit {
  background: linear-gradient(135deg, #0088e8 0%, #0060ba 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 10px 22px -5px rgba(0, 136, 232, 0.45);
  transition: all 0.25s ease;
}

.btn-intranet-submit:hover {
  background: linear-gradient(135deg, #0077ce 0%, #004d96 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(0, 136, 232, 0.55);
}

.btn-intranet-submit:active {
  transform: translateY(0);
}

/* ==============================================================================
   LAYOUT DE LA INTRANET INTERNA (DASHBOARD)
   ============================================================================== */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  width: 275px;
  background: #ffffff;
  border-right: 1px solid var(--dgo-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.sidebar-header {
  padding: 1.35rem 1rem 1.15rem;
  border-bottom: 1px solid var(--dgo-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.sidebar-logo {
  height: 90px;
  max-height: 100px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.85rem;
  transition: transform 0.2s ease;
}

.sidebar-logo:hover {
  transform: scale(1.04);
}

.sidebar-nav {
  padding: 1.25rem 0.75rem;
  flex-grow: 1;
  overflow-y: auto;
}

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dgo-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem 0.35rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  color: var(--dgo-slate);
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.65rem;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.sidebar-link i {
  font-size: 1.2rem;
  color: var(--dgo-muted);
  transition: all 0.2s ease;
}

.sidebar-link:hover {
  background-color: var(--dgo-blue-light);
  color: var(--dgo-blue);
}

.sidebar-link:hover i {
  color: var(--dgo-blue);
}

.sidebar-link.active {
  background: linear-gradient(135deg, var(--dgo-blue) 0%, #006ec4 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(0, 136, 232, 0.25);
}

.sidebar-link.active i {
  color: #ffffff;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--dgo-border);
  background: #f8fafc;
}

.top-navbar {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid var(--dgo-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  position: sticky;
  top: 0;
  z-index: 99;
}

.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: #f8fafc;
}

.content-body {
  padding: 2rem 1.75rem;
  flex-grow: 1;
}

.seed-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--dgo-border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--dgo-border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Clases Utilitarias con Degradados de Gobierno de Durango */
.gradient-durango-blue {
  background: linear-gradient(135deg, #0088e8 0%, #005bb5 100%) !important;
}

.gradient-durango-tricolor {
  background: linear-gradient(90deg, #0088e8 0%, #6bc839 35%, #fdbb14 70%, #e60039 100%) !important;
}

.gradient-durango-red {
  background: linear-gradient(135deg, #e60039 0%, #b8002e 100%) !important;
}

.gradient-durango-green {
  background: linear-gradient(135deg, #6bc839 0%, #4e9c26 100%) !important;
}

.gradient-durango-cyan {
  background: linear-gradient(135deg, #00c0f0 0%, #0088e8 100%) !important;
}

.border-gradient-durango {
  border-image: linear-gradient(90deg, #0088e8 0%, #6bc839 35%, #fdbb14 70%, #e60039 100%) 1;
}

.text-gradient-durango {
  background: linear-gradient(90deg, #0088e8 0%, #e60039 50%, #fdbb14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-seed-primary {
  background: linear-gradient(135deg, #0088e8 0%, #005bb5 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 0.65rem;
  box-shadow: 0 4px 12px rgba(0, 136, 232, 0.3);
  transition: all 0.25s ease;
}

.btn-seed-primary:hover {
  background: linear-gradient(135deg, #0077ce 0%, #004d9e 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 136, 232, 0.45);
}

.btn-seed-outline {
  border: 2px solid #0088e8;
  color: #0088e8;
  font-weight: 600;
  border-radius: 0.65rem;
  background: #ffffff;
  transition: all 0.25s ease;
}

.btn-seed-outline:hover,
.btn-seed-outline:focus,
.btn-seed-outline:active {
  background: linear-gradient(135deg, #0088e8 0%, #005bb5 100%) !important;
  border-color: #005bb5 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 136, 232, 0.35) !important;
}

.btn-seed-outline:hover i,
.btn-seed-outline:hover span,
.btn-seed-outline:focus i,
.btn-seed-outline:focus span {
  color: #ffffff !important;
}

.text-seed-primary { color: #0088e8 !important; }
.text-seed-red { color: #e60039 !important; }
.text-seed-green { color: #6bc839 !important; }
.text-seed-yellow { color: #fdbb14 !important; }

.bg-seed-primary { background: linear-gradient(135deg, #0088e8 0%, #005bb5 100%) !important; }
.bg-seed-primary-light { background-color: #eff6ff !important; }
.bg-seed-red { background: linear-gradient(135deg, #e60039 0%, #b8002e 100%) !important; }
.bg-seed-green { background: linear-gradient(135deg, #6bc839 0%, #4e9c26 100%) !important; }
.bg-seed-yellow { background: linear-gradient(135deg, #fdbb14 0%, #f59e0b 100%) !important; }

/* Responsive */
@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -275px;
  }
  .sidebar.show {
    left: 0;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }
  .sidebar-backdrop.show {
    display: block;
  }

  .wave-top-left { width: 320px; height: 320px; top: -140px; left: -140px; }
  .wave-top-right { width: 320px; height: 320px; top: -140px; right: -140px; }
  .wave-bottom-right { width: 320px; height: 320px; bottom: -140px; right: -140px; }
  .wave-bottom-left { width: 280px; height: 280px; bottom: -120px; left: -120px; }

  .durango-brand-badge {
    padding: 0.85rem 1.25rem;
    gap: 1.25rem;
  }
  .brand-logo-main {
    height: 55px;
    max-width: 180px;
  }
  .durango-vr-divider {
    height: 48px;
  }
}

/* ==============================================================================
   ESTILOS PERSONALIZADOS - SWEETALERT2 IDENTIDAD DURANGO
   ============================================================================== */
.swal2-popup {
  font-family: var(--font-body) !important;
  border-radius: 1.25rem !important;
  padding: 1.75rem 1.5rem !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.swal2-title {
  font-family: var(--font-title) !important;
  font-weight: 700 !important;
  color: var(--dgo-dark) !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.015em !important;
}

.swal2-html-container {
  font-size: 0.92rem !important;
  color: var(--dgo-slate) !important;
  line-height: 1.5 !important;
}

.swal2-actions {
  gap: 0.65rem !important;
  margin-top: 1.5rem !important;
}

.swal2-actions button {
  border-radius: 0.65rem !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 0.55rem 1.25rem !important;
  transition: all 0.2s ease !important;
}

.swal2-icon {
  margin: 1rem auto 1.25rem auto !important;
}

.swal2-toast {
  border-radius: 0.85rem !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  font-size: 0.88rem !important;
}

/* Utilidades de espaciado fraccionario para botones, badges y flexbox */
.gap-1\.5 {
  gap: 0.45rem !important;
}
.py-1\.5 {
  padding-top: 0.38rem !important;
  padding-bottom: 0.38rem !important;
}
.px-3\.5 {
  padding-left: 1.15rem !important;
  padding-right: 1.15rem !important;
}
.px-2\.5 {
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
}

/* ==============================================================================
   ESTILOS - PORTAL PÚBLICO INSTITUCIONAL SEED LAGUNA
   ============================================================================== */
.public-topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.82rem;
}

.public-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.public-navbar .nav-link {
  font-weight: 600;
  color: var(--dgo-slate);
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.public-navbar .nav-link:hover {
  color: var(--dgo-blue);
  background-color: var(--dgo-blue-light);
}

.public-navbar .nav-link.active {
  color: var(--dgo-blue);
  background-color: var(--dgo-blue-light);
  font-weight: 700;
}

.btn-intranet-login {
  background: linear-gradient(135deg, #0088e8 0%, #005bb5 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 99px;
  box-shadow: 0 4px 15px rgba(0, 136, 232, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.btn-intranet-login:hover {
  background: linear-gradient(135deg, #0077ce 0%, #004d9e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 232, 0.5);
  color: #ffffff !important;
}

.btn-group.btn-group-intranet {
  box-shadow: 0 4px 15px rgba(0, 136, 232, 0.25);
  border-radius: 99px;
  transition: all 0.25s ease;
}

.btn-group.btn-group-intranet:hover {
  box-shadow: 0 6px 20px rgba(0, 136, 232, 0.4);
  transform: translateY(-2px);
}

.btn-group.btn-group-intranet .btn-intranet-login {
  box-shadow: none !important;
  transform: none !important;
}

.portal-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.portal-service-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.portal-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.portal-service-card.card-accent-blue::before { background: linear-gradient(90deg, #0088e8, #00c0f0); }
.portal-service-card.card-accent-red::before { background: linear-gradient(90deg, #e60039, #b8002e); }
.portal-service-card.card-accent-purple::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.portal-service-card.card-accent-yellow::before { background: linear-gradient(90deg, #fdbb14, #f59e0b); }
.portal-service-card.card-accent-green::before { background: linear-gradient(90deg, #6bc839, #4e9c26); }

.portal-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  border-color: rgba(0, 136, 232, 0.35);
}

.portal-service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
}

.portal-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
}

.btn-outline-purple {
  color: #7c3aed;
  border: 2px solid #8b5cf6;
  background-color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-outline-purple:hover,
.btn-outline-purple:focus,
.btn-outline-purple:active {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
  border-color: #6d28d9 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4) !important;
}

.btn-outline-purple:hover i,
.btn-outline-purple:hover span,
.btn-outline-purple:focus i,
.btn-outline-purple:focus span {
  color: #ffffff !important;
}

/* Botón EDUCAV / Verde Esmeralda */
.btn-outline-educav,
.btn-outline-success {
  color: #059669;
  border: 2px solid #10b981;
  background-color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-outline-educav:hover,
.btn-outline-educav:focus,
.btn-outline-educav:active,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  border-color: #047857 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4) !important;
}

.btn-outline-educav:hover i,
.btn-outline-educav:hover span,
.btn-outline-success:hover i,
.btn-outline-success:hover span {
  color: #ffffff !important;
}


