/* ==========================================================================
   CIC-OS Versión 2.0 - Portal de Aplicaciones (Tema Claro / Aspecto Limpio)
   ========================================================================== */

:root {
    --bg-main: #f4f6f9;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    --border-subtle: #e2e8f0;
    --border-card: #e2e8f0;
    --border-glow: rgba(14, 165, 233, 0.3);
    
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --primary-glow: rgba(2, 132, 199, 0.15);
    
    --accent-emerald: #10b981;
    --accent-emerald-light: #d1fae5;
    --accent-emerald-dark: #047857;

    --accent-pink: #db2777;
    --accent-pink-light: #fce7f3;
    --accent-pink-dark: #be185d;

    --accent-amber: #d97706;
    --accent-amber-light: #fef3c7;
    --accent-amber-dark: #b45309;

    --accent-purple: #9333ea;
    --accent-purple-light: #f3e8ff;
    --accent-purple-dark: #7e22ce;

    --accent-blue: #2563eb;
    --accent-blue-light: #dbeafe;
    --accent-blue-dark: #1d4ed8;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --text-light: #94a3b8;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.03);
    --shadow-hero: 0 15px 35px rgba(2, 132, 199, 0.08), 0 3px 10px rgba(0, 0, 0, 0.03);
    
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 15% 0%, rgba(2, 132, 199, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Sutil patrón de fondo */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 32px 32px;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px 70px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Encabezado y Barra de Estado
   ========================================================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 32px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.brand-icon img {
    width: 28px;
    height: 28px;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-tag {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-weight: 700;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.header-telemetry {
    display: flex;
    align-items: center;
    gap: 20px;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.9); opacity: 0.7; }
}

#clock-display {
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    background: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Encabezado Fijo y Ribbon de Filtros
   ========================================================================== */
.fixed-top-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-spotlight {
    position: relative;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 14px 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #06b6d4, #10b981);
}

.hero-left-bar {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-brand-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.hero-brand-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-version {
    font-size: 12px;
    color: var(--text-dim);
    font-family: monospace;
    font-weight: 600;
}

.hero-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-title img {
    width: 38px;
    height: 38px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
}

.hero-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.6;
}

.hero-metrics {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.metric-box {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.metric-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.hero-actions-card {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-actions-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-launch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-hero-desktop {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-hero-desktop:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-hero-mobile {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.btn-hero-mobile:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

.btn-hero-settings {
    background: #ffffff;
    color: var(--text-muted);
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-hero-settings:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: #94a3b8;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Ribbon de Filtros (Selector Desplegable) y Buscador
   ========================================================================== */
.toolbar-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 10px 18px;
    box-shadow: var(--shadow-sm);
}

.ribbon-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.select-icon {
    position: absolute;
    left: 14px;
    color: var(--primary);
    pointer-events: none;
}

.category-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    padding: 9px 38px 9px 38px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.category-dropdown:hover {
    background-color: #ffffff;
    border-color: var(--primary);
}

.category-dropdown:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-box {
    position: relative;
    min-width: 320px;
}

.search-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    padding: 10px 18px 10px 42px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

/* ==========================================================================
   Cuadrícula de Tarjetas de Aplicaciones
   ========================================================================== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 22px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-accent, var(--primary));
    opacity: 0.9;
}

.app-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-icon-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.card-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-new {
    background: var(--accent-amber-light);
    color: var(--accent-amber-dark);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-prod {
    background: var(--accent-emerald-light);
    color: var(--accent-emerald-dark);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-admin {
    background: #f1f5f9;
    color: var(--text-dim);
    border: 1px solid #cbd5e1;
}

.card-body {
    margin-bottom: 20px;
}

.card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 12px;
    color: var(--card-accent, var(--primary));
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.btn-card-detail {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--text-muted);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-card-detail:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: #94a3b8;
}

.btn-card-launch {
    flex: 1;
    background: var(--card-accent, var(--primary));
    color: #ffffff;
    border: none;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-card-launch:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Modal Dinámico de Ficha Técnica
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.96);
    transition: var(--transition);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon img {
    width: 38px;
    height: 38px;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
}

.modal-subtitle {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-features-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.modal-features-list li {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-check {
    color: var(--accent-emerald);
    font-weight: 800;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ==========================================================================
   Adaptabilidad Móvil
   ========================================================================== */
@media (max-width: 900px) {
    .hero-spotlight {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .hero-actions-card {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        width: 100%;
    }
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para Conteo de Filtros y Carga por Lotes */
.filter-count {
    font-size: 11px;
    opacity: 0.75;
    font-weight: 700;
}

.apps-counter {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dim);
    margin-left: 4px;
}

.btn-load-more {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-load-more:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Modal de Configuración a Pantalla Completa con Panel a la Derecha
   ========================================================================== */
.modal-fullscreen-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-fullscreen-overlay.open {
    display: flex;
}

.modal-fullscreen-container {
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-fullscreen-header {
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.settings-header-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-header-icon img {
    width: 24px;
    height: 24px;
}

.btn-settings-close {
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.15s;
}

.btn-settings-close:hover {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

.settings-split-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 320px;
    overflow: hidden;
    background: #f8fafc;
}

.settings-content-area {
    padding: 32px 40px;
    overflow-y: auto;
}

.settings-sidebar-right {
    background: #ffffff;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    gap: 16px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0 8px;
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sidebar-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: 0.15s;
    width: 100%;
}

.sidebar-nav-btn:hover {
    background: #f1f5f9;
    color: var(--text-main);
}

.sidebar-nav-btn.active {
    background: #e0f2fe;
    border-color: var(--primary);
    color: #0369a1;
}

.sidebar-nav-btn .nav-icon {
    font-size: 18px;
}

.sidebar-footer-info {
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Paneles de Contenido */
.section-pane {
    max-width: 900px;
}

.pane-header {
    margin-bottom: 24px;
}

.pane-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(2, 132, 199, 0.3);
    margin-bottom: 8px;
}

.pane-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.pane-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.code-textarea {
    width: 100%;
    background: #0f172a;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #334155;
    outline: none;
    line-height: 1.5;
}

.beginner-steps-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-top: 14px;
}

.step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.step-body {
    font-size: 13px;
    color: var(--text-main);
}

/* Caja de Autenticación Centrada */
.auth-box-container {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    width: 92%;
    max-width: 440px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    z-index: 100000;
}
