/* SISTEMA DE DISEÑO - MANUAL OFICIAL DE LA API DE WHATSAPP DE MISDATOS */

/* 1. VARIABLES GLOBALES Y TOKENS DE DISEÑO */
:root {
    --color-cian: #37a6de;
    --color-cian-rgb: 55, 166, 222;
    --color-antracita: #333333;
    --color-neutro: #b3b3b3;
    
    /* Variaciones premium */
    --color-bg-body: #f5f8fa;
    --color-bg-card: #ffffff;
    --color-bg-code: #1e1e1e;
    --color-text-main: #222222;
    --color-text-muted: #666666;
    --color-border-card: #e1e8ed;
    --color-border-light: rgba(179, 179, 179, 0.2);
    
    /* Sombras y efectos */
    --box-shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.04);
    --box-shadow-hover: 0 12px 40px rgba(55, 166, 222, 0.15);
    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --border-radius-sm: 4px;
    
    /* Tipografías */
    --font-principal: 'Raleway', sans-serif;
    --font-monospace: 'Fira Code', monospace;
    
    /* Transiciones */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-principal);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-antracita);
}

a {
    color: var(--color-cian);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #2488be;
}

hr.divisor-seccion {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(55, 166, 222, 0), var(--color-border-card), rgba(55, 166, 222, 0));
    margin: 4rem 0;
}

/* 3. CABECERA PRINCIPAL (HEADER) */
#cabecera-principal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marca-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo-img {
    height: 38px;
    object-fit: contain;
}

/* Isotipo alternativo diseñado en CSS por si falla o en pantallas compactas */
.isotipo-nube {
    display: none;
    width: 32px;
    height: 32px;
    background-color: var(--color-cian);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(55, 166, 222, 0.3);
}

.logo-texto {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-antracita);
}

.color-acento {
    color: var(--color-cian);
}

/* Botón menú móvil (hamburguesa) */
#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

#menu-toggle .barrita {
    width: 100%;
    height: 2px;
    background-color: var(--color-antracita);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Animación de hamburguesa activa */
#menu-toggle.abierto .barrita:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#menu-toggle.abierto .barrita:nth-child(2) {
    opacity: 0;
}

#menu-toggle.abierto .barrita:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* 4. CONTENEDOR LAYOUT PRINCIPAL (GRID) */
.contenedor-layout {
    display: flex;
    max-width: 1440px;
    margin: 70px auto 0 auto; /* Despejar el Header fijo */
    position: relative;
}


/* 5. NAVEGACIÓN LATERAL (SIDEBAR) */
#menu-lateral {
    width: 300px;
    height: calc(100vh - 70px);
    position: fixed;
    top: 70px;
    bottom: 0;
    background-color: #ffffff;
    border-right: 1px solid var(--color-border-card);
    padding: 2.5rem 1.5rem;
    overflow-y: auto;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-antracita);
    margin-bottom: 0.3rem;
}

.sidebar-header p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--color-text-muted);
    font-weight: 600;
    border-radius: var(--border-radius-md);
    position: relative;
    font-size: 0.95rem;
}

.nav-links li a .indicador {
    position: absolute;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-cian);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    opacity: 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--color-cian);
    background-color: rgba(55, 166, 222, 0.05);
}

.nav-links li a.active .indicador {
    height: 60%;
    opacity: 1;
}

.sidebar-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
    font-size: 0.75rem;
    color: var(--color-neutro);
    font-weight: 600;
}

.sidebar-footer .enlace-web {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.sidebar-footer .enlace-web:hover {
    color: var(--color-cian);
}


/* 6. CONTENIDO PRINCIPAL */
#contenido-principal {
    margin-left: 300px; /* Ancho de la sidebar */
    flex-grow: 1;
    padding: 3.5rem 4rem;
    max-width: calc(1440px - 300px);
    overflow-x: hidden;
}

.seccion-manual {
    margin-bottom: 2rem;
}

.categoria-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(55, 166, 222, 0.1);
    color: var(--color-cian);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.2rem;
}

#contenido-principal h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-antracita);
}

.introduccion {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 900px;
    line-height: 1.7;
}

.texto-bloque {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 900px;
    line-height: 1.7;
}


/* Banner de llamadas de acción (CTA) */
.cta-banner {
    background: linear-gradient(135deg, #ffffff, #f0f7fc);
    border: 1px solid var(--color-border-card);
    border-left: 4px solid var(--color-cian);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 3.5rem;
    transition: var(--transition-smooth);
}

.cta-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.cta-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.cta-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.cta-acciones {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.boton-primario {
    display: inline-block;
    background-color: var(--color-cian);
    color: #ffffff;
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 14px rgba(55, 166, 222, 0.25);
    transition: var(--transition-fast);
}

.boton-primario:hover {
    background-color: #2488be;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(55, 166, 222, 0.35);
}

.boton-secundario {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid var(--color-border-card);
    color: var(--color-text-main);
    font-weight: 700;
    padding: 0.9rem 1.6rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.boton-secundario:hover {
    background-color: var(--color-bg-body);
    border-color: var(--color-neutro);
    transform: translateY(-1px);
}


/* Pilares de marca */
.subtitulo-seccion {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--color-cian);
}

.grid-pilares {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pilar-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-soft);
    transition: var(--transition-smooth);
}

.pilar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(55, 166, 222, 0.3);
}

.pilar-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.pilar-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--color-antracita);
}

.pilar-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* 7. ESTILOS DE LA SECCIÓN DE IDENTIDAD DE MARCA */
.mision-container {
    background: linear-gradient(135deg, #2a2a22, #1a1a1a); /* Detalle de contraste oscuro y premium */
    color: #ffffff;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 5px solid var(--color-cian);
    margin: 2rem 0;
    box-shadow: var(--box-shadow-soft);
}

.mision-titulo {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-cian);
    margin-bottom: 0.8rem;
}

.mision-texto {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    color: #f0f0f0;
}

.grid-marca-atributos {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 2rem;
}

.atributo-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-soft);
}

.atributo-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 0.6rem;
}

.tipografia-demo {
    font-family: var(--font-principal);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-cian);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.atributo-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.colores-swatch-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-swatch-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.color-bloque {
    width: 80px;
    height: 48px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.color-bloque.cian {
    background-color: var(--color-cian);
}

.color-bloque.antracita {
    background-color: var(--color-antracita);
}

.color-bloque.neutro {
    background-color: var(--color-neutro);
    color: #222;
}

.color-swatch-item span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}


/* 8. MODELO OPERATIVO */
.grid-modelos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.modelo-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-soft);
    position: relative;
    overflow: hidden;
}

.modelo-badge {
    position: absolute;
    top: -5px;
    right: 15px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(55, 166, 222, 0.05);
    user-select: none;
    pointer-events: none;
}

.modelo-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--color-antracita);
}

.modelo-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* 9. GUÍA DE ONBOARDING Y FLUJO SECUENCIAL (PASOS) */
.pasos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.paso-item {
    display: flex;
    gap: 1.5rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 1.8rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-soft);
}

.paso-numero {
    width: 48px;
    height: 48px;
    background-color: rgba(55, 166, 222, 0.1);
    color: var(--color-cian);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.paso-contenido h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.paso-contenido p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.sublista-pasos {
    margin-top: 1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--color-border-card);
}

.sublista-pasos li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.2rem;
}

.sublista-pasos li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-cian);
    font-weight: bold;
    font-size: 1.1rem;
    top: -2px;
}


/* 10. TABS DE CÓDIGO INTERACTIVOS */
.tabs-container {
    background-color: var(--color-bg-code);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-top: 2rem;
}

.tabs-headers {
    display: flex;
    background-color: #121212;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
}

.tab-btn {
    background-color: transparent;
    border: none;
    color: #888888;
    font-family: var(--font-principal);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 1.1rem 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #f5f5f5;
    background-color: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--color-cian);
    background-color: rgba(55, 166, 222, 0.03);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-cian);
}

.tabs-contents {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    color: #666666;
    font-family: var(--font-monospace);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.btn-copiar-codigo {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cccccc;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-family: var(--font-principal);
    font-weight: 600;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.btn-copiar-codigo:hover {
    background-color: var(--color-cian);
    border-color: var(--color-cian);
    color: white;
}

pre {
    padding: 1.5rem;
    overflow-x: auto;
    max-height: 520px;
}

code {
    font-family: var(--font-monospace);
    font-size: 0.88rem;
    color: #d4d4d4;
    white-space: pre;
    display: block;
    line-height: 1.5;
}


/* 11. REFERENCIA TÉCNICA Y ESPECIFICACIÓN DE MÉTODOS */
.metodo-espec {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-soft);
    margin-bottom: 2rem;
}

.metodo-firma {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 0.8rem;
}

.http-verbo {
    padding: 0.25rem 0.8rem;
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: var(--border-radius-sm);
    letter-spacing: 0.5px;
}

.http-verbo.post {
    background-color: #10b981; /* Verde esmeralda para POST */
}

.metodo-nombre {
    font-family: var(--font-monospace);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-antracita);
}

.metodo-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.metodo-espec h4 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.tabla-tecnica {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.8rem;
}

.tabla-tecnica th,
.tabla-tecnica td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.9rem;
}

.tabla-tecnica th {
    background-color: var(--color-bg-body);
    font-weight: 700;
    color: var(--color-antracita);
}

.tabla-tecnica td code {
    background-color: rgba(55, 166, 222, 0.08);
    color: var(--color-cian);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    font-size: 0.8rem;
}

.metodo-espec code.language-json {
    background-color: #1e1e1e;
    color: #9cdcfe;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin-top: 0.5rem;
    overflow-x: auto;
}


/* 12. COMPORTAMIENTO LEGACY */
.bloque-aviso {
    background-color: rgba(55, 166, 222, 0.05);
    border-left: 4px solid var(--color-cian);
    padding: 1.5rem 1.8rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.bloque-aviso h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-cian);
    margin-bottom: 0.4rem;
}

.bloque-aviso p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.grid-legacy-modos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.legacy-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    padding: 2.2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-soft);
    display: flex;
    flex-direction: column;
}

.legacy-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-antracita);
}

.legacy-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.lista-check {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lista-check li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.lista-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.alerta-importante {
    background-color: #fffbfa;
    border: 1px solid #ffe6e0;
    border-left: 3px solid #ff5a36;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-top: auto;
}

.alerta-importante strong {
    color: #d83d1c;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.6rem;
}

.alerta-importante ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alerta-importante ul li {
    font-size: 0.85rem;
    color: #555555;
    position: relative;
    padding-left: 1.2rem;
}

.alerta-importante ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff5a36;
    font-weight: bold;
    font-size: 1.2rem;
    top: -2px;
}


/* 13. HERRAMIENTAS DE APOYO, EQUIVALENCIAS Y PROMPT BOX */
.grid-apoyo {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.apoyo-col h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.apoyo-col p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Prompt Box */
.prompt-box {
    background-color: #252525;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid #333;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 0.6rem 1.5rem;
    font-size: 0.78rem;
    color: #888888;
    font-weight: 700;
    border-bottom: 1px solid #2a2a2a;
}

.btn-copiar-prompt {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: #bbbbbb;
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-principal);
    font-weight: 600;
    font-size: 0.72rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copiar-prompt:hover {
    background-color: var(--color-cian);
    border-color: var(--color-cian);
    color: white;
}

#prompt-equivalencias-texto {
    width: 100%;
    height: 180px;
    background-color: #1e1e1e;
    border: none;
    color: #a4c6e2;
    font-family: var(--font-monospace);
    font-size: 0.8rem;
    padding: 1.2rem;
    resize: none;
    outline: none;
    line-height: 1.5;
}

.lista-excel {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.lista-excel li {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.lista-excel li::before {
    content: "📊";
    position: absolute;
    left: 0;
    font-size: 1rem;
    top: -1px;
}


/* 14. BLOQUE COPIADOR DE MARKDOWN MANUAL */
.markdown-copier-container {
    background-color: #1a1a1a;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid #2a2a2a;
    margin-top: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.markdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121212;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    color: #888888;
    font-family: var(--font-monospace);
    border-bottom: 1px solid #252525;
}

#btn-copiar-markdown {
    background-color: var(--color-cian);
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-principal);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

#btn-copiar-markdown:hover {
    background-color: #2488be;
    transform: translateY(-1px);
}

#markdown-manual-texto {
    width: 100%;
    height: 280px;
    background-color: #1e1e1e;
    border: none;
    color: #e3e3e3;
    font-family: var(--font-monospace);
    font-size: 0.82rem;
    padding: 1.5rem;
    resize: vertical;
    outline: none;
    line-height: 1.6;
}


/* 15. NOTIFICACIÓN TOAST (ALERTA DE FLUIDEZ) */
#toast-notificacion {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #10b981; /* Verde esmeralda */
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 25px rgba(16, 185, 129, 0.35);
    z-index: 2000;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transform: translateY(0);
    opacity: 1;
    transition: var(--transition-smooth);
}

#toast-notificacion.oculto {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}


/* 16. RESPONSIVIDAD (SOPORTE PARA MÓVILES Y PANTALLAS TÁCTILES) */
@media (max-width: 1100px) {
    #contenido-principal {
        padding: 2.5rem;
    }
    
    .grid-apoyo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .grid-marca-atributos {
        grid-template-columns: 1fr;
    }
    
    .grid-legacy-modos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #menu-toggle {
        display: flex;
    }
    
    /* Mostrar isotipo simplificado en movil */
    .logo-img {
        display: none;
    }
    .isotipo-nube {
        display: flex;
    }
    
    /* Sidebar se convierte en menú deslizante */
    #menu-lateral {
        width: 280px;
        transform: translateX(-100%);
        box-shadow: 10px 0 40px rgba(0,0,0,0.1);
    }
    
    #menu-lateral.abierto {
        transform: translateX(0);
    }
    
    #contenido-principal {
        margin-left: 0;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    #contenido-principal h1 {
        font-size: 2rem;
    }
    
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.2rem;
    }
    
    .cta-acciones {
        width: 100%;
        flex-direction: column;
    }
    
    .cta-acciones a {
        text-align: center;
        width: 100%;
    }
    
    .grid-modelos {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 1rem 1.2rem;
        font-size: 0.8rem;
    }
}
