/* ================================================================
   products-landing-navbar.css
   Shared navbar + footer overrides for product landing pages.
   Replaces Bootstrap (not loaded on these pages).
================================================================ */

#app_name {
    display: none;
}

.dashboard_0 {
    width: 100%;
    margin: 0;
}

/* ── Layout base del navbar ── */
#navbarResponsive {
    display: block !important;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 1.25rem;
}

#navbarResponsive .row {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    min-height: 56px;
}

/* Logo */
#navbarResponsive .titlebar {
    flex-shrink: 0;
}

#navbarResponsive .list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

#navbarResponsive .list-inline-item {
    display: inline-flex;
    align-items: center;
}

#navbarResponsive .btn-primary {
    border: 1px solid #fff;
    padding: 3px 10px;
    background: #0091d1;
    color: white;
    border-radius: 10px;
}

#navbarResponsive .navbar-brand img,
#navbarResponsive .brandlogo {
    height: 38px;
    width: auto;
    display: flex;
    align-items: center;
}

#navbarResponsive .brandlogo img {
    height: 38px;
    width: auto;
}

/* Right section */
#navbarResponsive .mobile-togglebar {
    margin-left: auto;
}

#navbarResponsive .mb-0 {
    margin-bottom: 0;
}

#navbarResponsive .pl-2 {
    padding-left: 0.5rem;
}

#navbarResponsive .mr-2 {
    margin-right: 0.5rem;
}

#navbarResponsive .ml-2 {
    margin-left: 0.5rem;
}

#navbarResponsive .ml-1 {
    margin-left: 0.25rem;
}

/* Solicitar demo button */
#navbarResponsive .btn-success {
    display: inline-flex;
    align-items: center;
    background-color: #22c55e;
    color: #fff !important;
    border: 1px solid #fff;
    padding: 0.35rem 1.1rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

#navbarResponsive .btn-success:hover {
    background-color: #16a34a;
}

/* Nav link (Iniciar) */
#navbarResponsive .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
    transition: color 0.2s;
}

#navbarResponsive .nav-link:hover {
    color: #F97316;
}

/* Fullscreen link */
#navbarResponsive #window-fullscreen {
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
}

#navbarResponsive #window-fullscreen:hover {
    opacity: 1;
}

/* Language dropdown */
#navbarResponsive .languagebar {
    position: relative;
}

#navbarResponsive .dropdown {
    position: relative;
}

#navbarResponsive .nobutton {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
}

#navbarResponsive .nobutton::after {
    content: '';
    display: inline-block;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
}

#navbarResponsive .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    min-width: 165px;
    padding: 0.3rem 0;
    z-index: 2000;
}

#navbarResponsive .dropdown.open .dropdown-menu {
    display: block;
}

#navbarResponsive .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    text-decoration: none;
    color: #1C1C1C;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    transition: background 0.15s;
}

#navbarResponsive .dropdown-item:hover {
    background: #f5f5f5;
}

#navbarResponsive .dropdown-item.active {
    font-weight: 600;
    background: #fef3ec;
}

/* ── Responsive ── */
#navbarResponsive .d-none {
    display: none;
}

@media (min-width: 768px) {
    #navbarResponsive .d-md-inline {
        display: inline !important;
    }
}

/* Mobile: navbar fixed, compacto */
@media (max-width: 767px) {
    #navbarResponsive {
        position: fixed;
        width: 100%;
        padding: 0 0.75rem;
    }

    body {
        padding-top: 56px;
    }

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    #navbarResponsive #window-fullscreen {
        display: none;
    }

    #navbarResponsive .btn-success {
        padding: 0.3rem 0.65rem;
        font-size: 0.75rem;
    }

    #navbarResponsive .nav-link span {
        display: none;
    }

    #navbarResponsive .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 150px;
    }

    #navbarResponsive .list-inline-item {
        gap: 0;
    }

    #navbarResponsive .mr-2 {
        margin-right: 0.25rem;
    }

    #navbarResponsive .ml-2 {
        margin-left: 0.25rem;
    }
}

/* Tablet intermedio */
@media (min-width: 768px) and (max-width: 991px) {
    #navbarResponsive {
        padding: 0 1rem;
    }

    #navbarResponsive .btn-success {
        padding: 0.35rem 0.85rem;
    }
}

/* ── Footer — reemplaza Bootstrap (no cargado en estas páginas) ── */
footer .col-xs-10 {
    width: 18% !important;
}

footer .mt-1 {
    margin-top: 0 !important;
}

footer {
    width: 100%;
}

footer .bg-black {
    background-color: #000 !important;
}

footer .bg-dark-gris {
    background-color: #1e1e1e !important;
}

footer .w-100 {
    width: 100%;
}

footer .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer .mt-1 {
    margin-top: 0.25rem;
}

footer .mt-3 {
    margin-top: 1rem;
}

footer .mb-1 {
    margin-bottom: 0.25rem;
}

footer .mb-4 {
    margin-bottom: 1.5rem;
}

footer .mb-5 {
    margin-bottom: 3rem;
}

footer .p-4 {
    padding: 1.5rem;
}

footer .text-white,
footer .text-white a {
    color: #fff !important;
}

footer a.text-white {
    color: #fff !important;
    text-decoration: none;
}

footer a.text-white:hover {
    color: #F97316 !important;
}

footer .text-warning {
    color: #ffc107 !important;
}

footer .text-center {
    text-align: center;
}

footer .text-right {
    text-align: right;
}

footer .img-fluid {
    max-width: 100%;
    height: auto;
}

footer .logo-footer img {
    max-width: 200px;
}

footer .container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

footer .row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
}

footer .justify-content-center {
    justify-content: center;
}

footer .d-flex {
    display: flex;
}

@media (min-width: 992px) {
    footer .col-lg-1 {
        width: 8.333%;
    }

    footer .col-lg-2 {
        width: 16.667%;
    }

    footer .col-lg-3 {
        width: 25%;
    }
}

@media (min-width: 768px) {
    footer .col-md-3 {
        width: 25%;
    }
}

footer .col-12 {
    width: 100%;
}

footer .col-xs-10 {
    width: 83.333%;
}

@media (max-width: 767px) {
    footer .col-xs-10,
    footer .col-lg-1,
    footer .col-lg-2,
    footer .col-lg-3 {
        width: 100%;
    }

    footer .footer-logo {
        text-align: center !important;
    }

    footer .logo-footer img {
        max-width: 160px;
    }

    footer .columns-links {
        text-align: center;
    }

    footer .p-4 {
        padding: 1rem;
    }
}

footer .footer-container a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.82rem;
}

footer .footer-container a:hover {
    color: #F97316;
}

footer .footer-container .text-white,
footer .footer-container .text-white a {
    color: #aaa !important;
}
