
.max-h-80px {
    max-height: 122px !important;
}

/* ============================
   FUNIVERSE THEME OVERRIDES
   ============================ */

/* Sidebar completo (fondo) */
.aside,
.aside-menu {
    background: linear-gradient(180deg, #00164c 0%, #00164c 50%, #00164c 100%) !important;
}

/* Logo / brand (barra superior izquierda si la usas) */
.brand {
    background: transparent !important;
}

/* Color de texto del menú */
.aside-menu .menu-nav > .menu-item > .menu-link .menu-text {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1.2rem;
}

/* Iconos del menú */
.aside-menu .menu-nav > .menu-item > .menu-link .menu-icon i {
    color: #FFE76B !important; /* amarillito tipo estrella */
}

/* Item activo */
.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link,
.aside-menu .menu-nav > .menu-item.menu-item-open > .menu-link {
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
}

/* Texto e iconos del item activo */
.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link .menu-text,
.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link .menu-icon i {
    color: #ffffff !important;
    font-weight: 600;
}

/* Hover en items */
.aside-menu .menu-nav > .menu-item > .menu-link:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
}

/* Header top (barra morada de arriba) */
.header {
    background: linear-gradient(90deg, #00164c 0%, #00164c 100%) !important;
}

/* Texto en header (Hola, usuario, etc.) */
.header .topbar .topbar-item .text-dark,
.header .topbar .topbar-item .text-muted {
    color: #ffffff !important;
}

/* Fondo del contenido para que combine mejor */
.content,
.subheader {
    background-color: #f5f6ff !important;
}

/* Opcional: breadcrumbs / título */
.subheader .subheader-title {
    color: #3B2A66 !important;
    font-weight: 600;
}


/* ============================
   BOTONES FUNIVERSE (btn-primary)
   ============================ */

.btn-primary {
    background: linear-gradient(90deg, #7A1CFF 0%, #FF4BC1 50%, #29B6FF 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
}

/* Hover */
.btn-primary:hover {
    background: linear-gradient(90deg, #29B6FF 0%, #FF4BC1 50%, #7A1CFF 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Focus / Active */
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(90deg, #7A1CFF 0%, #FF4BC1 50%, #29B6FF 100%) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 75, 193, 0.35) !important;
}

/* Botón deshabilitado */
.btn-primary:disabled,
.btn-primary.disabled {
    background: linear-gradient(90deg, #b89cff 0%, #ffb3dd 50%, #a6ddff 100%) !important;
    opacity: 0.7;
}


/* ====================================
   LOGIN FUNIVERSE
   ==================================== */

/* Fondo general del login */
.login.login-1.login-signin-on#kt_login {
    background: #f5f6ff !important;
}

/* Panel izquierdo con degradado Funiverse */
.funiverse-login-aside {
    background: radial-gradient(circle at top left, #2a0b63 0%, #2a0b63 35%, #2a0b63 80%) !important;
    color: #fff;
}

/* Título del panel izquierdo */
.funiverse-aside-title {
    color: #FFFFFF !important; /* amarillo estrella */
    font-weight: 600;
}

/* Ilustración del lado izquierdo con un poquito de transparencia para que se funda */
.funiverse-login-aside .aside-img {
    opacity: 0.9;
}

/* Fondo del lado derecho (donde está el formulario) */
.login-content {
    background: transparent !important;
}

/* Caja del formulario: efecto card flotante */
.login-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    z-index: 5;
}

/* Título "Bienvenido" */
.login-form h3 {
    font-weight: 700;
    color: #3B2A66 !important;
}

/* Inputs redondeados tipo pill */
.login-form .form-control {
    border-radius: 999px;
    height: 46px;
    padding-left: 20px;
    border: 1px solid #e2e4ff;
}

.login-form .form-control:focus {
    border-color: #7A1CFF;
    box-shadow: 0 0 0 0.2rem rgba(122, 28, 255, 0.2);
}

/* Mensajes de error un poco más suaves */
.login-form .invalid-feedback {
    font-size: 12px;
}

/* Footer FUNIVERSE abajo */
.login-content .text-primary {
    color: #7A1CFF !important;
}
.login-content .text-primary:hover {
    color: #FF4BC1 !important;
}

/* El botón ya lo tienes en degradado; aquí sólo aseguramos bordes redondeados */
.login-form .btn-primary {
    border-radius: 999px;
    padding: 0.6rem 1.8rem;
    font-size: 14px;
}


/* FIX overflow blanco en móvil */
html, body{
  width: 100%;
  overflow-x: hidden;
}

/* Reemplaza el padding-top inline por clase */
.funiverse-aside-top{
  padding-top: 26rem;
}

@media (max-width: 991.98px){
  .funiverse-aside-top{
    padding-top: 3.5rem !important;
  }

  .login-content{
    padding: 1.5rem !important;
  }

  .funiverse-login-aside img{
    max-height: 140px !important;
  }
}

.login-form{
  max-width: 420px;
  width: 100%;
}

/* 🔻 Reducir logo Funiverse en móvil (~30%) */
@media (max-width: 991.98px) {
    .funiverse-login-aside img {
        max-height: 150px !important; /* 215px - ~30% */
        width: auto;
    }
}

@media (max-width: 480px) {
    .funiverse-login-aside img {
        max-height: 120px !important;
    }
}


/* ====================================
   FONDO FUNIVERSE CON MAS EFECTO
   (OCUPA TODO EL LADO BLANCO)
   ==================================== */

.login-content {
    background: linear-gradient(
        180deg,
        #e5e0ff 0%,
        #ffffff 40%,
        #e9e3ff 100%
    ) !important;
    position: relative;
    overflow: hidden;
}

/* ESTRELLAS Y DESTELLOS */
.login-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(122,28,255,0.18) 0%, transparent 15%),
        radial-gradient(circle at 90% 10%, rgba(255,75,193,0.18) 0%, transparent 18%),
        radial-gradient(circle at 20% 85%, rgba(41,182,255,0.18) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255,231,107,0.14) 0%, transparent 12%);
    z-index: 0;
}

/* OVERLAY DE BRILLITO SUAVE */
.login-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,0.02),
            rgba(255,255,255,0.02) 2px,
            rgba(255,255,255,0.05) 4px
        );
    z-index: 0;
}

/* TODO EL CONTENIDO POR ENCIMA */
.login-content > * {
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .login.login-1 .login-content {
        width: 100%;
        max-width: 100%;
    }
}



/* ====================================
   🌠 LLUVIA DE ESTRELLAS FUNIVERSE (LOGIN)
   ==================================== */

.funiverse-shooting-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1; /* debajo del formulario */
    overflow: hidden;
}

.funiverse-shooting-stars span {
    position: absolute;
    top: calc(var(--y, .5) * 100%);
    left: calc(var(--x, .5) * 100%);
    width: 6px;
    height: 6px;
    background: #FFE76B; /* ⭐ AMARILLO FUNIVERSE */
    box-shadow: 
        0 0 0 4px rgba(255, 231, 107, 0.15),
        0 0 0 8px rgba(255, 231, 107, 0.08);
    border-radius: 50%;
    animation: funiverseMeteor var(--dur, 2.2s) linear infinite;
    opacity: 0;
}

/* COLA DE LA ESTRELLA */
.funiverse-shooting-stars span::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 50%;
    width: 280px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #FFE76B, transparent);
}

/* ANIMACIÓN */
@keyframes funiverseMeteor {
    0% {
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    60% {
        opacity: 0.6;
    }

    100% {
        transform: rotate(315deg) translateX(-520px);
        opacity: 0;
    }
}

.funiverse-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* ===========================
   FICHA INFO PAQUETE COTIZADOR
   =========================== */

.paquete-info {
    border-radius: 14px;
    padding: 10px 12px;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    max-height: 220px;
    overflow-y: auto;
}

/* Básico: azules / morados tipo banner */
.paquete-basico {
    background: linear-gradient(135deg, #1266f1 0%, #29b6ff 40%, #7a1cff 100%);
}

/* Completo: rosa / naranja tipo banner */
.paquete-completo {
    background: linear-gradient(135deg, #ff3b8d 0%, #ff7c54 40%, #ffb347 100%);
}

.paquete-titulo {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.paquete-subtitulo {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
}

.paquete-lista {
    padding-left: 18px;
    margin: 0;
}

.paquete-lista li {
    margin-bottom: 2px;
}