/* ==========================================================================
   1. VARIABLES Y ESTILOS BASE
   ========================================================================== */
:root {
    --primary-red: #66030e;
    --secondary-red: #a70b1d;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --bg-color: #fcfcfc;
}

body,
html {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(90deg, rgba(102, 3, 14, 1) 10%, rgba(254, 0, 36, 1) 50%, rgba(254, 0, 36, 1) 90%);
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    width: 100%;
}

/* ==========================================================================
   2. TIPOGRAFÍA GLOBAL
   ========================================================================== */
/* Propiedades compartidas para los encabezados */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

h1 {
    font-size: 4.5rem;
}

h1 span {
    color: var(--text-muted);
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

/* Subtítulos generales */
.subtitle {
    font-size: 1.5rem;
    color: whitesmoke;
    margin-bottom: 2.5rem;
}

.subtitle-small {
    font-size: 1.2rem;
    color: whitesmoke;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    /* Útil para alinear en tarjetas flex */
}

/* ==========================================================================
   3. NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.navbar {
    padding: 1.5rem 4rem;
    background: transparent;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mainNavbar {
    background-color: transparent;
    padding: 0.5rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* Enlaces del menú por defecto (Transparentes) */
#mainNavbar .nav-link {
    color: #ffffff !important;
    font-weight: bolder !important;
    font-size: 1.2rem !important;
    margin: 0 10px !important;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease !important;
}

#mainNavbar .nav-link:hover {
    color: var(--text-muted) !important;
}

/* Estado Activo */
.active-nav {
    border-bottom: 2px solid white !important;
    font-weight: bold;
}

/* --- Estado al hacer Scroll --- */
#mainNavbar.navbar-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.2rem 0;
    border-radius: 0px 0px 5px 5px;
}

#mainNavbar.navbar-scrolled .nav-link {
    color: #212529 !important;
}

#mainNavbar.navbar-scrolled .nav-link:hover {
    color: #0d6efd !important;
}

#mainNavbar.navbar-scrolled .active-nav {
    border-bottom: 2px solid #212529 !important;
}

#mainNavbar.navbar-scrolled .logo-g-primario {
    filter: brightness(0);
    /* Vuelve el logo negro si era blanco */
}

/* ==========================================================================
   4. BOTONES
   ========================================================================== */
/* Botón principal (gris/rojo) */
.btn-primary-custom {
    background-color: #b2b2b2;
    color: var(--primary-red);
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: bolder;
    font-size: 2rem;
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    background-color: var(--primary-red);
    color: white;
}

/* Botón outline del Navbar */
.btn-outline-custom {
    border: 1px solid #e5e7eb !important;
    border-radius: 40px !important;
    padding: 5px 15px !important;
    font-weight: bolder !important;
    color: var(--primary-red) !important;
    background: white !important;
    transition: all 0.2s !important;
}

.btn-outline-custom:hover {
    background: #f3f4f6 !important;
}

/* Botón outline del Navbar (Al hacer Scroll) */
#mainNavbar.navbar-scrolled .btn-outline-custom {
    color: white !important;
    background: var(--primary-red) !important;
}

#mainNavbar.navbar-scrolled .btn-outline-custom:hover {
    background: var(--text-muted) !important;
}

/* ==========================================================================
   5. SECCIÓN PRINCIPAL (HERO) Y LOGO CENTRAL
   ========================================================================== */
.hero-section {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-content-full {
    text-align: center;
    max-width: 95%;
    /* En móvil cambia a 90%, gestionado en media queries */
}

.central-logo {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 20px;
    margin: 0 auto 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 15px;
    box-shadow: -10px -10px 20px rgba(255, 255, 255, 0.8), 10px 10px 20px rgba(0, 0, 0, 0.08), inset 0px 0px 0px rgba(0, 0, 0, 0.05);
}

.dot {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1f2937;
}

.dot.blue {
    background: #0ea5e9;
}

/* ==========================================================================
   6. ELEMENTOS FLOTANTES Y ANIMACIONES (Fondo del Hero)
   ========================================================================== */
@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0px) rotate(var(--rot));
    }

    50% {
        transform: translateY(-10px) rotate(var(--rot));
    }
}

.anim-float {
    animation: floatAnim 6s ease-in-out infinite;
}

.floating-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.1s ease-out;
    pointer-events: auto;
}

/* Componentes específicos flotantes */
.card-postit {
    top: 15%;
    left: 8%;
    width: 220px;
    height: 200px;
    background: #fdf096;
    border-radius: 2px 2px 2px 15px;
    padding: 1.5rem;
    transform: rotate(-4deg);
    box-shadow: 2px 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.card-postit p {
    font-family: 'Montserrat', cursive;
    font-size: 1.4rem;
    line-height: 1.2;
    color: #374151;
}

.pin {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
}

.card-under-postit {
    top: 25%;
    left: 6%;
    width: 200px;
    height: 250px;
    background: white;
    transform: rotate(-10deg);
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.check-icon-float,
.clock-icon-float {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    font-size: 1.8rem;
}

.check-icon-float {
    top: 38%;
    left: 12%;
    color: var(--primary-red);
}

.clock-icon-float {
    top: 40%;
    right: 15%;
    transform: rotate(-5deg);
}

.card-reminders {
    top: 20%;
    right: 6%;
    width: 260px;
    padding: 1.5rem;
    transform: rotate(6deg);
    z-index: 2;
}

.card-reminders-bg {
    top: 15%;
    right: 5%;
    width: 280px;
    height: 250px;
    background: white;
    border-radius: 20px;
    transform: rotate(15deg);
    z-index: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-tasks {
    bottom: 5%;
    left: 10%;
    width: 320px;
    padding: 1.5rem;
    transform: rotate(-2deg);
    z-index: 2;
}

.card-integrations {
    bottom: 5%;
    right: 12%;
    width: 280px;
    padding: 1.5rem;
    transform: rotate(3deg);
    z-index: 2;
}

/* Sub-elementos de los flotantes */
.task-item {
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.task-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    margin-right: 8px;
}

.integration-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.int-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.5rem;
}

/* ==========================================================================
   7. TARJETAS (CARDS)
   ========================================================================== */
/* Tarjeta de Información básica */
.card-informacion {
    background-color: #ffffff;
    border: none;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-informacion:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.card-informacion .card-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-informacion .card-title {
    color: #1a1a1a;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 0;
    text-align: left;
}

/* Cajas de Íconos compartidas */
.icon-box {
    width: 68px;
    height: 52px;
    background-color: #112236;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.icon-box i {
    font-size: 4.2rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: 18px;
}

.icon-box p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
    max-width: 310px;
    margin: 0 auto;
}

/* Tarjetas de Negocio / Visuales */
.card-negocio {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: none;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.img-negocio {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.img-negocio-min {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    max-height: 40rem;
    border-radius: 20px;
}

.card-negocio:hover .img-negocio,
.card-negocio:hover .img-negocio-min {
    transform: scale(1.04);
}

.icono-circulo {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background-color: #112236;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icono-circulo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Tarjeta Episodios */
.card-episodios {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: none;
    height: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.card-episodios .img-negocio {
    border-radius: 20px !important;
    width: 100%;
    object-fit: cover;
}

.card-episodios h3 {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* ==========================================================================
   8. SECCIONES ESPECÍFICAS
   ========================================================================== */
/* Formulario / Contacto */
.input-label {
    font-size: 1.5rem;
    color: whitesmoke;
    text-align: left;
}

/* Finanzas */
.finanzas-section {
    background: linear-gradient(90deg, #630008 0%, #a8000d 50%, #f00014 100%);
    color: #ffffff;
    padding: 70px 0;
}

/* Pasos / Tutoriales */
.seccion-pasos {
    color: #ffffff;
    overflow-x: hidden;
}

.paso-titulo {
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.paso-subtitulo {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.paso-texto {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
}

.img-paso {
    border-radius: 25px;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

/* ==========================================================================
   9. RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    .hero-section {
        flex-direction: column;
        height: auto;
        min-height: 100dvh;
    }



    .hero-content-full {
        max-width: 90%;
    }

    .floating-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .floating-element {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        animation: none !important;
        margin: 0;
        width: 90% !important;
        max-width: 350px;
    }

    /* Ocultar elementos decorativos secundarios en móvil para limpiar pantalla */
    .card-under-postit,
    .card-reminders-bg,
    .check-icon-float,
    .clock-icon-float {
        display: none;
    }

    .yt-card {
        width: auto !important;
        margin: 5% !important;
    }

    .btn-primary-custom {
        font-size: 1.5rem !important;
    }

    .video-inicio {
        aspect-ratio: 16 / 9 !important;
    }

}

@media (max-width: 1100px) {
    .navbar-nav .nav-link {
        font-size: 0.8rem !important;
    }
    #mainNavbar .nav-link {
        font-size: 0.8rem !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link{
        font-size: 0.8rem !important;
    }
}


.btn-cart {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0px 6px 0px 5px;
    border-radius: 0;
}

.btn-cart:hover {
    background: var(--primary-red);
}

.btn-cart .bi {
    font-size: 20px !important;
}


.btn-cart .badge {
    background-color: white !important;
    color: red !important;
}

/* Fuerza el borde redondeado de 10px en la tarjeta de SweetAlert */
.swal-borde-10 {
    border-radius: 10px !important;
}

/* Estilos para el botón del perfil (Blanco translúcido con texto rojo vino) */
.user-profile-btn {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transition: all 0.2s ease-in-out;
    border-radius: 14px !important;
}

.user-profile-btn:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

/* El círculo del avatar con las iniciales */
.user-avatar-circle {
    background-color: #66030e !important;
    color: #ffffff !important;
}

/* El menú desplegable (Collapse / Dropdown) con fondo blanco translúcido */
.custom-dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(102, 3, 14, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Colores de texto y elementos dentro del menú desplegable */
.custom-dropdown-header {
    border-bottom: 1px solid rgba(102, 3, 14, 0.15) !important;
}

.custom-dropdown-title {
    color: #000000 !important;
    /* Negro principal */
}

.custom-dropdown-email {
    color: #6b7280 !important;
    /* Gris secundario */
}

.custom-dropdown-item {
    color: #000000 !important;
    transition: background-color 0.2s ease;
}

.custom-dropdown-item:hover {
    background-color: rgba(102, 3, 14, 0.08) !important;
    color: #66030e !important;
    /* Rojo vino al pasar el mouse */
}

.custom-dropdown-item i {
    color: #66030e !important;
    /* Iconos en rojo vino */
}

.custom-logout-btn {
    color: #a70b1d !important;
    /* Rojo brillante para cerrar sesión */
    border-top: 1px solid rgba(102, 3, 14, 0.15) !important;
}

.custom-logout-btn:hover {
    background-color: rgba(167, 11, 29, 0.08) !important;
}

.lh-1 .text-info {
    color: white !important;
    font-size: 0.5rem !important;

}



/* ===================================== */
/* =========================================
   ESTRUCTURA BASE Y SCROLL LOCK


/* Solo esta área tendrá scroll vertical */
.scrollable-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem;
}

/* Ocultar barra de scroll para estética limpia (Opcional) */
.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}



/* Textos adaptados para el fondo oscuro/glass */
.text-equa-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-equa-white {
    color: #ffffff !important;
}

/* =========================================
   SIDEBAR Y COMPONENTES
========================================= */
.equa-sidebar {
    width: 260px;
    background: transparent !important;
    transition: transform 0.3s ease;
}

.equa-nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    margin-top: 5%;
}

.equa-nav-link:hover,
.equa-nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Buscador Topbar */
.equa-search {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50rem;
    color: white;
}

.equa-search:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    color: white;
}

/* =========================================
   GRÁFICOS CSS PURO (Sin librerías JS)
========================================= */
/* Gráfico de Barras */
.css-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    gap: 8px;
    padding-top: 20px;
}

.css-bar {
    width: 100%;
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 20px 20px 0 0;
    min-height: 5px;
    position: relative;
    transition: height 0.5s ease;
}

.css-bar.empty {
    background: rgba(255, 255, 255, 0.1);
}

.css-bar.striped {
    background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(139, 92, 246, 0.3) 5px, rgba(139, 92, 246, 0.3) 10px);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

/* Gráfico de Donut (Work/Life) */
.css-donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#8b5cf6 0% 65%, rgba(255, 255, 255, 0.2) 65% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.css-donut-inner {
    width: 110px;
    height: 110px;
    background-color: #1a1a1a;
    /* Color de fondo base */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Tarjeta AI Insights Gradient */
.ai-card {
    background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.4) !important;
}

.nave-home {
    display: contents;
}

/* Responsividad del menú móvil */
@media (max-width: 991.98px) {
    .equa-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 1050;
        background: rgba(15, 15, 15, 0.25) !important;
        backdrop-filter: blur(50px);
    }

    .equa-sidebar.show {
        left: 0;
    }

    .nave-home {
        display: none;
    }
}

/* Card Contenedora */
.yt-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 0.85rem 1.1rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.yt-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Avatar de Canal (Circular como tu ejemplo) */
.yt-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Miniatura de Video (Rectangular redondeada) */
.yt-thumb {
    width: 72px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Tipografía */
.yt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
    line-height: 1.25;
}

.yt-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0;
}

/* Botón estilo YouTube */
.btn-yt {
    background-color: #ff0000;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-yt:hover {
    background-color: #cc0000;
    color: #ffffff;
}

/* Botón secundario minimalista */
.btn-yt-outline {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-yt-outline:hover {
    background-color: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
}


/* Botón estilo YouTube */
.btn-tk {
    background-color: #030303;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-tk:hover {
    background-color: #030303;
    color: #ffffff;
}

/* Botón secundario minimalista */
.btn-tk-outline {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-tk-outline:hover {
    background-color: #030303;
    color: #ffffff;
    border-color: #030303;
}



/* Menú central Desktop - Línea blanca de elemento activo */
.desktop-nav-link {
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.desktop-nav-link:hover {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.desktop-nav-link.active-nav-desktop {
    border-bottom: 2px solid #ffffff;
    /* La línea blanca inferior como en tu captura original */
}

/* Ocultar la flecha por defecto de Bootstrap para usar nuestro propio icono en el perfil */
.hide-dropdown-icon::after {
    display: none !important;
}

/* Estilos del Offcanvas oscuro */
.custom-dark-offcanvas {
    width: 320px !important;
    background: linear-gradient(180deg, #3a080c 0%, #1a0204 100%) !important;
    color: #ffffff;
}

.offcanvas-link {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.2s ease;
}

.offcanvas-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05);
}

.offcanvas-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.yt-card-nueva {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 5px;
    background: white;
    padding: 2%;
    width: max-content;
    border-radius: 10px;
    margin: auto;
}


@media (max-width: 991px) {
    .yt-card-nueva {
        flex-direction: column !important;
    }

    .yt-card-nueva .perfil {
        flex-direction: column !important;
    }

}