/* Estilo base */
.sidebar .nav-item .nav-link {
    position: relative;
    transition: all 0.4s ease;
    border-radius: 0.35rem;
}

/* Efecto hover */
.sidebar .nav-item .nav-link:hover {
    background-color: #040F1D;
    color: #fff;
    transform: translateX(4px);
    /* leve desplazamiento */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* un poco de sombra */
}

/* Activo */
.sidebar .nav-item.active .nav-link {
    background-color: #040F1D;
    color: #fff;
    border-radius: 0.45rem;
    box-shadow: inset 4px 0 0 #040F1D;
    /* barra lateral para resaltar */
}

/* Logo base (colapsado) */
.sidebar.toggled .sidebar-brand-icon img {
    width: 40px;
    height: 40px;
    transition: all 0.4s ease;
}

/* Texto base tamaño */
.sidebar .sidebar-brand-text {
    font-size: 0.95rem;
    /* un poco más pequeño que 16px */
    /* font-weight: 600; */
    transition: font-size 0.3s ease;
}

/* Crece un poquito al expandir */
.sidebar.toggled:hover .sidebar-brand-text {
    font-size: 1.1rem;
}

/* Fondo del sidebar */
.sidebar {
    background-color: #0A234A !important; /* Cambia este color */
    background-image: none !important;
}

.bg-gradient-primary {
    background-color: #0A234A !important;
    background-image: none !important;
}

body,
html {
    height: 100%;
    margin: 0;
}

.split-container {
    display: flex;
    height: 100vh;
}

/* Panel izquierdo */
.left-side {
    background-color: #0A234A;
    /* azul PlannerPack */
    color: white;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.left-side img {
    width: 180px;
    margin-bottom: 20px;
}

.left-side h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Panel derecho */
.right-side {
    background-color: white;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 380px;
}

.login-box h2 {
    font-weight: 700;
    margin-bottom: 25px;
}

.btn-login {
    width: 100%;
    background-color: #0A234A;
    border-color: #0A234A;
}

.btn-login:hover {
    background-color: #0d2d5e;
    border-color: #0d2d5e;
}

@media(max-width: 900px) {
    .split-container {
        flex-direction: column;
    }

    .left-side,
    .right-side {
        width: 100%;
        height: auto;
        padding: 60px 20px;
    }
}