/* ==========================================================================
   🪙 FABCOINS PREMIUM SYSTEM DESIGN - THE DEFINITIVE MASTER SUITE v5.6
   ========================================================================== */

/* ==========================================================================
   01. VARIABLES DE ENTORNO & CORE CORPORATIVO
   ========================================================================== */

:root {
    /* --- PALETA DE COLORES NATIVA --- */
    --bg-main: #0b0c10;
    --bg-card: #1c2230;
    --bg-card-dark: #16181f;
    --text-main: #ecf0f1;
    --text-muted: #bdc3c7;
    
    /* --- COLORES SEMÁNTICOS DE ACENTO --- */
    --c-blue: #3498db;
    --c-green: #2ecc71;
    --c-red: #e74c3c;
    --c-yellow: #f1c40f;
    --c-orange: #f39c12;
    --c-purple: #9b59b6;
    --c-dark-purple: #8e44ad;
    --c-gray: #7f8c8d;
}

    /* --- PALETA DE COLORES MAESTRA (DEEP DARK FINTECH) --- */
  

    /* --- IDENTIFICADORES CROMÁTICOS SEMÁNTICOS --- */
   

    /* --- COMPONENTES TIPOGRÁFICOS --- */


/* ==========================================================================
   02. REINICIOS MAESTROS & CAPTURA SEMÁNTICA (EVITA ELEMENTOS RAW)
   ========================================================================== */
/* --- 2.1 REINICIOS GLOBALES (BODY & CORE TAGS) --- */
body { 
    font-family: 'Inter', 'Segoe UI', sans-serif; 
    background: var(--bg-main); 
    color: var(--text-main); 
    margin: 0; 
    padding: 20px; 
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

a { 
    color: var(--c-blue); 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: bold; 
    transition: 0.2s ease;
}
a:hover { 
    filter: brightness(1.2); 
}


/* --- 2.2 MOTOR DE CAPTURA DE ENTRADAS & FORMULARIOS --- */
input, select, textarea { 
    padding: 10px; 
    margin-bottom: 10px; 
    border-radius: 6px; 
    border: 1px solid #34495e; 
    background: var(--bg-main); 
    color: white; 
    width: 100%; 
    box-sizing: border-box; 
    font-size: 13px; 
    font-family: inherit; 
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-blue); }

.premium-input, .premium-select {
    width: 100%; background: #131722; border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff; height: 38px; border-radius: 6px; font-size: 12.5px; padding: 0 15px;
    box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 0;
}
.premium-select { font-weight: 700; }

.premium-textarea {
    width: 100%; background: #131722; border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff; border-radius: 6px; font-size: 12.5px; padding: 10px 12px;
    resize: none; font-family: 'Inter', sans-serif; box-sizing: border-box;
}
.premium-input:focus, .premium-select:focus, .premium-textarea:focus { outline: none !important; }

.premium-label {
    font-size: 10px; font-weight: 700; color: #7f8c8d; text-transform: uppercase;
    letter-spacing: 0.5px; display: block; margin-bottom: 6px;
}

.row-token-enlistar {
    display: grid !important; /* Fuerza el layout de enlistamiento */
    grid-template-columns: 1.8fr 2fr 2.5fr 1.8fr 45px !important; /* Alineación simétrica total */
    gap: 15px;
    background: #131722;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.01);
}
.row-token-enlistar select,
.row-token-enlistar input {
    width: 100%;
    margin-bottom: 0;
    background: #1c2230;
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    height: 38px;
    border-radius: 6px;
    font-size: 12.5px;
}

.row-token-enlistar select {
    font-weight: 700;
    font-size: 12px;
}

.row-token-enlistar input[type="number"] {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding-right: 35x;
}

.address-input-wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: center;
}

.input-with-badge-wrapper { position: relative; display: flex; align-items: center; }

.grid-mission-inputs { display: grid; grid-template-columns: 1.5fr 1fr; gap: 15px; }

/**
.input-reward-gold { width: 100%; background: #131722; border: 1px solid rgba(255,255,255,0.06); color: #f1c40f; height: 38px; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; text-align: center; }
**/

.input-readonly-state { background: #1c2230 !important; color: #7f8c8d !important; }
.input-active-state { background: #131722 !important; color: #fff !important; }

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* --- 1. UTILIDADES TEMÁTICAS (blue Y NEÓN) --- */
.focus-glow-blue input:focus,
.focus-glow-blue select:focus,
.focus-glow-blue textarea:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 12px rgba(52, 152, 219, 0.25) !important;
    background-color: #1a1f2c !important;
    outline: none !important;
}

body.theme-lab input:focus, body.theme-lab select:focus, body.theme-lab textarea:focus { border-color: var(--theme-color); }

/* --- 2.3 ARQUITECTURA MAESTRA DE BOTONES (BUTTONS INTERFACES) --- */
button, .btn-apply { 
    font-family: inherit;
    background: var(--c-green); 
    color: white; 
    border: none; 
    padding: 10px 15px; 
    cursor: pointer; 
    border-radius: 6px; 
    font-weight: bold; 
    transition: 0.3s ease; 
    width: 100%;
}
button:hover, .btn-apply:hover { filter: brightness(0.9); }

.btn-logout {
    background: transparent;
    color: #a0aec0;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-logout:hover {
    color: #ffffff;
    background: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-outline { 
    background: transparent; 
    border: 1px solid var(--c-blue); 
    color: var(--c-blue); 
    width: 100%; 
    display: block; 
    text-align: center; 
    padding: 8px; 
    border-radius: 4px; 
    text-decoration: none; 
    margin-top: 15px; 
    transition: 0.2s;
}
.btn-outline:hover { background: var(--c-blue); color: white; }

.btn-add { background: #34495e; color: white; padding: 10px 20px; width: auto; }
.btn-add:hover { background: #2c3e50; }

.btn-mint { background: var(--c-green); color: white; padding: 12px 30px; font-size: 16px; width: 100%; }
.btn-mint:disabled { background: var(--c-gray); cursor: not-allowed; opacity: 0.7; }

.btn-retire { background: var(--c-red); color: white; padding: 5px 10px; font-size: 11px; width: auto; }
.btn-edit { background: var(--c-blue); color: white; padding: 6px; font-size: 12px; width: auto; }
.btn-back { background: #34495e; color: white; padding: 8px 15px; text-decoration: none; border-radius: 4px; font-size: 12px; font-weight: bold; display: inline-block; }

.btn-auth-submit {
    background: #2ecc71;
    color: #0b0c10;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    margin-top: 10px;
}
.btn-auth-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.btn-auth-submit.btn-login-theme {
    background: #3498db;
    color: #ffffff;
}

.btn-premium {
    height: 38px; padding: 0 20px; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; cursor: pointer; transition: all 0.2s ease-in-out;
    border: 1px solid transparent; color: #ffffff; margin: 0;
}

.btn-back-minimal {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #a0aec0 !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    font-size: 11px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    width: auto !important;
    height: auto;
}

.btn-back-minimal:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-text-yellow {
    background: transparent; border: none; color: #f1c40f; 
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 11px; 
    cursor: pointer; padding: 0; text-transform: uppercase; 
    letter-spacing: 0.5px; white-space: nowrap; display: inline-flex; align-items: center;
}
.btn-text-yellow:hover { color: #d4ac0d; }

.btn-delete-icon {
    background: transparent; border: none; color: #e74c3c; font-size: 16px; 
    cursor: pointer; padding: 4px; line-height: 1; transition: transform 0.2s;
}
.btn-delete-icon:hover { transform: scale(1.2); }

.btn-transparent-action {
    background: transparent;
    border: none;
    color: #f1c40f;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.btn-transparent-action:hover { color: #d4ac0d; }

.btn-green-hub {
    background: #1abc9c;
    border: 1px solid #1abc9c;
    color: #ffffff !important;
    padding: 0 24px;
    height: 36px;
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.15);
    /*width: max-content !important;*/
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.btn-green-hub:hover {
    background: #16a085;
    border-color: #16a085;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
}

.btn-yellow-hub {
    background: #f1c40f ;
    border: 1px solid #f1c40f ;
    color: #ffffff !important;
    padding: 0 24px;
    height: 36px;
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.15);
    /*width: max-content !important;*/
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.btn-yellow-hub:hover {
    background: #f1c40f ;
    border-color: #f1c40f ;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
}

.btn-pink-hub {
    background: #e84393  ;
    border: 1px solid #e84393  ;
    color: #ffffff !important;
    padding: 0 24px;
    height: 36px;
    font-size: 11.5px;
    font-weight: 700;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.15);
    /*width: max-content !important;*/
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.btn-pink-hub:hover {
    background: #e84393  ;
    border-color: #e84393  ;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
}

.btn-min-approve { padding: 5px 10px !important; font-size: 10px !important; background: rgba(46,204,113,0.06) !important; border-color: rgba(46,204,113,0.3) !important; color: #2ecc71 !important; font-weight: 700 !important; }
.btn-min-approve:hover { background: rgba(46,204,113,0.15) !important; color: #2ecc71 !important; }
.btn-min-reschedule { padding: 5px 10px !important; font-size: 10px !important; background: rgba(243,156,18,0.06) !important; border-color: rgba(243,156,18,0.3) !important; color: #f39c12 !important; font-weight: 700 !important; }
.btn-min-reschedule:hover { background: rgba(243,156,18,0.15) !important; color: #f39c12 !important; }
.btn-min-reject { padding: 5px 10px !important; font-size: 10px !important; border-color: rgba(231,76,60,0.2) !important; color: #e74c3c !important; }
.btn-min-reject:hover { background: rgba(231,76,60,0.1) !important; color: #e74c3c !important; }

.btn-export-excel { 
    background: rgba(46, 204, 113, 0.06) !important; border-color: rgba(46, 204, 113, 0.2) !important; 
    color: #2ecc71 !important; font-weight: 700 !important; padding: 0 16px !important; 
    height: 34px !important; border-radius: 6px !important; 
}
.btn-export-excel:hover { background: rgba(46, 204, 113, 0.15) !important; color: #2ecc71 !important; }

.btn-modal-gold { background: #f1c40f !important; border-color: #f1c40f !important; color: #111111 !important; }
.btn-modal-green { background: #2ecc71 !important; border-color: #2ecc71 !important; color: #ffffff !important; }

.btn-blue-hub {
    background: #3498db; border: 1px solid #3498db; color: #ffffff !important;
    padding: 0 20px; height: 40px; font-size: 12px; font-weight: 700;
    font-family: 'Rajdhani', sans-serif; text-transform: uppercase;
    letter-spacing: 0.5px; border-radius: 6px; cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.15); transition: all 0.2s ease-in-out;
}
.btn-blue-hub:hover {
    background: #2980b9; border-color: #2980b9; box-shadow: 0 6px 20px rgba(52, 152, 219, 0.25);
}

/* --- 2.4 EXTENSIONES DINÁMICAS DE COLOR & CLASES UTILITARIAS ATÓMICAS --- */
.mt-5px { margin-top: 5px !important; }
.mb-0 { margin-bottom: 0 !important; }

.h-90 { height: 90px !important; }
.w-100 { width: 100% !important; }
.w-80 { width: 100%; }
.m-0 { margin: 0 !important; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px !important; }
.mb-22 { margin-bottom: 22px !important; }
.mt-10 { margin-top: 10px; }
.mb-15 { margin-bottom: 15px; }
.mt-20 { margin-top: 20px; }
.pt-24 { padding-top: 24px !important; }
.h-75 { height: 75px !important; }

.font-11 { font-size: 11px; }
.font-12 { font-size: 12px; }
.font-13 { font-size: 13px; }
.font-16 { font-size: 16px; }
.font-24 { font-size: 24px; }
.font-bold { font-weight: bold; }
.text-uppercase { text-transform: uppercase; }

.font-rajdhani-15 { font-family: 'Rajdhani', sans-serif !important; font-size: 15px !important; }
/* 🎯 TRUCO DE ALTA ESCUELA: Ocultamos el ícono nativo y expandimos su hitbox al 100% */
.font-rajdhani-15::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    cursor: pointer;
    z-index: 3; /* Se coloca por encima de todo para capturar el click */
}

/* Evita que se vea el recuadro blanco nativo en algunos navegadores */
.font-rajdhani-15::-webkit-inner-spin-button,
.font-rajdhani-15::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}

.block-16 { display: block !important; font-size: 16px !important; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }

.d-inline-block { display: inline-block; }

.text-muted { color: var(--text-muted); }
.text-blue { color: var(--c-blue); }
.text-orange { color: var(--c-orange); }
.text-green { color: var(--c-green); }
.text-yellow { color: var(--c-yellow); }

body.theme-admin { --theme-color: #0D8ABC; }
body.theme-admin th { background: var(--theme-color); color: white; }

/* --- creator THEME --- */
body.theme-creator { --theme-color: var(--c-orange); }
body.theme-creator .header { background: var(--bg-card); border-left: 6px solid var(--theme-color); }
body.theme-creator .tab-btn.active { background: var(--theme-color); color: var(--bg-main); }

/* --- LAB THEME --- */
body.theme-lab.is-active { --theme-color: var(--c-green); }
body.theme-lab.is-frozen { --theme-color: var(--c-red); }
body.theme-lab .header { background: var(--bg-card); border-left: 6px solid var(--theme-color); }
body.theme-lab .tab-btn.active { background: var(--theme-color); color: var(--bg-main); }

.text-pink-neon { color: #e84393 !important; }
.text-green-neon { color: #2ecc71 !important; }

.text-center-wrapper { text-align: center; }
.action-cell-flex { display: flex; align-items: center; gap: 12px; width: 100%; }

.w-auto { width: auto !important; }
.flex-center-38 { display: flex; align-items: center; justify-content: center; width: 100%; height: 38px; }
.text-center { text-align: center !important; }
.mt-25 { margin-top: 25px !important; }

/* --- Utilidades de Alineación Adicionales --- */
.text-right { text-align: right; }
.pr-5 { padding-right: 5px; }
.col-span-2 { grid-column: span 2; }
.col-span-5 { grid-column: span 5; }
.flex-align-gap-10 { display: flex; align-items: center; gap: 10px; }
.flex-end-mt20 { display: flex; justify-content: flex-end; margin-top: 20px; }

/* --- Utilidades para Tarjetas de Tarifas y Reservas (2_tokenizar) --- */
.flex-col-gap-10 { display: flex; flex-direction: column; gap: 10px; }

/* Tarjeta 2: Tarifas */
.flex-align-gap-12 { display: flex; align-items: center; gap: 12px; }

.form-inline-flex-10 { margin: 0; display: flex; align-items: center; gap: 10px; }

.text-danger-neon { color: #e74c3c !important; }
.text-neutral-neon { color: #cbd5e0 !important; }
.text-neutral-muted { color: #cbd5e0 !important; }
.text-muted-dark { color: #4a5568 !important; }
.text-warning-neon { color: #f1c40f !important; }
.text-blue-neon { color: #3498db !important; }
.text-white-pure { color: #ffffff !important; }
.bg-warning-neon { background: #f1c40f !important; }

/* --- ADAPTACIONES DE NAVEGADORES --- */

/* ==========================================================================
   03. ESTRUCTURAS CONTAINERIZADAS & TARJETAS DE CRISTAL (PREMIUM CARDS)
   ========================================================================== */

/* ----------------------------------------------------------------------
   3.1 CONTENEDORES DE CONTROL INDUSTRIAL (PREMIUM GLASS CARDS)
   ---------------------------------------------------------------------- */
.premium-glass-card {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: #1c2230;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-glass-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); padding-bottom: 12px;
}

.premium-glass-card-title {
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 19px;
    color: #ffffff; margin: 0 0 4px 0; text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 8px;
}

.premium-glass-card-subtitle {
    font-size: 12.5px; color: #a0aec0; margin-bottom: 20px; line-height: 1.4;
}

.market-panel-card {
    border: 1px solid rgba(255, 255, 255, 0.04); background: #1c2230;
    padding: 24px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 25px;
}

.card { 
    background: var(--bg-card); 
    padding: 25px; 
    border-radius: 12px; 
    margin-bottom: 25px; 
}
.card h2 { 
    margin-top: 0; 
    font-size: 18px; 
    border-bottom: 1px solid #34495e; 
    padding-bottom: 15px; 
}

/* Contenedores Genéricos de los Tabs */
.hub-card-container {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: #1c2230;
    margin-bottom: 25px;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}


/* ----------------------------------------------------------------------
   3.2 MATRICES DE KPIS MACROECONÓMICOS (GRID ARQUITECTURE - HUB I Y II)
   ---------------------------------------------------------------------- */
.profile-container-v2 { max-width: 1100px; margin: 0 auto; padding-bottom: 50px; }
.grid-top-identity { display: grid; grid-template-columns: 320px 1fr; gap: 25px; align-items: stretch; margin-bottom: 25px; }
.grid-bottom-data { display: grid; grid-template-columns: 1fr 1.5fr; gap: 25px; align-items: start; }

.mission-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.grid-tablas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.row-catalogo { display: grid; grid-template-columns: 2fr 3fr 2fr 2fr auto; gap: 5px; align-items: center; margin-bottom: 5px; }

.grid-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 25px; }
.grid-kpis-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 30px; }

.creator-asset-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px;
    margin-bottom: 25px;
}

.grid-acciones { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 20px; }

.action-hubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

/* ----------------------------------------------------------------------
   3.3 COMPONENTES DE RESPALDO DE FONDOS (LEGACY & CYBER KPI CARDS)
   ---------------------------------------------------------------------- */
.kpi-card { 
    background: var(--bg-card); 
    border-radius: 8px; 
    padding: 20px 15px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
}
.kpi-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; font-weight: bold; letter-spacing: 0.5px; margin-bottom: 8px; }
.kpi-value { font-size: 28px; font-weight: bold; color: #fff; }

.creator-asset-card {
    background: #131722; border: 1px solid rgba(255,255,255,0.03); border-radius: 12px;
    padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
    transition: all 0.2s ease-in-out;
}
.creator-asset-card:hover {
    border-color: rgba(52, 152, 219, 0.2); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Bordes Semánticos para KPIs */
.border-yellow { border-left: 6px solid var(--c-yellow); }
.border-green  { border-left: 6px solid var(--c-green); }
.border-red    { border-left: 6px solid var(--c-red); }
.border-blue   { border-left: 6px solid var(--c-blue); }
.border-purple { border-left: 6px solid var(--c-purple); }
.border-dark-purple { border-left: 6px solid var(--c-dark-purple); }
.border-orange { border-left: 6px solid var(--c-orange); }
.border-gray   { border-left: 6px solid var(--c-gray); }



/* Bordes Semánticos de Respaldo Contable */



/* ==========================================================================
   04. MOTOR DE TABLAS INTERACTIVAS & LEDGERS DE AUDITORÍA
   ========================================================================== */

/* ----------------------------------------------------------------------
   4.1 CONTENEDORES FLUIDOS CON STICKY HEADERS (TABLE WRAPPERS)
   ---------------------------------------------------------------------- */
.table-container { overflow-x: auto; border-radius: 4px; border: 1px solid #34495e; max-height: 500px; }

/* ---------------------------------------------------------------------
   4.2 FILAS DE CABECERA Y DATOS COMPACTOS (TABLE CELL DESIGN)
   ---------------------------------------------------------------------- */
.td-description-text { font-size: 13px; color: #ffffff; }
.tx-badge { font-size: 8.5px; padding: 1px 5px; border-radius: 3px; font-weight: bold; margin-left: 6px; letter-spacing: 0.3px; color: white; }
.tx-badge-mint { background: #3498db; }
.tx-badge-escrow { background: #e84393; }
.tx-badge-info { background: #7f8c8d; }

.tx-amount-value { font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 15px; }

.premium-data-table { width: 100% !important; border-collapse: collapse; table-layout: auto;}
.premium-data-table th {
    padding: 12px; font-size: 10px; color: #7f8c8d; text-transform: uppercase;
    text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); letter-spacing: 0.5px;
}
.premium-data-table td {
    padding: 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.02); vertical-align: middle;
}
.premium-data-table tr:hover td { background: rgba(255, 255, 255, 0.01); }
.premium-data-table .empty-state { text-align: center; padding: 40px; color: #7f8c8d; font-size: 13px; font-style: italic; }

.empty-state-warning { 
    background: #131722; border-radius: 8px; border: 1px dashed rgba(241, 196, 15, 0.15); 
    padding: 40px; text-align: center; color: #7f8c8d; 
}

table {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.5);
    }
th, td { padding: 12px 15px; border-bottom: 1px solid #34495e; text-align: left; }
th { background: var(--bg-main); color: var(--text-muted); font-size: 11px; text-transform: uppercase; position: sticky; top: 0; z-index: 1; }

/* --- Utilidad para columnas de progreso en Tablas --- */
.capacity-progress-wrapper {
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.capacity-progress-unit {
    font-size: 10px;
    color: #a0aec0;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-left: 4px;
}
.capacity-progress-tokenized {
    font-size: 11px;
    color: #f1c40f;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-left: auto;
}
.capacity-progress-burned {
    font-size: 10.5px;
    color: #7f8c8d;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.asset-progress-bar {
    width: 90%; height: 3px; background: rgba(255,255,255,0.06); 
    border-radius: 2px; overflow: hidden;
}
.asset-progress-fill { height: 100%; border-radius: 2px; }
.asset-progress-high { background: #1abc9c; }
.asset-progress-med { background: #f1c40f; }
.asset-progress-low { background: #e74c3c; }


/* ==========================================================================
   05. INSIGNIAS SEMÁNTICAS, CRÉDITOS & COMPROMISOS (BADGES)
   ========================================================================== */

/* ----------------------------------------------------------------------
   5.1 DIVISORES CROMÁTICOS EN BLOQUE (SEMANTIC BADGES)
   ---------------------------------------------------------------------- */
.badge-unidad-dinamica { 
    position: absolute; 
    right: 50px; /* 👈 La desplaza un poco a la izquierda para liberar las flechas nativas */
    font-size: 10px;
    color: #1abc9c;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- COBROS ADVERTENCIAS --- */
.frozen-overlay { background: rgba(231, 76, 60, 0.15); border: 2px dashed var(--c-red); border-radius: 12px; padding: 20px; margin-bottom: 25px; text-align: center; }
.frozen-overlay h2 { color: var(--c-red); margin: 0 0 5px 0; }

.badge-semantic {
    padding: 3px 8px; border-radius: 4px; font-size: 9px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; white-space: nowrap; color: white !important;
}
.badge-machine { background: #1abc9c; }
.badge-service { background: #3498db; }
.badge-lab     { background: #9b59b6; }
.badge-space   { background: #2ecc71; }
.badge-status-enlisted { background: rgba(160, 174, 192, 0.08); color: #a0aec0; }
.badge-status-operative { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.badge-status-retired { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }

.badge { padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: bold; text-transform: uppercase; display: inline-block; color: white; }
.badge-blue   { background: var(--c-blue); }
.badge-orange { background: var(--c-orange); }
.badge-green  { background: var(--c-green); }
.badge-gray   { background: var(--c-gray); }
.badge-red    { background: var(--c-red); }

/* --- Insignias de Alerta y Quema Histórica --- */
.badge-alert-neon {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    background: rgba(231, 76, 60, 0.06);
    border: 1px solid rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-unit-dynamic {
    position: absolute;
    right: 10px;
    font-size: 10px;
    color: #1abc9c;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- ALERTAS & BADGES --- */
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; }
.alert-success { background: rgba(46, 204, 113, 0.2); color: var(--c-green); border: 1px solid var(--c-green); }
.alert-danger  { background: rgba(231, 76, 60, 0.2); color: var(--c-red); border: 1px solid var(--c-red); }
.alert-warning { background: rgba(241, 196, 15, 0.2); color: var(--c-yellow); border: 1px solid var(--c-yellow); }
.alert-info    { background: rgba(52, 152, 219, 0.2); color: var(--c-blue); border: 1px solid var(--c-blue); }

/* Indicadores de viñeta (Puntos) */
.dot-warning { background: #f1c40f !important; }
.dot-success { background: #2ecc71 !important; }
.dot-info { background: #3498db !important; }
.dot-danger { background: #e84393 !important; }


/* Legacy Badges Compatibility */


/* ----------------------------------------------------------------------
   5.2 INSIGNIAS CON FONDO TRANSLÚCIDO (GHOST BADGES FINTECH)
   ---------------------------------------------------------------------- */
/* Badges con fondo translúcido (Ghost Badges) para Tablas */
.badge-ghost-warning { padding: 3px 6px; border-radius: 4px; font-size: 9px; font-weight: 600; background: rgba(241,196,15,0.08); color: #f1c40f !important; letter-spacing: 0.3px; }
.badge-ghost-success { padding: 3px 6px; border-radius: 4px; font-size: 9px; font-weight: 600; background: rgba(46,204,113,0.08); color: #2ecc71 !important; letter-spacing: 0.3px; }
.badge-ghost-info    { padding: 3px 6px; border-radius: 4px; font-size: 9px; font-weight: 600; background: rgba(52,152,219,0.08); color: #3498db !important; letter-spacing: 0.3px; }
.badge-ghost-danger  { padding: 3px 6px; border-radius: 4px; font-size: 9px; font-weight: 600; background: rgba(231,76,60,0.08); color: #e74c3c !important; letter-spacing: 0.3px; }


/* ==========================================================================
   06. SISTEMA DE NAVEGACIÓN COMPACTO, LAYOUT HEADERS & NOTIFICACIONES
   ========================================================================== */

/* ----------------------------------------------------------------------
   6.1 ENTORNOS DE LOGUEO INDUSTRIAL (LAB & PUBLIC HEADERS)
   ---------------------------------------------------------------------- */

.auth-card input, .auth-card textarea { margin-bottom: 15px; width: 100%; }

.auth-page-body {
    background-color: #0b0c10 !important;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    flex-direction: column; 
    padding: 20px;
    box-sizing: border-box;
}

/* 📐 Tarjeta de Acceso Compacta con Brillo de Acento */
.auth-card-v2 { 
    background: #16181f; 
    padding: 40px 30px; 
    border-radius: 20px; 
    max-width: 420px; 
    width: 100%; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.6); 
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
    text-align: center;
}

/* 🖼️ Área del Isologo Unificado */
.auth-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.auth-logo-area img {
    width: 38px;
    height: auto;
    object-fit: contain;
}
.auth-logo-area h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}
.auth-logo-area h1 span {
    color: #3498db; /* blue celeste institucional */
}

.auth-subtitle {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0 0 30px 0;
    font-weight: 500;
}

/* 🎛️ Selectores de Pestañas Snappy */
.auth-tabs-v2 { 
    display: flex; 
    margin-bottom: 25px; 
    background: #0b0c10; 
    border-radius: 10px; 
    padding: 4px;
}
.auth-tab-btn { 
    flex: 1; 
    text-align: center; 
    padding: 10px; 
    cursor: pointer; 
    background: transparent; 
    color: #bdc3c7; 
    transition: all 0.25s ease; 
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    user-select: none;
}
.auth-tab-btn.active { 
    background: #3498db; 
    color: #ffffff; 
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
}

.auth-form-section { display: none; text-align: left; }
.auth-form-section.active { display: block; }

.auth-back-link { 
    display: block; 
    text-align: center; 
    margin-top: 25px; 
    font-size: 13px; 
    color: #7f8c8d; 
    text-decoration: none; 
    font-weight: 600;
    transition: color 0.2s;
}
.auth-back-link:hover { color: #ffffff; }

.auth-wrapper { display: flex; justify-content: center; align-items: center; min-height: 100vh; flex-direction: column; background: var(--bg-main); }
.auth-card { background: var(--bg-card); padding: 30px; border-radius: 12px; max-width: 400px; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.5); box-sizing: border-box; }


.auth-tabs { display: flex; margin-bottom: 20px; background: var(--bg-main); border-radius: 6px; overflow: hidden; }
.auth-tab { flex: 1; text-align: center; padding: 12px; cursor: pointer; background: transparent; color: var(--text-muted); transition: all 0.3s ease; font-size: 14px; }
.auth-tab.active { background: var(--c-blue); color: #ffffff; font-weight: bold; box-shadow: 0 0 15px rgba(52, 152, 219, 0.4); }

.auth-input-group {
    position: relative;
    margin-bottom: 20px; /* El contenedor es el único que maneja el espacio hacia abajo */
    width: 100%;
}
.auth-card-v2 .auth-input-group input { 
    margin-bottom: 0 !important; /* Resetea cualquier margen heredado para no deformar el contenedor */
    padding: 12px 45px 12px 16px; /* Deja espacio a la derecha para que el texto no choque con el ojo */
    width: 100%;
    box-sizing: border-box;
}
.auth-card-v2 input, 
.auth-card-v2 textarea { 
    padding: 12px 16px; 
    border-radius: 8px; 
    border: 1px solid #34495e; 
    background: #0b0c10; 
    color: #ffffff; 
    width: 100%; 
    box-sizing: border-box; 
    font-size: 14px; 
    font-family: inherit;
    transition: border-color 0.2s;
}
.auth-card-v2 input:focus, 
.auth-card-v2 textarea:focus { 
    outline: none; 
    border-color: #3498db; 
}

/* 👁️ INTEGRACIÓN QUIRÚRGICA DEL OJO VECTORIAL MODERNO */
.password-toggle-wrapper {
    position: relative;
    width: 100%;
}
/* 👁️ REPARACIÓN QUIRÚRGICA DEL OJO VECTORIAL MODERNO */
.password-toggle-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%); /* Centrado vertical matemático perfecto */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    opacity: 0.4;
    transition: opacity 0.2s ease;
    z-index: 10; /* Asegura que quede siempre por encima del input */
}

.password-toggle-eye:hover {
    opacity: 0.8;
}

.password-toggle-eye svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: #ffffff !important; /* 🔥 CORRECCIÓN: Fuerza al vector a pintarse en blanco en modo oscuro */
    fill: none !important;      /* 🔥 CORRECCIÓN: Evita que el fondo del ojo se pinte de negro */
}

.lab-header-v2 {
    background: #1c1f26; 
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 16px 28px; 
    border-radius: 16px; 
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.lab-controls-node { 
    display: flex; 
    align-items: center; 
    gap: 22px; 
}

.lab-profile-trigger {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    width: fit-content;
}

.lab-profile-trigger:hover img { 
    transform: scale(1.05); 
}

.lab-avatar-wrapper {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.lab-avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.lab-avatar-wrapper.status-active {
    border-color: #2ecc71 !important;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.5);
}

.lab-avatar-wrapper.status-frozen {
    border-color: #e74c3c !important;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.6);
}

.lab-identity-meta h1 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.lab-profile-trigger:hover .lab-identity-meta h1 { 
    color: #3498db; 
}

.lab-reputation-stars {
    font-size: 12px;
    color: #f1c40f;
    font-weight: 700;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lab-reputation-stars span { 
    color: #bdc3c7; 
    font-weight: 500; 
}

/* =========================================================
     CABECERA PÚBLICA PROFILE (NAVBAR)
    ========================================================= */
.public-navbar {
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px 0; margin-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.public-logo-wrapper { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.public-logo-wrapper img { height: 32px; width: auto; filter: drop-shadow(0 0 8px rgba(52, 152, 219, 0.4)); }
.public-logo-text { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 0.5px; margin: 0; }
.public-logo-text span { color: #3498db; }
.public-nav-actions { display: flex; align-items: center; gap: 15px; }
.lang-pill { display: flex; gap: 8px; background: rgba(0,0,0,0.3); padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.lang-pill a { text-decoration: none; font-size: 16px; transition: opacity 0.2s; }
.lang-pill a:hover { opacity: 1 !important; }

.header { 
    padding: 20px; 
    border-radius: 12px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
}

/* ----------------------------------------------------------------------
   6.2 MOTOR ASÍNCRONO CONTENEDOR (CAMPANA DE NOTIFICACIONES)
   ---------------------------------------------------------------------- */
/* --- CAMPANA DE NOTIFICACIONES --- */
.notif-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 340px;
    max-height: 400px;
    background: #161a23;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
}

.notif-item {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 12.5px;
    color: #ecf0f1;
    line-height: 1.4;
    text-align: left;
    transition: background 0.2s;
    border-left: 3px solid #3498db;
}

.notif-item:hover { background: rgba(255, 255, 255, 0.02); }
.notif-item.unread { background: rgba(52, 152, 219, 0.03); }

.notif-empty-state { text-align: center; color: #7f8c8d; border-left: none !important; }
.notif-item-blue { border-left-color: #3498db !important; }
.notif-timestamp { font-size: 10px; color: #7f8c8d; margin-top: 5px; }

.notif-dropdown::-webkit-scrollbar { width: 6px; }
.notif-dropdown::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); border-radius: 0 12px 12px 0; }
.notif-dropdown::-webkit-scrollbar-thumb { background: #34495e; border-radius: 4px; }
.notif-dropdown::-webkit-scrollbar-thumb:hover { background: #4a6572; }

.notif-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.notif-icon-btn svg {
    width: 100%;
    height: 100%;
    stroke: #bdc3c7;
    fill: none;
    transition: stroke 0.2s, transform 0.2s;
}

.notif-icon-btn:hover svg { 
    stroke: #ffffff; 
    transform: rotate(10deg); 
}

.notif-badge-v2 {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #e74c3c;
    color: #ffffff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 0 10px #e74c3c;
    line-height: 1;
}

/* ----------------------------------------------------------------------
   6.3 SELECTORES DE FLUJO EN PANTALLA (TABS AUTOMATION NAV)
   ---------------------------------------------------------------------- */
.tabs-nav { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 2px solid #34495e; padding-bottom: 10px; }
.tab-btn { background: #34495e; color: var(--text-muted); border: 1px solid #7f8c8d; padding: 10px 20px; font-size: 16px; font-weight: bold; cursor: pointer; border-radius: 6px; transition: 0.2s; }
.tab-btn:hover { background: rgba(255,255,255,0.05); }
.tab-content { display: none; }
.tab-content.active { display: block; }


/* ==========================================================================
   07. CONSOLA DE HUBS & CONTROL DE CAPAS (LAB EXCLUSIVES)
   ========================================================================== */

/* ----------------------------------------------------------------------
   7.1 MATRIZ DE ENGRANAJES INDUSTRIALES (GRID EFFECT)
   ---------------------------------------------------------------------- */
.hub-card {
    background: #222a35; /* Gris blueado profundo del mock */
    border-radius: 28px;
    padding: 35px 25px 30px 25px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto; /* Quitamos el forzado alargado vertical */
    box-sizing: border-box;
}

/* Contenido de la Tarjeta Hub */
.hub-image-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hub-image-container img { width: 100%; height: auto; object-fit: contain; }

.hub-subtitle { font-size: 11px; color: #bdc3c7; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* 💠 Contenedor de Iconos Progresivos */
.hub-vector-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-card h2 {
    font-size: 32px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin: 5px 0 2px 0;
    border: none !important;
    padding: 0 !important;
}

.hub-card .hub-subtitle {
    font-size: 12px;
    color: #bdc3c7;
    margin: 0 0 20px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 🪐 Iluminación Asimétrica de Acentos Neon en Hover */
.hub-card.card-activar-neon { border-bottom: 6px solid #1abc9c; }
.hub-card.card-activar-neon:hover { border-color: #1abc9c; box-shadow: 0 20px 45px rgba(26, 188, 156, 0.22); transform: translateY(-5px); }

.hub-card.card-tokenizar-neon { border-bottom: 6px solid #f1c40f; }
.hub-card.card-tokenizar-neon:hover { border-color: #f1c40f; box-shadow: 0 20px 45px rgba(241, 196, 15, 0.22); transform: translateY(-5px); }

.hub-card.card-publicar-neon { border-bottom: 6px solid #e84393; }
.hub-card.card-publicar-neon:hover { border-color: #e84393; box-shadow: 0 20px 45px rgba(232, 67, 147, 0.22); transform: translateY(-5px); }

.hub-card.card-misiones-neon { border-bottom: 6px solid #e84393; }
.hub-card.card-misiones-neon:hover { border-color: #e84393; box-shadow: 0 20px 45px rgba(232, 67, 147, 0.22); transform: translateY(-5px); }

.hub-card.card-mercado-neon { border-bottom: 6px solid #f1c40f; }
.hub-card.card-mercado-neon:hover { border-color: #f1c40f; box-shadow: 0 20px 45px rgba(241, 196, 15, 0.22); transform: translateY(-5px); }

.hub-card.card-billetera-neon { border-bottom: 6px solid #3498db; }
.hub-card.card-billetera-neon:hover { border-color: #3498db; box-shadow: 0 20px 45px rgba(52, 152, 219, 0.22); transform: translateY(-5px); }

.hub-card.card-activar-neon {
    border-bottom: 6px solid #1abc9c;
}
.hub-card.card-activar-neon:hover {
    box-shadow: 0 15px 35px rgba(26, 188, 156, 0.2);
    transform: translateY(-5px);
}

.hub-card.card-tokenizar-neon {
    border-bottom: 6px solid #f1c40f;
}
.hub-card.card-tokenizar-neon:hover {
    box-shadow: 0 15px 35px rgba(241, 196, 15, 0.2);
    transform: translateY(-5px);
}

.hub-card.card-ofertar-neon {
    border-bottom: 6px solid #e84393;
}
.hub-card.card-ofertar-neon:hover {
    box-shadow: 0 15px 35px rgba(232, 67, 147, 0.2);
    transform: translateY(-5px);
}

.home-hubs-wrapper {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
    transform: scale(1);
}

/* Colores y bordes base */
.hub-bar-blue { border-bottom: 2px solid #3498db !important; }
.hub-text-blue { color: #3498db !important; }
.hub-border-blue { border-color: #3498db !important; }
.hub-bg-blue { background: #3498db !important; }

.text-success-neon      { color: #2ecc71 !important; }

/* --- ESTILOS TEMÁTICOS PARA CABECERAS DE hub --- */
.hub-bar-green    { border-bottom: 2px solid #1abc9c !important; }
.hub-text-green   { color: #1abc9c !important; }

.hub-bar-yellow { border-bottom: 2px solid #f1c40f !important; }
.hub-text-yellow{ color: #f1c40f !important; }

.hub-bar-pink   { border-bottom: 2px solid #e84393 !important; }
.hub-text-pink  { color: #e84393 !important; }


/* ----------------------------------------------------------------------
   7.2 ANILLOS DE CONTROL CIRCULARES & DESGLOSES (DONUTS CHIPS)
   ---------------------------------------------------------------------- */
/* Gráficos Donut y Métricas */

.bullet-metrics-compact {
    text-align: left;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-compact-row {
    display: flex;
    align-items: center;
    gap: 6px; 
    font-size: 13px;
    color: #ecf0f1;
}

.metric-compact-row strong { font-family: 'Rajdhani', sans-serif; font-size: 14px; color: #ffffff; }

/* 📊 Anillos de Control sin texto interno */
.donut-chart-box {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px auto;
}
.donut-svg-canvas {
    transform: rotate(-90deg);
}

/* 🪙 Valores Financieros Primarios */
.main-hub-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Listas desglosadas con viñetas alineadas */
.bullet-metrics-list {
    text-align: left;
    margin: 5px auto 0 auto;
    width: max-content;
    display: grid;
    gap: 5px;
}
.metric-bullet-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #ecf0f1;
}
.color-dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

/* ----------------------------------------------------------------------
   7.3 SECCIONES ACTIVAS DE CONTROL INTERNO (FORM ALIGNMENTS)
   ---------------------------------------------------------------------- */
.hub-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.hub-section.active { display: block; opacity: 1; transform: translateY(0); }

.hub-active-bar-v2 {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 20px; 
    background: #1c1f26;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    width: 100%;
    box-sizing: border-box;
}

.hub-active-bar-v2::before {
    content: "";
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    order: 1;
}

.hub-title-node {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    order: 2;
}

.hub-title-node img { width: 22px; height: 22px; object-fit: contain; }


/* Grillas Especializadas de Formularios de Enlistamiento */
.social-links-grid-activar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #131722;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.01);
}

.social-links-grid-activar input {
    width: 100%;
    height: 36px;
    background: #1c2230;
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    border-radius: 6px;
    font-size: 11.5px;
    padding: 0 10px;
    margin: 0;
}

.form-actions-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.grid-headers-enlistar {
    display: grid;
    grid-template-columns: 1.8fr 2fr 2.5fr 1.8fr 45px;
    gap: 15px;
    margin-bottom: 10px;
    padding: 0 5px;
}

.grid-headers-enlistar label {
    font-size: 10px;
    font-weight: 700;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grillas Especializadas de Valorización MINT */
.token-numeric-value { 
    color: #cbd5e0; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; 
}
.token-unit-small { 
    font-family: 'Inter', sans-serif; font-size: 10px; color: #7f8c8d; 
}
.token-subtotal-value { 
    color: #7f8c8d; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14.5px; transition: color 0.2s;
}

/* --- FILAS DINÁMICAS DE TOKENIZACIÓN (LAB) --- */
.row-token { display: grid; grid-template-columns: 1.5fr 1.5fr 2fr 0.8fr 1fr 1.2fr auto; gap: 10px; align-items: start; margin-bottom: 12px; background: #243342; padding: 10px; border-radius: 8px; border: 1px solid #34495e; }
.fc-preview { background: rgba(241, 196, 15, 0.1); color: var(--c-yellow); padding: 12px 8px; border-radius: 6px; font-weight: bold; text-align: center; border: 1px dashed var(--c-yellow); height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.grid-tokenise-headers {
    display: grid;
    grid-template-columns: 40px 1.6fr 0.9fr 1.3fr 1fr 1fr 1.1fr;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 5px;
    align-items: center;
}

.row-tokenise-item {
    display: grid;
    grid-template-columns: 40px 1.6fr 0.9fr 1.3fr 1fr 1fr 1.1fr;
    gap: 12px;
    background: #131722;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.01);
}

.tokenise-total-wrapper {
    display: grid;
    grid-template-columns: 40px 1.6fr 0.9fr 1.3fr 1fr 1fr 1.1fr;
    gap: 12px;
    margin-top: 20px;
    align-items: center;
    padding-right: 5px;
}

/* Cajas de Desglose Económico de Activos */
.total-box-success { 
    text-align: right; background: rgba(46, 204, 113, 0.02); padding: 12px; 
    border-radius: 10px; border: 1px solid rgba(46, 204, 113, 0.1); 
}
.total-box-label { 
    font-size: 10px; color: #7f8c8d; text-transform: uppercase; display: block; 
    letter-spacing: 0.5px; margin-bottom: 2px; 
}
.total-box-value { 
    font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 24px; color: #4a5568; transition: color 0.2s;
}

/* --- Formulario Misiones --- */
.flex-col-gap-15 { display: flex; flex-direction: column; gap: 15px; }
.relative-flex-w100 { position: relative; display: flex; align-items: center; width: 100%; }
.grid-mission-config { 
    display: grid; 
    grid-template-columns: 0.8fr 0.8fr 1fr 1.4fr; 
    gap: 15px; 
    align-items: flex-end !important; 
}
.calendar-icon-overlay { position: absolute; right: 12px; top: 10px; color: #e84393; font-size: 13px; pointer-events: none; z-index: 5; }

/*
.input-date-premium { width: 100%; background: #131722; border: 1px solid rgba(255,255,255,0.08); color: #fff; height: 38px; border-radius: 6px; font-size: 12.5px; padding: 0 12px 0 38px; color-scheme: dark; font-family: 'Rajdhani', sans-serif; font-weight: 600; cursor: pointer; transition: all 0.2s ease-in-out; }
*/

/* --- Tabla Misiones --- */
.tr-align-top { border-bottom: 1px solid rgba(255,255,255,0.02); vertical-align: top; }
.miss-title-text { font-weight: 600; color: #ffffff; font-size: 13.5px; margin-bottom: 4px; }
.miss-desc-text { font-size: 11.5px; color: #a0aec0; line-height: 1.4; max-width: 400px; }
.miss-link-text { color: #3498db; font-size: 11px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.td-date-rajdhani { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #cbd5e0; font-size: 13px; }
.spots-filled-text { font-size: 9.5px; color: #7f8c8d; text-transform: uppercase; font-weight: 600; }
.flex-col-gap-8 { display: flex; flex-direction: column; gap: 8px; }
.flex-col-gap-2 { display: flex; flex-direction: column; gap: 2px; }
.applicant-name-text { color: #cbd5e0; font-size: 12.5px; font-weight: 600; }
.badge-financiado { font-size: 9px; background: rgba(241, 196, 15, 0.08); color: #f1c40f; padding: 1px 4px; border-radius: 3px; font-weight: 700; width: fit-content; letter-spacing: 0.3px; }

.btn-min-eval-gold { padding: 5px 12px !important; font-size: 10px !important; font-weight: 700 !important; background: rgba(255,255,255,0.02) !important; border-color: #f1c40f !important; color: #f1c40f !important; }
.btn-min-eval-green { padding: 5px 12px !important; font-size: 10px !important; font-weight: 700 !important; background: rgba(255,255,255,0.02) !important; border-color: #2ecc71 !important; color: #2ecc71 !important; }

/* --- Skills Tags --- */
.skill-tags-wrapper { background: #131722; border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 12px; max-height: 130px; overflow-y: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag-label { display: inline-flex; align-items: center; gap: 6px; background: #1c2230; padding: 4px 8px; border-radius: 4px; font-size: 11px; color: #cbd5e0; cursor: pointer; border: 1px solid rgba(255,255,255,0.02); transition: background 0.2s; }
.skill-tag-label:hover { background: #232b38; }
.skill-tag-sub { font-size: 8.5px; opacity: 0.5; font-weight: 700; }



.applicant-row-card { background: #131722; padding: 8px 12px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.01); }

.btn-min-assign { padding: 5px 10px !important; font-size: 10px !important; background: rgba(52,152,219,0.05) !important; border-color: rgba(52,152,219,0.3) !important; color: #3498db !important; font-weight: 700 !important; }


/* ----------------------------------------------------------------------
   7.4 DETALLES DE CAPACIDAD Y ACTUALIZACIÓN DE TARIFAS (PRICING)
   ---------------------------------------------------------------------- */
.rate-item-row { display: flex; justify-content: space-between; align-items: center; background: #131722; padding: 12px 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.01); }

.rate-item-title { font-size: 13px; color: #cbd5e0; font-weight: 600; }

.rate-item-subtitle { font-size: 11px; color: #7f8c8d; }

.input-rate-update { width: 95px; height: 34px; background: #1c2230; border: 1px solid rgba(255,255,255,0.06); color: #f1c40f; font-weight: 700; border-radius: 6px; padding: 0 8px; margin-bottom: 0; text-align: center; font-family: 'Rajdhani', sans-serif; font-size: 14px; }

.btn-rate-update { padding: 0 14px !important; height: 34px !important; display: inline-flex; align-items: center; background: rgba(241, 196, 15, 0.04) !important; border-color: rgba(241, 196, 15, 0.2) !important; color: #f1c40f !important; }
.btn-rate-update:hover { background: rgba(241, 196, 15, 0.1) !important; border-color: rgba(241, 196, 15, 0.4) !important; }

.empty-italic-text { font-size: 12.5px; color: #4a5568; font-style: italic; margin: 0; }

/* Tarjeta 3: Reservas (Celdas de tabla) */
.td-date-dim { font-size: 11.5px; color: #a0aec0; }
.td-creator-name { font-size: 13px; font-weight: 600; color: #ffffff; }
.td-equipment { font-size: 13px; color: #cbd5e0; }
.td-time-req { font-size: 12px; color: #ffffff; }
.text-date-highlight { font-size: 10px; color: #3498db; font-weight: bold; }
.td-amount-gold { font-family: 'Rajdhani', sans-serif; font-weight: 800; color: #f1c40f; font-size: 15px; }
.action-cell-flex-6 { display: flex; gap: 6px; align-items: center; }

/* Textos de Estado de Reservas */
.status-text-approved { font-size: 10px; font-weight: 800; color: #2ecc71; letter-spacing: 0.5px; }
.status-text-waiting { font-size: 10px; font-weight: 700; color: #f39c12; letter-spacing: 0.5px; }
.status-text-rejected { font-size: 10px; color: #7f8c8d; font-weight: 600; }

.asset-name-truncate { 
    color: #cbd5e0; font-weight: 500; white-space: nowrap; 
    overflow: hidden; text-overflow: ellipsis; max-width: 140px; 
    display: inline-block; vertical-align: middle; 
}

/* ==========================================================================
   08. COMPONENTES DEL CREADOR (MERCADOS, MAPAS LEAFLET & ISA)
   ========================================================================== */

/* ----------------------------------------------------------------------
   8.1 EXPLORADOR DE CAPACIDAD INSTALADA (CREATOR GRID SUITE)
   ---------------------------------------------------------------------- */
.creator-asset-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 12px; margin-bottom: 15px;
}
.creator-asset-header strong { font-size: 11px; color: #3498db; letter-spacing: 0.5px; }
.creator-asset-header .price-tag { color: #2ecc71; font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 15px; }

/* --- MISIONES Y MERCADO GLOBAL --- */
.mission-card { background: var(--bg-main); padding: 20px; border-radius: 8px; border: 1px solid #34495e; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s ease; }
.mission-card:hover { transform: translateY(-3px); border-color: var(--c-blue); }
.mission-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }

.market-search-bar { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; }

.market-filters { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }

.market-search-bar input {
    flex: 1; margin: 0; height: 40px; background: #131722; color: white;
    border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 0 15px; font-size: 13px;
}

.market-filters select, .market-filters input {
    height: 40px; background: #131722; color: white; border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 0 15px; font-size: 13px;
}

.creator-asset-row-glass { 
    display: flex; justify-content: space-between; align-items: center; background: #131722; 
    padding: 16px 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.02); 
    flex-wrap: wrap; gap: 15px; 
}
.asset-lab-badge { font-size: 11px; color: #a0aec0; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }
.asset-title-large { margin: 4px 0; font-size: 16px; color: #ffffff; }
.asset-type-badge { font-size: 10px; color: #3498db; letter-spacing: 0.5px; font-weight: 700; margin: 0; }

.info-block-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 15px;
}

.form-reserve-asset { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.input-date-reserve { background: #1c2230; color: white; border: 1px solid rgba(255,255,255,0.06); height: 38px; border-radius: 6px; font-size: 12px; padding: 0 10px 0 32px; margin: 0; color-scheme: dark; width: 140px; }
.input-hours-reserve { background: #1c2230; color: white; border: 1px solid rgba(255,255,255,0.06); height: 38px; border-radius: 6px; font-size: 13px; font-family: 'Rajdhani', sans-serif; font-weight: 700; text-align: center; margin: 0; width: 80px; }

.btn-reset-filter { display: none; padding: 0 12px !important; height: 28px !important; font-size: 10.5px !important; font-weight: bold !important; border-color: rgba(52,152,219,0.3) !important; color: #3498db !important; }

.form-reserve-integrated {
    margin-top: auto; border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 15px; display: grid; grid-template-columns: 1fr; gap: 12px;
}

.reserve-inputs-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 10px; }
.reserve-date-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.calendar-icon-reserve { position: absolute; left: 10px; color: #e84393; font-size: 12px; pointer-events: none; z-index: 5; }

.input-reserve-date {
    width: 100%; background: #1c2230; color: white; border: 1px solid rgba(255,255,255,0.06);
    height: 38px; border-radius: 6px; font-size: 12px; padding: 0 10px 0 32px;
    margin: 0; color-scheme: dark; font-family: 'Inter', sans-serif;
}
.input-reserve-hours {
    width: 100%; background: #1c2230; color: white; border: 1px solid rgba(255,255,255,0.06);
    height: 38px; border-radius: 6px; font-size: 13px; font-family: 'Rajdhani', sans-serif;
    font-weight: 700; text-align: center; margin: 0;
}

.asset-address-text { font-size: 11px; color: #7f8c8d; margin-top: 10px; display: block; }
.asset-capacity-wrap { margin-top: 15px; margin-bottom: 20px; }
.asset-capacity-label { font-size: 11px; color: #bdc3c7; display: block; margin-bottom: 6px; }
.asset-bar-bg { background: #1a1a1a; height: 6px; border-radius: 3px; width: 100%; overflow: hidden; }
.asset-bar-fill { background: #2ecc71; height: 100%; border-radius: 3px; }

.form-reserve-row { 
    display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 8px; align-items: stretch; 
    border-top: 1px solid rgba(255,255,255,0.04); padding-top: 15px;
}

.input-date-sm { 
    width: 100%; background: #1c2230; color: white; border: 1px solid rgba(255,255,255,0.06); 
    height: 36px; border-radius: 6px; font-size: 11px; padding: 0 5px 0 28px; color-scheme: dark; box-sizing: border-box; margin: 0;
}
/* Estilizado del icono nativo para evitar que se pinte en gris deslavado */
.input-date-sm::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(320deg);
    cursor: pointer;
}
.input-hours-sm { 
    width: 100%; background: #1c2230; color: white; border: 1px solid rgba(255,255,255,0.06); 
    height: 36px; border-radius: 6px; font-size: 12px; text-align: center; box-sizing: border-box; margin: 0;
}

.btn-reserve-sm { 
    height: 36px !important; padding: 0 10px !important; font-size: 12px !important; width: 100%; margin: 0 !important;
    display: flex; align-items: center; justify-content: center; box-sizing: border-box;
}

/* Specs Técnicas Internas del Hardware */
.specs-grid {
    display: grid; grid-template-columns: 1fr; gap: 8px;
    background: rgba(255,255,255,0.02); padding: 12px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.01);
}
.specs-item { display: flex; align-items: center; gap: 8px; }
.specs-icon { width: 18px; color: #f1c40f; text-align: center; } /* Gold icons */
.specs-label { font-size: 10px; color: #7f8c8d; text-transform: uppercase; letter-spacing: 0.3px; }
.specs-value { font-size: 12px; color: #cbd5e0; font-family: 'Rajdhani', sans-serif; font-weight: 700; }

.materials-block {
    grid-column: span 2; background: rgba(52, 152, 219, 0.02); padding: 12px;
    border-radius: 6px; border: 1px solid rgba(52, 152, 219, 0.06);
}
.materials-title {
    font-size: 10px; color: #3498db; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 8px; font-weight: 700;
}
.materials-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-ghost-material {
    padding: 3px 6px; border-radius: 4px; font-size: 9px; font-weight: 600;
    background: rgba(255,255,255,0.06); color: #bdc3c7; letter-spacing: 0.3px;
}

/* ----------------------------------------------------------------------
   8.2 INTEGRACIÓN DE MAPAS GEOGRÁFICOS (LEAFLET INTERFACES)
   ---------------------------------------------------------------------- */
.leaflet-custom-pin-icon { 
    font-size: 32px; 
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); 
    line-height: 1; 
}
.map-container-380 { height: 380px; width: 100%; border-radius: 8px; border: 1px solid rgba(255,255,255,0.04); z-index: 1; background: #131722; }

.premium-map-popup .leaflet-popup-content-wrapper { background: #1c2230 !important; border: 1px solid rgba(255,255,255,0.08) !important; border-radius: 8px !important; }
.premium-map-popup .leaflet-popup-tip { background: #1c2230 !important; }

.leaflet-popup-lab-title { color: #3498db; font-size: 12px; display: block; margin-bottom: 2px; }
.leaflet-popup-lab-addr { font-size: 10px; color: #bdc3c7; display: block; margin-bottom: 6px; line-height: 1.2; }

.btn-popup-filter { background: #3498db; border: none; color: white; font-size: 10px; padding: 4px 8px; border-radius: 4px; cursor: pointer; font-weight: bold; width: 100%; text-transform: uppercase; letter-spacing: 0.3px; }

.map-section-container {
    display: flex; flex-direction: column; gap: 12px; 
    border-top: 1px solid rgba(255,255,255,0.02); padding-top: 15px;
}

.map-container {
    height: 360px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
    z-index: 1;
    background: #131722;
}

/* ----------------------------------------------------------------------
   8.3 SISTEMA DE COMPROMISOS EDUCATIVOS (CREDITS & ISA CARDS)
   ---------------------------------------------------------------------- */
.isa-proposal-card { border: 1px dashed #f39c12; background: rgba(243, 156, 18, 0.02); padding: 20px; border-radius: 12px; }
.isa-proposal-title { color: #f39c12; margin-top: 0; font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: 0.5px; }
.isa-proposal-desc { font-size: 13px; color: #cbd5e0; line-height: 1.5; margin-bottom: 15px; }

.btn-success-hub { background: #2ecc71; border-color: #2ecc71; color: white !important; }
.btn-success-hub:hover { background: #27ae60; border-color: #27ae60; box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3); }

.isa-active-card { border: 1px solid rgba(241, 196, 15, 0.15); background: #1c2230; padding: 20px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.isa-active-title { color: #f1c40f; margin-top: 0; font-size: 15px; font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.isa-active-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin-top: 12px; }
.isa-progress-header { display: flex; justify-content: space-between; font-size: 12px; color: #cbd5e0; margin-bottom: 5px; }
.isa-debt-text { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #f1c40f; }
.isa-history-box { background: #131722; padding: 10px; border-radius: 6px; max-height: 70px; overflow-y: auto; border: 1px solid rgba(255,255,255,0.01); }
.isa-history-title { font-size: 9px; color: #7f8c8d; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.3px; }
.isa-history-row { display: flex; justify-content: space-between; font-size: 11px; color: #bdc3c7; margin-bottom: 3px; }
.isa-history-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.mt-20 { margin-top: 20px !important; }

.td-creator-email { font-size: 10.5px; color: #7f8c8d; margin-top: 2px; }
.td-concept-desc { color: #cbd5e0; font-size: 12.5px; }
.status-text-isa-pending { color: #f39c12; font-size: 11px; font-weight: 600; }
.isa-progress-text { font-size: 11px; color: #cbd5e0; font-family: 'Rajdhani', sans-serif; font-weight: 700; margin-bottom: 4px; }
.isa-progress-sub { font-family: 'Inter', sans-serif; font-size: 9.5px; color: #7f8c8d; font-weight: 500; }
.isa-progress-bar-wrap { width: 140px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }

/* ----------------------------------------------------------------------
   8.4 PERFIL DE REPUTACIÓN Y ENLACES (LINKEDIN MATRIX LOOK)
   ---------------------------------------------------------------------- */
.avatar-showcase {
    width: 140px; height: 140px; border-radius: 50%; border: 4px solid #3498db; 
    margin: 0 auto 18px auto; overflow: hidden; position: relative; 
    box-shadow: 0 0 25px rgba(52, 152, 219, 0.2); background: #131722;
}
.avatar-showcase img { width: 100%; height: 100%; object-fit: cover; }

.stats-row {
    display: flex; justify-content: center; gap: 35px; margin-top: 20px; 
    padding-top: 18px; border-top: 1px dashed rgba(255,255,255,0.08);
}
.stat-box { text-align: center; }
.stat-value { font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 800; color: #f1c40f; line-height: 1; }
.stat-label { font-size: 10px; color: #7f8c8d; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; margin-top: 5px; }

.social-grid-wrapper { 
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 25px;
}
.social-tag-link {
    display: inline-flex; align-items: center; gap: 8px; 
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255,255,255,0.06); 
    padding: 8px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; 
    color: #cbd5e0; text-decoration: none; transition: all 0.2s ease-in-out;
}
.social-tag-link:hover {
    background: rgba(52, 152, 219, 0.08); border-color: rgba(52, 152, 219, 0.4);
    color: #fff; transform: translateY(-1px);
}
.social-tag-fab {
    background: rgba(241, 196, 15, 0.05); border-color: rgba(241, 196, 15, 0.2); color: #f1c40f;
}
.social-tag-fab:hover {
    background: rgba(241, 196, 15, 0.12); border-color: rgba(241, 196, 15, 0.5); color: #f1c40f;
}

.review-item-card { background: #131722; padding: 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.02); border-left-width: 3px; }
.review-mission { border-left-color: #2ecc71; }
.review-market { border-left-color: #3498db; }
.review-comment-box { font-size: 13px; font-style: italic; color: #bdc3c7; background: rgba(0,0,0,0.2); padding: 10px 15px; border-radius: 4px; margin-top: 10px; }

.profile-panoramic-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 20px;
}

.profile-header-flex { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; text-align: left; }
.profile-identity-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.profile-identity-col .avatar { width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--theme-color); margin-bottom: 15px; }
.profile-content-col { border-left: 1px solid #34495e; padding-left: 40px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }

.profile-stats-mini { display: flex; gap: 15px; margin-top: 20px; justify-content: center; width: 100%; border-top: 1px dashed #34495e; padding-top: 15px; }
.profile-stats-mini .stat-item { text-align: center; }
.profile-stats-mini .stat-value { font-size: 18px; font-weight: bold; color: var(--c-yellow); }
.profile-stats-mini .stat-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; font-weight: bold; }

.social-bar { display: flex; gap: 15px; margin-top: 25px; }
.social-tag { background: #1a1a1a; border: 1px solid #34495e; color: var(--text-muted); padding: 8px 15px; border-radius: 6px; font-size: 12px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.social-tag:hover { border-color: var(--theme-color); color: var(--theme-color); background: rgba(255,255,255,0.05); }


/* HUB 1: ACTIVAR (green/Esmeralda) */
.focus-glow-green input:focus, 
.focus-glow-green select:focus, 
.focus-glow-green textarea:focus {
    border-color: #1abc9c !important;
    box-shadow: 0 0 10px rgba(26, 188, 156, 0.25) !important;
    background-color: #1a1f2c !important;
    outline: none !important;
}

/* HUB 2: TOKENIZAR (yellow) */
.focus-glow-yellow input:focus, 
.focus-glow-yellow select:focus, 
.focus-glow-yellow textarea:focus {
    border-color: #f1c40f !important;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.25) !important;
    background-color: #1a1f2c !important;
    outline: none !important;
}

/* HUB 3: PUBLICAR (pink) */
.focus-glow-pink input:focus, 
.focus-glow-pink select:focus, 
.focus-glow-pink textarea:focus {
    border-color: #e84393 !important;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.25) !important;
    background-color: #1a1f2c !important;
    outline: none !important;
}

/* ==========================================================================
   🪐 CONSOLA ELECTRÓNICA: CHIPS DINÁMICOS PARA COMPETENCIAS (MASTER FIX)
   ========================================================================== */

/* Contenedor fluido auto-distribuido */
.skills-chips-matrix {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 5px 0 !important;
    width: 100% !important;
}

/* Ocultado absoluto de la caja nativa de selección */
.skills-chips-matrix input[type="checkbox"] {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
}

/* Diseño del Chip Base (Cápsula Maker Desactivada) */
.skill-premium-chip-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #1c2230 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #bdc3c7 !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-size: 12.5px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.2s ease-in-out !important;
}

.skill-premium-chip-pill:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ⚙️ Activación Fluida para Competencias DURAS (Cian / Blue Hub) */
.skills-chips-matrix input[type="checkbox"].chip-hard:checked + .skill-premium-chip-pill {
    background: rgba(52, 152, 219, 0.12) !important;
    border: 1px solid #3498db !important;
    color: #3498db !important;
    text-shadow: 0 0 8px rgba(52, 152, 219, 0.3) !important;
    font-weight: 700 !important;
}

/* 🧠 Activación Fluida para Competencias BLANDAS (Oro / Orange Hub) */
.skills-chips-matrix input[type="checkbox"].chip-soft:checked + .skill-premium-chip-pill {
    background: rgba(243, 156, 18, 0.12) !important;
    border: 1px solid #f39c12 !important;
    color: #f39c12 !important;
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.3) !important;
    font-weight: 700 !important;
}

/* --- SKILL CHIPS ELECTRÓNICOS (creator PROFILE)
.skill-chip-container { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.skill-chip { display: none; } 
.skill-chip-label { background: var(--bg-card-dark); color: var(--text-muted); border: 1px solid #34495e; padding: 8px 16px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: all 0.2s ease; user-select: none; }
.skill-chip-label:hover { border-color: var(--text-muted); color: white; }

.skill-chip-hard:checked + .skill-chip-label { background: rgba(52, 152, 219, 0.15); border-color: var(--c-blue); color: var(--c-blue); font-weight: bold; }
.skill-chip-soft:checked + .skill-chip-label { background: rgba(243, 156, 18, 0.15); border-color: var(--c-orange); color: var(--c-orange); font-weight: bold; }
.counter-limit { font-size: 11px; font-weight: bold; margin-left: 10px; padding: 2px 8px; border-radius: 10px; background: #34495e; color: white; } 
--- */

/* --- MEDALLAS VALIDADAS (REPUTACIÓN) --- */
.endorsement-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 20px; font-size: 11px; font-weight: bold; margin: 0 5px 10px 0; }
.endorsement-chip.hard { background: rgba(52, 152, 219, 0.1); border: 1px solid var(--c-blue); color: var(--c-blue); }
.endorsement-chip.soft { background: rgba(243, 156, 18, 0.1); border: 1px solid var(--c-orange); color: var(--c-orange); }
.endorsement-count { background: #34495e; color: white; padding: 2px 6px; border-radius: 10px; font-size: 10px; }
.endorsement-count.validated { background: var(--c-green); color: #1a1a1a; }

/* ==========================================================================
   09. ASENTAMIENTO DE MODALES DE AUDITORÍA CLÍNICA (SWEETALERT EXCLUSIVES)
   ========================================================================== */

/* ----------------------------------------------------------------------
   9.1 CONFIGURACIÓN DE CONCHAS INDEPENDIENTES (SWAL THEME CORRECTIONS)
   ---------------------------------------------------------------------- */


/* 🌟 SISTEMA CYBER DE ESTRELLAS LADO A LADO EN MODAL DE EVALUACIÓN */
.modal-rating-label { font-size: 11px; font-weight: 700; color: #a0aec0; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0; }
.modal-info-box { background: #131722; padding: 16px; border-radius: 8px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.01); text-align: left; }
.modal-creator-name { font-size: 15px; margin-top: 4px; font-weight: 600; }
.modal-rating-label-container { margin-top: 6px; }

.rating-stars-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.star-rating-cyber {
    display: flex;
    flex-direction: row-reverse;
}

.star-rating-cyber input[type="radio"] {
    display: none;
}

.star-rating-cyber label {
    font-size: 30px;
    color: #2c3e50;
    cursor: pointer;
    transition: color 0.1s ease, text-shadow 0.1s ease;
    padding: 0 2px;
}

.star-rating-cyber input[type="radio"]:checked ~ label,
.star-rating-cyber label:hover,
.star-rating-cyber label:hover ~ label {
    color: #f1c40f !important;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.4);
}

.driver-popover { background-color: #1a252f !important; color: #ecf0f1 !important; border: 1px solid #3498db !important; box-shadow: 0 15px 40px rgba(0,0,0,0.9) !important; border-radius: 12px !important; }
.driver-popover-title { color: #f1c40f !important; font-size: 18px !important; border-bottom: 1px solid #34495e !important; padding-bottom: 8px !important; margin-bottom: 10px !important; }
.driver-popover-description { color: #bdc3c7 !important; font-size: 13px !important; line-height: 1.5 !important; }
.driver-popover-footer button { background-color: #34495e !important; color: #fff !important; border: 1px solid #2c3e50 !important; border-radius: 6px !important; font-size: 12px !important; padding: 6px 12px !important; }
.driver-popover-footer .driver-popover-next-btn { background-color: #3498db !important; border-color: #2980b9 !important; font-weight: bold !important; }
.premium-popup { border: 1px solid #3498db !important; box-shadow: 0 15px 40px rgba(0,0,0,0.9) !important; border-radius: 12px !important; }


.fx-tooltip {
    position: relative;
    cursor: help;
    background: #232b38;
    color: #1abc9c;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.fx-tooltip .fx-tooltip-card {
    visibility: hidden;
    width: 280px;
    background: #11151d;
    color: #cbd5e0;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 8px;
    position: absolute;
    z-index: 200;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 11.5px;
    line-height: 1.5;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    white-space: normal;
}

.fx-tooltip:hover .fx-tooltip-card {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Alineaciones condicionales */
.fx-tooltip.to-left .fx-tooltip-card { left: auto; right: 0; transform: translateX(0) translateY(0); }
.fx-tooltip.to-left:hover .fx-tooltip-card { visibility: visible; opacity: 1; transform: translateX(0) translateY(-4px); }

.fx-tooltip.to-right .fx-tooltip-card { left: 0; transform: translateX(0) translateY(0); }
.fx-tooltip.to-right:hover .fx-tooltip-card { visibility: visible; opacity: 1; transform: translateX(0) translateY(-4px); }

.fx-tooltip.to-bottom .fx-tooltip-card { bottom: auto; top: 130%; }
.fx-tooltip.to-bottom:hover .fx-tooltip-card { transform: translateX(-50%) translateY(4px); }

.fx-tooltip.to-bottom.to-left .fx-tooltip-card { bottom: auto; top: 130%; left: auto; right: 0; transform: translateX(0) translateY(0); }
.fx-tooltip.to-bottom.to-left:hover .fx-tooltip-card { transform: translateX(0) translateY(4px); }

.fx-tooltip.to-bottom.to-right .fx-tooltip-card { bottom: auto; top: 130%; left: 0; transform: translateX(0) translateY(0); }
.fx-tooltip.to-bottom.to-right:hover .fx-tooltip-card { transform: translateX(0) translateY(4px); }

/* --- Limpieza final de 2_tokenizar --- */
.tooltip-icon-warning { color: #f1c40f !important; }
.tooltip-card-warning { border-top-color: #f1c40f !important; }

/* --- CONTRATOS INTELIGENTES TOOLTIPS --- */
.tooltip { position: relative; display: inline-block; cursor: help; margin-left: 3px; }
.tooltip .tooltiptext { visibility: hidden; width: 220px; background-color: #f1c40f; color: #1a1a1a; text-align: left; border-radius: 6px; padding: 10px; position: absolute; z-index: 10; bottom: 150%; left: 50%; margin-left: -110px; opacity: 0; transition: opacity 0.2s, bottom 0.2s; font-size: 11px; font-weight: normal; box-shadow: 0 4px 10px rgba(0,0,0,0.5); line-height: 1.4; }
.tooltip .tooltiptext::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #f1c40f transparent transparent transparent; }
.tooltip:hover .tooltiptext { visibility: visible; opacity: 1; bottom: 125%; }


/* ==========================================================================
   10. SÚPER ADAPTABILIDAD MÓVIL AUTOMATIZADA (RESPONSIVE MASTER)
   ========================================================================== */
@media (max-width: 768px) {
    .header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .header > div { width: 100%; justify-content: space-between; }
    .grid-kpis { grid-template-columns: 1fr; }
    
    /* Scroll Horizontal Fluido en Botones de Celular */
    .tabs-nav { 
        flex-wrap: nowrap; 
        justify-content: flex-start; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding-bottom: 15px; 
    }
    .tabs-nav::-webkit-scrollbar { display: none; }
    .tab-btn { flex: 0 0 auto; min-width: max-content; }

    /* Forzado de columnas en móvil */
    .profile-header-flex, .row-token, .mission-grid, .action-hubs-grid { grid-template-columns: 1fr !important; }
    .profile-content-col { border-left: none; padding-left: 0; border-top: 1px solid #34495e; padding-top: 20px; margin-top: 20px; }
    
    
} /* 👈 Aquí cerramos correctamente el bloque móvil */

/* ----------------------------------------------------------------------
   10.1 COLAPSO INTERMEDIO DE CAPAS DE PANTALLA (MAX-WIDTH: 900px)
   ---------------------------------------------------------------------- */
@media (max-width: 900px) {
    .grid-top-identity, .grid-bottom-data { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------
   10.2 COLAPSO CRÍTICO CELULAR DE GRILLAS COMPLEJAS (MAX-width: 768px)
   ---------------------------------------------------------------------- */

    /* Descompresión del Encabezado */

    
    /* Forzado de Columnas Simétricas en Celulares */
    

    /* Ocultar Cabeceras Planas Repetitivas (Desktop Row Labels) */
    

    /* Desplazamiento Horizontal Suave de Pestañas (Scrollable Mobile Tabs) */
    

    /* Desbordamiento Hidráulico Protegido de Libros Contables (Fluid Ledgers) */


