/* Puente entre la plantilla de la portada (datoexperto/assets/css) y los estilos de la app
   para las páginas internas (_Layout.cshtml). Mismos tamaños de logo que home.html. */
img.dx-brand-main { height: 78px !important; width: auto !important; max-width: none !important; display: block; }
img.logo1, img.logo2 { height: 54px !important; width: auto !important; max-width: none !important; }
img.footer-logo1, img.footer-logo2 { width: 100% !important; max-width: 250px !important; height: auto !important; }
.dx-inner .header-area .navbar-brand img, .dx-inner .footer-area img { display: block; }

/* Franja de título: foto de la portada con el degradado azul marino de la plantilla. */
/* El encabezado de la plantilla flota sobre la franja (igual que en la portada): se deja su alto arriba. */
.dx-page-title { padding: 250px 0 70px; }
.dx-page-title .dx-page-title-text {
    color: #fff; font-family: "Work Sans", sans-serif; font-weight: 800; font-size: 44px; line-height: 1.15;
    margin: 0 0 14px; letter-spacing: -.01em;
}
.dx-page-title .page-title-content ul li { color: #ffbc13; font-weight: 600; }
.dx-page-title .bg-image img { object-position: center 30%; }

/* Contenido de la app bajo la franja. */
.dx-inner main#contenido { background: #fff; padding-bottom: 20px; }
.dx-inner .inner-page { padding-top: 48px; }

/* La app usa .container con su propio ancho: se alinea con el de Bootstrap de la plantilla. */
.dx-inner .container { width: 100%; max-width: 1320px; padding-left: 12px; padding-right: 12px; }

.dx-footer-note { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(0, 30, 76, .12); color: #5f6b7a; font-size: 13px; }
.dx-inner .copy-right-content p { color: #fff; }

@media (max-width: 991px) {
    .dx-page-title { padding: 150px 0 40px; }
    .dx-page-title .dx-page-title-text { font-size: 30px; }
    .dx-inner .inner-page { padding-top: 30px; }
}

/* Selector de rol del registro con los colores de la plantilla. */
.dx-inner .role-choices { grid-template-columns: repeat(3, 1fr); }
.dx-inner .role-choice { border-color: #e6e9ef; border-radius: 0; }
.dx-inner .role-choice:has(input:checked) { background: #fff9e9; border-color: #ffbc13; box-shadow: inset 0 0 0 1px #ffbc13; }
.dx-inner .role-choice input { accent-color: #001e4c; }
@media (max-width: 767px) { .dx-inner .role-choices { grid-template-columns: 1fr; } }

/* En español solo la primera palabra va con mayúscula (la plantilla capitaliza cada palabra). */
.dx-page-title .page-title-content, .dx-inner .footer-area h5 { text-transform: none; }

/* Restos de la paleta esmeralda anterior -> crema y dorado de la plantilla. */
.dx-inner .aside-art { background: #fff3cf; color: #001e4c; border-radius: 0; }
.dx-inner .location-details { background: #fff9e9; border-color: #ffe7a3; border-radius: 0; }
.dx-inner .location-details summary { color: #001e4c; }
.dx-inner .auth-illustration { background: #fff3cf; color: #001e4c; border-radius: 0; box-shadow: none; }

/* Igual que el <style> de home.html. */
.header-area .top-header-area { background: rgba(26, 26, 26, 0.496) !important; }

/* ---------------------------------------------------------------- Monetización */
/* Resultados: el contenedor agrupa bloques (publicidad, orgánicos, comercios), cada uno con su grilla. */
.dx-inner #professionals { display: block; }
.dx-inner #professionals .professional-grid { margin-bottom: 26px; }
.ad-label { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: #8a6d12; margin: 6px 0 12px; }
.organic-label { color: #001e4c; }
.sponsored-block { background: #fff9e9; border: 1px solid #ffe7a3; padding: 18px 18px 4px; margin-bottom: 26px; }
.tag.tag-ad { background: #ffbc13; color: #001e4c; font-weight: 800; }
.tag.tag-badge { background: #001e4c; color: #ffbc13; font-weight: 800; }
.tag.tag-badge-estrella { background: #ffbc13; color: #001e4c; }
.avatar.avatar-photo { object-fit: cover; padding: 0; background: #e6e9ef; }
.avatar.avatar-large { width: 110px; height: 110px; border-radius: 18px; }
.photo-editor { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ads-block { border-top: 1px dashed #d8dde6; padding-top: 18px; }
.ads-grid, .plan-grid, .portfolio-grid, .stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ad-card { background: #fff; border: 1px solid #e6e9ef; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.ad-card h3 { font-size: 17px; margin: 4px 0 0; }
.ad-card p { margin: 0; }
.ad-offer { color: #c2410c; font-weight: 700; }
.ad-coupon { background: #f4f6f9; padding: 4px 8px; display: inline-block; }
.ad-image { width: 100%; max-height: 150px; object-fit: cover; }
.ad-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.portfolio-item { margin: 0; background: #fff; border: 1px solid #e6e9ef; }
.portfolio-item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.portfolio-item figcaption { padding: 10px 12px; font-size: 14px; }
.portfolio-form { margin-top: 14px; display: grid; gap: 10px; }
.application-card.application-sponsored { border-color: #ffbc13; box-shadow: inset 4px 0 0 #ffbc13; }
.contact-card { border-top: 4px solid #ffbc13; margin: 18px 0; }
.advertising-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); margin-bottom: 22px; }
.plan-current .price, .plan-card .price { font-size: 28px; font-weight: 800; color: #001e4c; margin: 6px 0; }
.plan-card .price small, .plan-current .price small { font-size: 13px; font-weight: 500; color: #5f6b7a; }
.plan-card { background: #fff; border: 1px solid #e6e9ef; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.plan-card-current { border: 2px solid #ffbc13; background: #fff9e9; }
.plan-card .button { margin-top: auto; }
.benefit-list { list-style: none; padding: 0; margin: 8px 0; font-size: 13px; }
.benefit-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f0f2f5; }
.benefit-list strong { color: #001e4c; text-align: right; }
.plan-dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.plan-dates dt { font-size: 12px; color: #5f6b7a; } .plan-dates dd { margin: 0; font-weight: 700; color: #001e4c; }
.stat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 12px 0; }
.stat-card { background: #f4f6f9; padding: 14px; display: flex; flex-direction: column; }
.stat-card strong { font-size: 24px; color: #001e4c; } .stat-card span { font-size: 12px; color: #5f6b7a; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; border-bottom: 2px solid #ffbc13; }
.admin-tabs button { border: 0; background: #f4f6f9; padding: 10px 16px; font-weight: 700; color: #001e4c; cursor: pointer; }
.admin-tabs button[aria-selected="true"] { background: #ffbc13; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-scroll th, .table-scroll td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #eef0f4; vertical-align: top; }
.table-scroll th { background: #001e4c; color: #fff; font-weight: 600; white-space: nowrap; }
.inline-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form select, .inline-form input { max-width: 150px; padding: 4px 6px; font-size: 12px; }
.inline-actions { margin-top: 6px; }
.form-grid-2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefit-rows { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 14px; }
.plan-editor h4 { margin: 14px 0 8px; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.table-filter { width: 100%; max-width: 420px; margin-bottom: 12px; }
.tag.tag-status.tag-active, .tag.tag-status.tag-approved { background: #e3f6ec; color: #14804a; }
.tag.tag-status.tag-pending_payment, .tag.tag-status.tag-pending_review, .tag.tag-status.tag-pending { background: #fff3cf; color: #8a6d12; }
.tag.tag-status.tag-expired, .tag.tag-status.tag-rejected, .tag.tag-status.tag-suspended { background: #fde8e8; color: #b42318; }
.form-error-inline { color: #b42318; font-size: 12px; }
.daily-stats summary { cursor: pointer; font-weight: 700; color: #001e4c; margin: 8px 0; }
.request-card h3 { font-size: 17px; }
.ad-actions .button { width: auto; min-width: 0; padding: 7px 12px; }
/* Estadísticas por plan (Mi publicidad / Mi comercio). Los bloques no incluidos se muestran con datos de ejemplo difuminados. */
.insights { display: grid; gap: 22px; margin-bottom: 22px; }
.insight-cols { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.insight-cols h3, .insight-panel h3 { font-size: 16px; margin: 14px 0 8px; color: #001e4c; }
.stat-card .trend { font-size: 12px; font-weight: 700; margin-top: 2px; }
.trend.up { color: #14804a; } .trend.down { color: #b42318; }
.bar-list { display: grid; gap: 6px; font-size: 13px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; gap: 8px; align-items: center; }
.bar-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3b4656; }
.bar { background: #eef0f4; height: 10px; border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #ffbc13; border-radius: 5px; }
.bar-row strong { color: #001e4c; min-width: 28px; text-align: right; }
.bar-columns { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding-top: 6px; border-bottom: 1px solid #d8dde6; }
.bar-columns div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }
.bar-columns i { display: block; background: #001e4c; border-radius: 3px 3px 0 0; min-height: 1px; }
.bar-columns-labels { display: flex; gap: 2px; font-size: 10px; color: #5f6b7a; }
.bar-columns-labels span { flex: 1; text-align: center; min-width: 0; overflow: hidden; }
.missed-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.missed-list li { background: #fff9e9; border-left: 4px solid #ffbc13; padding: 10px 12px; font-size: 14px; }
.tip-list { margin: 8px 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.insight-highlight { font-size: 15px; color: #001e4c; margin: 6px 0; }
.insight-locked { position: relative; overflow: hidden; }
.insight-blur { filter: blur(6px); pointer-events: none; user-select: none; opacity: .75; }
.insight-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    text-align: center; padding: 24px; background: rgba(255, 255, 255, .35); }
.insight-lock p { max-width: 420px; margin: 0; font-weight: 700; color: #001e4c; font-size: 16px; }
.insight-lock .button { width: auto; }
.plan-card.plan-card-flash { box-shadow: 0 0 0 4px #ffbc13; transition: box-shadow .3s; }
