/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --shadow: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-hover: 0 8px 20px rgba(0,0,0,0.1);
    --font: 'Inter', system-ui, sans-serif;
}

body {
    font-family: var(--font);
    background: var(--light);
    color: var(--dark);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER (logo texto) ===== */
.site-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

#primary-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

#primary-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

#primary-menu a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.btn, .btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    gap: 0.3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 8px rgba(99,102,241,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99,102,241,0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 2rem 0 5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--gray);
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-social a:hover {
    background: var(--primary);
}

/* ===== MENÚ MÓVIL INFERIOR ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 0.5rem;
    justify-content: space-around;
    z-index: 100;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.7rem;
    gap: 0.2rem;
}

.mobile-nav-item i {
    font-size: 1.3rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

/* ===== OVERLAY GENERADORES ===== */
.generator-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
    overflow-y: auto;
    padding: 1rem;
}

.generator-overlay.active {
    display: block;
    opacity: 1;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 1.5rem;
}

.overlay-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.overlay-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.overlay-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    margin-bottom: 1.5rem;
}

.generator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
    gap: 0.5rem;
}

.generator-item {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    text-align: center;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s;
}

.generator-item:hover {
    background: rgba(99,102,241,0.2);
    border-color: var(--primary);
}

.generator-item i {
    font-size: 2rem;
    color: var(--primary);
}

/* ===== TARJETAS DE HERRAMIENTAS (tool-card) ===== */
.tools-grid,
.similar-grid,
#results-grid.row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.tool-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.2s;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.tool-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card-image {
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8fafc, #eef2f6);
    text-align: center;
}

.tool-card-image img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.tool-card-content {
    padding: 0.5rem;
    flex: 1;
}

.tool-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    /* Permitir que el título ocupe hasta 2 líneas y no se desborde */
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.tool-card-description {
    font-size: 0.8rem;
    color: var(--gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    word-break: break-word;
}

.tool-card-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.tool-card-categories {
    margin-top: 0.25rem;
}

.tool-card-cat {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    margin-right: 0.2rem;
    display: inline-block;
}

.tool-card-footer {
    padding: 0.5rem;
    border-top: 1px solid var(--border);
}

.tool-card-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.3rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tool-card-btn:hover {
    background: var(--primary-dark);
}

/* ===== SINGLE TOOL (cover tipo perfil) ===== */
.single-tool-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.tool-profile {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-logo {
    flex: 0 0 80px;
}

.profile-logo img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.profile-info {
    flex: 1;
    min-width: 250px;
}

.profile-info h1 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-cats {
    margin: 0.25rem 0;
}

.cat-badge {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 0.3rem;
    display: inline-block;
}

.profile-rating {
    font-size: 1rem;
    margin: 0.25rem 0;
}

.profile-description {
    color: var(--gray);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.profile-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-actions .btn-primary,
.profile-actions .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Video */
.tool-video {
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Grid de contenido */
.tool-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.main-column, .sidebar-column {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

/* Bloques de fallback */
.tool-fallback-attributes ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-fallback-attributes li {
    background: var(--light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

.tool-fallback-proscons .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tool-fallback-proscons ul {
    list-style: none;
}

.tool-fallback-proscons li {
    padding: 0.3rem 0;
    border-bottom: 1px dashed var(--border);
}

/* Share block */
.share-block {
    margin-top: 1.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 1px solid var(--border);
}

.share-buttons a:hover {
    background: var(--primary);
    color: white;
}

/* Reseñas */
.tool-reviews {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    margin: 1rem 0;
}

.comment-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.85rem;
}

.comment-rating {
    font-size: 1rem;
    margin: 0.25rem 0;
}

/* Similar tools */
.similar-tools {
    margin-top: 1.5rem;
}

.similar-tools h2 {
    margin-bottom: 1rem;
}

/* ===== PÁGINA FIND TOOLS ===== */
.find-tools-page {
    padding: 1rem;
}

.filters-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.filter-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.results-count {
    font-weight: 500;
    color: var(--gray);
}

#sort-options {
    padding: 0.3rem 0.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    .site-footer {
        padding-bottom: 5rem;
    }
    .header-actions {
        display: none;
    }
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-actions {
        width: 100%;
    }
    .profile-actions .btn-primary,
    .profile-actions .btn-outline {
        flex: 1;
    }
    .tool-content-grid {
        grid-template-columns: 1fr;
    }

    /* Ajustes para grids de herramientas en móvil */
    .tools-grid,
    .similar-grid,
    #results-grid.row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.35rem; /* Reducir separación entre tarjetas */
        margin-left: 0; /* Eliminar márgenes negativos de Bootstrap */
        margin-right: 0;
    }

    /* Ajustar padding del contenedor padre para que no haya espacio extra */
    .find-tools-page .col-lg-9 {
        padding-left: 5px;
        padding-right: 5px;
    }

    /* Hacer las tarjetas más compactas */
    .tool-card-image {
        padding: 0.5rem;
    }

    .tool-card-content {
        padding: 0.35rem;
    }

    .tool-card-footer {
        padding: 0.35rem;
    }

    .tool-card-title {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
    }

    .tool-card-description {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .tool-card-price,
    .tool-card-cat {
        font-size: 0.65rem;
    }

    /* Opcional: limitar ancho máximo de las tarjetas para que no se estiren demasiado */
    .tool-card {
        max-width: 180px;
        margin-left: auto;
        margin-right: auto;
    }

    .generator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Clase auxiliar por si se quiere usar en otros lugares (opcional) */
.find-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .find-tool-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Sección Pros & Cons - diseño tipo tarjeta */
.tool-fallback-proscons {
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
}

/* Neutralizar márgenes negativos de Bootstrap en .row */
.tool-fallback-proscons .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0;
    width: 100%;
}

.tool-fallback-proscons .col-md-6 {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
}

.tool-fallback-proscons .col-md-6:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.tool-fallback-proscons h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-fallback-proscons .col-md-6:first-child h3::before {
    content: "✓";
    background: #10b981;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.tool-fallback-proscons .col-md-6:last-child h3::before {
    content: "✗";
    background: #ef4444;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.tool-fallback-proscons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-fallback-proscons li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-fallback-proscons li:last-child {
    border-bottom: none;
}

.tool-fallback-proscons li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Si solo hay una columna (solo pros o solo cons) */
.tool-fallback-proscons .col-md-6:only-child {
    grid-column: span 2;
}

/* En móvil, la única columna debe ocupar todo el ancho */
@media (max-width: 768px) {
    .tool-fallback-proscons .col-md-6:only-child {
        grid-column: span 1;
    }
}

/* FAQ - Acordeón moderno */
.tool-fallback-faq {
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
}

.tool-fallback-faq h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: white;
    box-shadow: var(--shadow);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: white;
    color: var(--dark);
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8fafc, #eef2f6);
    color: var(--primary);
}

.accordion-button::after {
    background-size: 1.2rem;
    transition: transform 0.3s;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    word-break: break-word;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .tool-fallback-proscons .row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-description h2 {
        font-size: 1.5rem;
    }

    .tool-description table {
        font-size: 0.9rem;
    }

    .tool-description th, 
    .tool-description td {
        padding: 0.75rem;
    }

    .accordion-button {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 1rem 1.2rem;
    }
}

/* ===== PORTADA RECTANGULAR PARA SINGLE TOOL ===== */
.tool-profile {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    min-height: 220px;
    display: flex;
    align-items: center; /* Centrado vertical en desktop */
}

.tool-profile .profile-overlay {
    background: rgba(0, 0, 0, 0.6); /* Fondo semitransparente sólido */
    backdrop-filter: blur(2px); /* Suave desenfoque opcional */
    padding: 1rem 1.5rem;
    width: 100%;
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.tool-profile .profile-logo {
    flex: 0 0 70px;
}

.tool-profile .profile-logo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tool-profile .profile-info {
    flex: 1;
    min-width: 200px;
}

.tool-profile .profile-info h1 {
    font-size: 1.8rem;
    margin: 0 0 0.25rem;
    color: white;
    line-height: 1.2;
}

.tool-profile .profile-info .profile-description,
.tool-profile .profile-info .profile-price,
.tool-profile .profile-info .profile-rating {
    color: white;
    margin: 0.2rem 0;
    font-size: 0.95rem;
}

.tool-profile .cat-badge {
    background: rgba(99,102,241,0.9);
    color: white;
    border: none;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
}

.tool-profile .profile-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.tool-profile .profile-actions .btn-primary,
.tool-profile .profile-actions .btn-outline {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.tool-profile .profile-actions .btn-primary:hover,
.tool-profile .profile-actions .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Móvil */
@media (max-width: 768px) {
    .tool-profile {
        min-height: 180px;
    }
    .tool-profile .profile-overlay {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    .tool-profile .profile-logo {
        flex: 0 0 50px;
    }
    .tool-profile .profile-logo img {
        width: 50px;
        height: 50px;
    }
    .tool-profile .profile-info h1 {
        font-size: 1.2rem;
    }
    .tool-profile .profile-info .profile-description,
    .tool-profile .profile-info .profile-price,
    .tool-profile .profile-info .profile-rating {
        font-size: 0.8rem;
    }
    .tool-profile .profile-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .tool-profile .profile-actions .btn-primary,
    .tool-profile .profile-actions .btn-outline {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    /* Reducir padding interno de las columnas en móvil para aprovechar mejor el espacio */
    .main-column, .sidebar-column {
        padding: 1rem;
    }
}

/* ===== SIDEBAR DE GENERADORES ===== */
.generators-sidebar {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 0;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.generators-sidebar .sidebar-header {
    padding: 0 20px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.generators-sidebar .sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1e293b;
}

.generators-sidebar .sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    max-height: auto;
    overflow-y: auto;
}

.generators-sidebar .sidebar-tab-link {
    display: block;
    text-decoration: none;
    text-align: left;
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.generators-sidebar .sidebar-tab-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.generators-sidebar .sidebar-tab-link:active,
.generators-sidebar .sidebar-tab-link:focus {
    outline: none;
}

/* En móvil, el sidebar se oculta (ya lo hace Bootstrap) */
@media (max-width: 991px) {
    .generators-sidebar {
        display: none;
    }
}

.generators-sidebar-wrapper {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    }