/* LOGO TOPBAR */
.topbar-logo {
    width: var(--sidebar-width);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateX(-16px); /* ajuste fino visual */
}

.topbar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   TOPBAR BASE
=========================== */
.fi-panels-topbar {
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
}

/* CONTENEDOR DEL TITULO */
.fi-panels-topbar-start {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   TITULO CENTRAL TOPBAR
=========================== */
.fi-topbar .fi-logo {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7e3236;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    pointer-events: none;
    display: block !important;
}

@media (max-width: 767px) {
    .fi-topbar-start {
        display: flex !important;
    }

    .fi-topbar-start a {
        display: block !important;
    }
    .fi-topbar .fi-logo {
        left: 40% !important;
        font-size: 0.9rem;
        letter-spacing: 0.02em;
    }
}

/* TITULO en login/registro - restaurar comportamiento normal */
.fi-simple-layout .fi-logo,
.fi-auth-layout .fi-logo {
    position: static !important;
    transform: none !important;
    color: #7e3236;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    display: block !important;
}
