/**
 * ESTILOS ÁREA PRIVADA - IMAGIC FILMS
 * Estilos para checklist, calendario y documentos
 */

/* =============================================================================
   VARIABLES
   ========================================================================== */
:root {
    --color-primary: #c8a84b;
    --color-secondary: #a07830;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-bg: #f8f9fa;
    --color-border: #e5e7eb;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
}

/* =============================================================================
   CHECKLIST DE MATERIALES
   ========================================================================== */

.profile-checklist-wrapper {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-checklist-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.checklist-subtitle {
    margin: 0 0 32px 0;
    color: var(--color-text-light);
    font-size: 16px;
}

/* Barra de progreso */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: #c8a84b;
    transition: width 0.6s ease;
    border-radius: 8px;
}

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

.progress-percentage {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.progress-count {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Lista de materiales */
.checklist-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s ease;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item:hover {
    background: var(--color-bg);
}

.checklist-icon {
    margin-right: 16px;
    flex-shrink: 0;
}

.checklist-label {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.checklist-status {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.checklist-item.completed .checklist-label {
    color: var(--color-success);
}

.checklist-item.completed .checklist-status {
    background: #d1fae5;
    color: var(--color-success);
}

.checklist-item.pending .checklist-status {
    background: #fef3c7;
    color: var(--color-warning);
}

.checklist-footer {
    margin-top: 32px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.checklist-footer p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-light);
}

/* =============================================================================
   CALENDARIO
   ========================================================================== */

.profile-calendar-wrapper {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-calendar-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.calendar-subtitle {
    margin: 0 0 32px 0;
    color: var(--color-text-light);
    font-size: 16px;
}

.calendar-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.calendar-empty {
    text-align: center;
    padding: 60px 20px;
}

.calendar-empty svg {
    margin-bottom: 24px;
    opacity: 0.5;
}

.calendar-empty h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}

.calendar-empty p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* =============================================================================
   DOCUMENTOS
   ========================================================================== */

.profile-docs-wrapper {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-docs-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.docs-subtitle {
    margin: 0 0 32px 0;
    color: var(--color-text-light);
    font-size: 16px;
}

/* Categorías de documentos */
.docs-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.docs-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docs-category:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

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

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon--blue   { background: #eff0fe; }
.category-icon--green  { background: #d1fae5; }
.category-icon--yellow { background: #fef3c7; }
.category-icon--purple { background: #ede9fe; }

.category-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.category-description {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-light);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Drive discreto al final */
.drive-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.drive-footer-link a {
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
}

.drive-footer-link a:hover {
    color: var(--color-primary);
}





/* ---- FORZAR VISIBILIDAD MI ÁREA PRIVADA ---- */
#user-profile-menu .imagic-profile-item,
#user-profile-menu .imagic-profile-item a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    clip: auto !important;
}

#user-profile-menu .imagic-profile-item a {
    padding: 8px 16px !important;
    color: var(--imagic-text) !important;
    font-size: 14px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

#user-profile-menu .imagic-profile-item a:hover {
    color: var(--imagic-gold) !important;
}







/* ============================================================
   IMAGIC — ÁREA DE CLIENTE SHELL
   ============================================================ */
/* ── Tipografía base uniforme área cliente ── */
.imagic-cliente-page .imagic-cliente-main,
.imagic-cliente-page .imagic-cliente-main * {
    font-family: -apple-system, "system-ui", "Segoe UI", Inter, sans-serif;
    font-size: 13px;
}

/* Excepciones controladas */
.imagic-cliente-page .imagic-cliente-main h1,
.imagic-cliente-page .imagic-cliente-main h2,
.imagic-cliente-page .imagic-cliente-main h3 {
    font-size: 16px;
    font-weight: 600;
}

.imagic-cliente-page .imagic-cliente-main .stat-numero,
.imagic-cliente-page .imagic-cliente-main .wallet-num {
    font-size: 22px;
    font-weight: 800;
}

.imagic-cliente-page .imagic-cliente-main .stat-label,
.imagic-cliente-page .imagic-cliente-main .wallet-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.imagic-cliente-page #buddypress,
.imagic-cliente-page .site-content {
    padding: 0 !important;
}

.imagic-cliente-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    max-width: 1600px;
    width: 94%;
    margin: 0 auto;
    padding: 40px 32px;
    gap: 40px;
}

/* SIDEBAR */
.imagic-cliente-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.sidebar-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-nombre {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.sidebar-corto {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-nav-item {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #1d1d1f;
    text-decoration: none;
    transition: background 0.15s;
}

.sidebar-nav-item:hover {
    background: #f5f5f7;
    color: #1d1d1f;
    text-decoration: none;
}

.sidebar-nav-item.activo {
    background: #f5f5f7;
    color: #c8a84b;
    font-weight: 600;
}

/* CONTENIDO PRINCIPAL */
.imagic-cliente-main {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 12px;
    border: none !important;
    box-shadow: none !important;
    padding: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .imagic-cliente-wrapper {
        flex-direction: column;
        padding: 20px 16px;
    }
    .imagic-cliente-sidebar {
        width: 100%;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .imagic-cliente-main {
        padding: 20px;
    }
}


/* ============================================================
   IMAGIC — UNIFICAR LAYOUT BUDDYPRESS CON SHELL NUEVO
   ============================================================ */

/* Ocultar banner gris de portada y todo el header BP */
.bp-user #cover-image-container,
.bp-user #header-cover-image,
.bp-user #item-header {
    display: none !important;
}

/* Convertir el bp-wrap en flex igual que el shell */
.bp-user #buddypress .buddypress-wrap,
.bp-user #buddypress .bp-wrap {
    display: flex !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    gap: 32px !important;
    align-items: flex-start !important;
}

/* Nav lateral BP = sidebar */
.bp-user #buddypress #object-nav {
    width: 220px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bp-user #buddypress #object-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.bp-user #buddypress #object-nav ul li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    float: none !important;
}

.bp-user #buddypress #object-nav ul li a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    transition: background 0.15s !important;
}

.bp-user #buddypress #object-nav ul li a:hover {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
}

.bp-user #buddypress #object-nav ul li.current a,
.bp-user #buddypress #object-nav ul li.selected a {
    background: #f5f5f7 !important;
    color: #c8a84b !important;
    font-weight: 600 !important;
}

/* Item body = main content */
.bp-user #buddypress #item-body {
    flex: 1 !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    padding: 32px !important;
    display: block !important;
    margin: 0 !important;
}

/* Sub-nav (Checklist/Calendario/Documentos) */
.bp-user #buddypress #subnav {
    background: transparent !important;
    border-bottom: 1px solid #e5e7eb !important;
    margin: -32px -32px 24px -32px !important;
    padding: 0 32px !important;
}

.bp-user #buddypress #subnav ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.bp-user #buddypress #subnav ul li {
    float: none !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

.bp-user #buddypress #subnav ul li a {
    display: block !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #86868b !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    font-weight: 400 !important;
    transition: all 0.15s !important;
}

.bp-user #buddypress #subnav ul li.current a,
.bp-user #buddypress #subnav ul li.selected a {
    color: #c8a84b !important;
    border-bottom-color: #c8a84b !important;
    font-weight: 600 !important;
}

/* Quitar padding extra del entry-content BP */
.bp-user .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ajustes: quitar el tab "General" sobrante */
.bp-user #buddypress #subnav li#general-personal-li > a::before {
    display: none !important;
}

/* Dropdown avatar — asegurar que funciona en páginas BP */
.user-link-wrap:hover #user-profile-menu,
.user-link-wrap.active #user-profile-menu {
    display: block !important;
}




/* Avatar en sidebar BP */
.bp-sidebar-header img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 12px;
}

/* Items nav inyectados */
.bp-user #buddypress #object-nav ul li.imagic-nav-item a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
    background: transparent !important;
}

.bp-user #buddypress #object-nav ul li.imagic-nav-item.current a,
.bp-user #buddypress #object-nav ul li.imagic-nav-item.selected a {
    background: #f5f5f7 !important;
    color: #c8a84b !important;
    font-weight: 600 !important;
}

.bp-user #buddypress #object-nav ul li.imagic-nav-item a:hover {
    background: #f5f5f7 !important;
    color: #1d1d1f !important;
}


/* Ocultar breadcrumb en páginas de cliente */
.page-id-1041 .breadcrumb,
.imagic-cliente-page .breadcrumb,
[class*="page-id-"] .breadcrumb {
    display: none !important;
}




/* =============================================================================
   LAYOUT GLOBAL ÁREA CLIENTE
   ============================================================================= */

/* El wrapper ya es flex — solo asegurar que main ocupe todo el espacio */
.imagic-cliente-wrapper {
    display: flex;
    align-items: flex-start;
    max-width: 1600px;
    width: 94%;
    margin: 0 auto;
    padding: 40px 32px;
    gap: 40px;
}

/* La columna derecha ocupa todo lo disponible — SIN grid interno */
.imagic-cliente-main {
    display: block !important;
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Todos los wrappers de sección: ancho completo, sin borde */
.mi-corto-wrapper,
.circuito-wrapper,
.industria-wrapper,
.ajustes-wrapper,
.inicio-cliente-wrapper {
    width: 100%;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Sidebar izquierdo */
.imagic-cliente-sidebar {
    width: 200px;
    flex-shrink: 0;
    padding-right: 0;
    position: sticky;
    top: 100px;
}

/* Menú lateral — columna vertical */
.imagic-cliente-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.imagic-cliente-nav a,
.imagic-cliente-nav li {
    display: block !important;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.imagic-cliente-nav a:hover,
.imagic-cliente-nav li:hover { background: #f5f5f7; }
.imagic-cliente-nav a.activo,
.imagic-cliente-nav li.activo { background: #f5f5f7; color: #c8a84b; font-weight: 600; }

/* Tabs de Silencio Urbano */
.mi-corto-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5ea;
    margin-bottom: 28px;
}

.mc-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #86868b;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color .2s, border-color .2s;
}

.mc-tab.active { color: #c8a84b; border-bottom-color: #c8a84b; }

/* AJUSTES — separación de bloques */
.ajustes-bloque {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid #e5e5ea;
}

.ajustes-contacto-imagic {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.ajustes-contacto-imagic a { color: #c8a84b; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .imagic-cliente-wrapper { flex-direction: column; padding: 20px; }
    .imagic-cliente-sidebar { width: 100%; padding-right: 0; position: static; }
    .imagic-cliente-nav { flex-direction: row !important; overflow-x: auto; }
}
/* ============================================================
   AJUSTES CLIENTE v2
   ============================================================ */
.ajustes-msg{padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px;font-weight:500;}
.ajustes-msg.ok{background:#d1fae5;color:#065f46;}
.ajustes-wrapper .ajustes-bloque{background:#fff;border-radius:12px;padding:28px;margin-bottom:16px;border:1px solid #e5e5ea;}
.ajustes-seccion-titulo{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#86868b;margin:0 0 20px;padding-bottom:10px;border-bottom:1px solid #f0f0f0;}
.ajustes-datos-lectura{display:flex;flex-direction:column;gap:8px;}
.ajustes-dato{display:flex;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px solid #f9f9f9;}
.ajustes-dato:last-child{border-bottom:none;}
.ajustes-dato-label{font-size:12px;font-weight:600;color:#86868b;text-transform:uppercase;letter-spacing:.05em;min-width:120px;flex-shrink:0;}
.ajustes-dato-valor{font-size:15px;color:#1d1d1f;}
.ajustes-dato-valor a{color:#c8a84b;text-decoration:none;}
.ajustes-lectura-nota{font-size:12px;color:#86868b;margin-top:14px;font-style:italic;padding:10px 14px;background:#f9f9f9;border-radius:8px;}
.ajustes-profesion-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px;}
.ajustes-checkbox-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;border:1px solid #e5e5ea;font-size:13px;cursor:pointer;transition:all .15s;background:#fff;line-height:1.3;}
.ajustes-checkbox-item:hover{border-color:#c8a84b;background:#fffbf0;}
.ajustes-checkbox-item.checked{border-color:#c8a84b;background:#fffbf0;color:#a07830;}
.ajustes-checkbox-item input[type=checkbox]{accent-color:#c8a84b;width:15px;height:15px;flex-shrink:0;}
.ajustes-campo{margin-bottom:12px;}
.ajustes-campo label{display:block;font-size:12px;font-weight:600;color:#86868b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.05em;}
.ajustes-campo input[type=text]{width:100%;padding:10px 14px;border:1px solid #e5e5ea;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .15s;box-sizing:border-box;}
.ajustes-campo input:focus{outline:none;border-color:#c8a84b;box-shadow:0 0 0 3px rgba(200,168,75,.1);}
.ajustes-campo-nota{font-size:12px;color:#86868b;margin:4px 0 0;}
.ajustes-label-nota{font-size:11px;color:#aaa;font-weight:400;text-transform:none;letter-spacing:0;margin-left:4px;}
.ajustes-consentimiento{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:8px;background:#f9f9f9;font-size:13px;color:#1d1d1f;line-height:1.6;}
.ajustes-consentimiento.aceptado{background:#f0fdf4;color:#065f46;border:1px solid #bbf7d0;}
.ajustes-consent-check{font-size:18px;color:#10b981;flex-shrink:0;line-height:1.4;}
.ajustes-submit-row{margin-top:18px;}
.ajustes-btn-primario{background:#c8a84b;color:#fff;border:none;padding:10px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s;}
.ajustes-btn-primario:hover{background:#b8962f;}
.ajustes-btn-secundario{background:#fff;color:#1d1d1f;border:1px solid #d0d0d0;padding:10px 24px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s;}
.ajustes-btn-secundario:hover{border-color:#c8a84b;color:#c8a84b;}
@media(max-width:600px){.ajustes-profesion-grid{grid-template-columns:1fr 1fr;}.ajustes-dato{flex-direction:column;gap:2px;}.ajustes-dato-label{min-width:auto;}}

/* =============================================================================
   DIRECTORIO DE INDUSTRIA
   ============================================================================= */

.industria-wrapper { padding: 0; }

.industria-header { margin-bottom: 24px; }
.industria-titulo { font-size: 22px; font-weight: 700; color: #1d1d1f; margin: 0 0 6px; }
.industria-subtitulo { font-size: 14px; color: #86868b; margin: 0; }

/* Recursos rápidos */
.industria-recursos {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 24px;
}
.recurso-item {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: #f5f5f7; border-radius: 20px;
    font-size: 13px; font-weight: 500; color: #1d1d1f;
    text-decoration: none; transition: all .15s;
    border: 1px solid transparent;
}
.recurso-item:hover { background: #fff; border-color: #c8a84b; color: #c8a84b; }
.recurso-icono { font-size: 15px; }

/* Filtros */
.industria-filtros {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-bottom: 16px; padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.filtro-btn {
    padding: 6px 14px; border-radius: 20px; border: 1px solid #e5e5ea;
    background: #fff; font-size: 12px; font-weight: 500; color: #86868b;
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.filtro-btn:hover { border-color: #c8a84b; color: #c8a84b; }
.filtro-btn.active { background: #c8a84b; border-color: #c8a84b; color: #fff; font-weight: 600; }
.filtro-separador { width: 1px; background: #e5e5ea; margin: 0 4px; }

/* Contador */
.industria-contador {
    font-size: 12px; color: #86868b; margin-bottom: 12px;
}
.industria-contador span { font-weight: 700; color: #1d1d1f; }

/* Lista de perfiles */
.industria-lista { display: flex; flex-direction: column; gap: 0; }

.industria-perfil {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid #f5f5f7;
    transition: background .1s;
}
.industria-perfil:hover { background: #fafafa; }
.industria-perfil:last-child { border-bottom: none; }

.perfil-izq { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }

.perfil-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    background: #e5e5ea;
}

.perfil-logo-empresa {
    width: 44px; height: 44px; border-radius: 8px;
    background: #f5f5f7; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
    font-size: 16px; font-weight: 700; color: #86868b;
}
.perfil-logo-empresa img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }

.perfil-info { min-width: 0; }
.perfil-nombre {
    display: block; font-size: 14px; font-weight: 600;
    color: #1d1d1f; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis;
}
.perfil-profesion {
    display: block; font-size: 12px; color: #86868b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px;
}

.perfil-der {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    margin-left: 16px;
}

.perfil-contacto {
    font-size: 18px; text-decoration: none; opacity: .6;
    transition: opacity .15s; cursor: pointer;
}
.perfil-contacto:hover { opacity: 1; }

.perfil-expandir {
    background: none; border: 1px solid #e5e5ea; padding: 5px 12px;
    border-radius: 16px; font-size: 12px; font-weight: 500;
    color: #86868b; cursor: pointer; transition: all .15s;
    white-space: nowrap;
}
.perfil-expandir:hover { border-color: #c8a84b; color: #c8a84b; }

/* Panel expandido */
.perfil-detalle {
    background: #f9f9f9; border-bottom: 1px solid #f0f0f0;
    padding: 16px 20px;
}
.detalle-contenido { display: flex; gap: 40px; }
.detalle-col h4 {
    font-size: 11px; font-weight: 700; color: #86868b;
    text-transform: uppercase; letter-spacing: .08em;
    margin: 0 0 10px;
}
.detalle-col p { font-size: 13px; color: #1d1d1f; margin: 0 0 6px; }
.detalle-col a { color: #c8a84b; text-decoration: none; }
.detalle-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detalle-tag {
    padding: 3px 10px; background: #fff; border: 1px solid #e5e5ea;
    border-radius: 12px; font-size: 12px; color: #1d1d1f;
}

/* Vacío */
.industria-vacio {
    padding: 48px 20px; text-align: center;
    color: #86868b; font-size: 14px;
}

/* No apareces */
.industria-no-apareces {
    margin-top: 20px; padding: 12px 16px;
    background: #fffbf0; border: 1px solid rgba(200,168,75,.3);
    border-radius: 8px; font-size: 13px; color: #86868b;
}
.industria-no-apareces a { color: #c8a84b; }

/* Responsive */
@media (max-width: 600px) {
    .perfil-der { gap: 6px; }
    .filtro-separador { display: none; }
    .detalle-contenido { flex-direction: column; gap: 16px; }
    .perfil-expandir { display: none; }
}




/* Industria — fixes v2 */
.perfil-row { display:flex; align-items:center; justify-content:space-between; width:100%; }
.perfil-profs { display:flex; flex-wrap:wrap; gap:4px; margin-top:5px; }
.perfil-prof-tag { padding:2px 8px; background:#f5f5f7; border-radius:10px; font-size:11px; color:#1d1d1f; font-weight:500; }
.perfil-sin-prof { font-size:12px; color:#c0c0c0; font-style:italic; }

/* Industria — fixes v2 */
.perfil-icono-link {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 6px;
    color: #86868b; text-decoration: none;
    transition: color .15s, background .15s;
}
.perfil-icono-link:hover { color: #c8a84b; background: #fffbf0; }
.perfil-icono-link svg { display: block; }

.perfil-detalle {
    display: none; background: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 20px 20px;
}
.perfil-detalle.open { display: block; }

.detalle-bio {
    font-size: 13px; color: #1d1d1f; line-height: 1.65;
    margin: 0 0 14px; max-width: 600px;
}
.detalle-tags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.detalle-tag {
    padding: 3px 10px; background: #fff;
    border: 1px solid #e5e5ea; border-radius: 12px;
    font-size: 12px; color: #1d1d1f;
}
.detalle-contacto {
    display: flex; flex-wrap: wrap; gap: 12px;
}
.detalle-link {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: #86868b; text-decoration: none;
    transition: color .15s;
}
.detalle-link:hover { color: #c8a84b; }
.detalle-link svg { flex-shrink: 0; }

/* Industria — ajustes v2 */
.perfil-icono-link { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:8px; color:#86868b; transition:all .15s; text-decoration:none; }
.perfil-icono-link:hover { background:#f5f5f7; color:#c8a84b; }
.perfil-detalle { display:none; padding:16px 20px 16px 74px; background:#f9f9f9; border-bottom:1px solid #f0f0f0; }
.perfil-detalle.open { display:block; }
.detalle-bio { font-size:14px; color:#1d1d1f; margin-bottom:12px; line-height:1.6; }
.detalle-contacto { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; }
.detalle-link { display:flex; align-items:center; gap:6px; font-size:13px; color:#86868b; text-decoration:none; }
.detalle-link:hover { color:#c8a84b; }
.detalle-link svg { flex-shrink:0; }


/* Override BuddyX — ancho completo para área cliente */
.imagic-cliente-page .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Wallet aporte imagic */
.wallet-item--blue  { border-top: 3px solid #3b82f6; }
.wallet-item--neutral { border-top: 3px solid #86868b; }

.imagic-cliente-page .site-header-container,
.imagic-cliente-page .site-header .container {
    max-width: 1600px;
    width: 94%;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

/* Wallet — 4 items en fila única */
.circuito-wallet {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}
.circuito-wallet .wallet-item {
    flex: 1;
    min-width: 0;
    padding: 14px 12px;
}
.circuito-wallet .wallet-num {
    font-size: 18px;
}
.circuito-wallet .wallet-label {
    font-size: 11px;
}
@media (max-width: 600px) {
    .circuito-wallet { flex-wrap: wrap; }
    .circuito-wallet .wallet-item { flex: 1 1 45%; }
}

/* Header área cliente — padding lateral */
.imagic-cliente-page .site-header,
.imagic-cliente-page header.site-header {
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box;
}

/* =============================================================================
   TIPOGRAFÍA UNIFICADA — ÁREA CLIENTE
   Override del body Inter/17px del tema global.
   Poppins 13px en todo el área cliente, sin excepciones.
   ========================================================================== */

.imagic-cliente-page,
.imagic-cliente-page .imagic-cliente-main,
.imagic-cliente-page .imagic-cliente-main *,
.imagic-cliente-page .imagic-cliente-sidebar,
.imagic-cliente-page .imagic-cliente-sidebar * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.imagic-cliente-page .imagic-cliente-main h1,
.imagic-cliente-page .imagic-cliente-main h2,
.imagic-cliente-page .imagic-cliente-main h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.imagic-cliente-page .wallet-num,
.imagic-cliente-page .stat-numero,
.imagic-cliente-page .kpi-numero {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.imagic-cliente-page .wallet-label,
.imagic-cliente-page .stat-label,
.imagic-cliente-page .kpi-label {
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.imagic-cliente-page .imagic-cliente-sidebar nav a {
    font-size: 13px !important;
    font-weight: 500 !important;
}

.imagic-cliente-page .inscripciones-tabla th {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.imagic-cliente-page .inscripciones-tabla td {
    font-size: 13px !important;
}