.oportunidades-container {
    max-width: 1500px;
    padding-left: 35px;
    padding-right: 35px;
}

@media (max-width: 767.98px) {
    .oportunidades-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Resultados: tabla de lectura horizontal con agrupación visual de campos. */
.oportunidades-result-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    margin: 0 0 1rem;
    color: #526579;
    font-size: .9rem;
}
.oportunidades-result-intro strong { color: #173b61; font-size: 1rem; margin-right: .35rem; }
.oportunidades-score-legend { display: inline-flex; align-items: center; gap: .4rem; color: #596b7d; }
.oportunidades-score-legend i { color: #3574a8; }
.oportunidades-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #d9e2eb; border-radius: 12px; }
#DivResultadoConsulta .oportunidades-table {
    min-width: 1120px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #23364a;
    font-size: .91rem;
}
#DivResultadoConsulta .oportunidades-table th,
#DivResultadoConsulta .oportunidades-table td { padding: .75rem .65rem; vertical-align: middle; border-right: 1px solid #d9e2eb; border-bottom: 1px solid #d9e2eb; }
#DivResultadoConsulta .oportunidades-table thead th { background: #f2f6fa; text-align: center; font-weight: 600; color: #234d75; }
#DivResultadoConsulta .oportunidades-table thead .oportunidades-table__groups th { background: #eaf1f8; color: #173b61; font-size: .82rem; letter-spacing: .025em; }
#DivResultadoConsulta .oportunidades-table thead .oportunidades-table__columns th { min-width: 105px; line-height: 1.4; }
#DivResultadoConsulta .oportunidades-table tbody tr:nth-child(even) { background: #f8fafc; }
#DivResultadoConsulta .oportunidades-table tbody tr:hover { background: #edf6ff; }
#DivResultadoConsulta .oportunidades-table__product { min-width: 145px; }
#DivResultadoConsulta .oportunidades-table__product > span { color: #145b91; border-bottom: 1px dotted #145b91; white-space: nowrap; }
#DivResultadoConsulta .oportunidades-product-open { padding: 0; border: 0; border-bottom: 1px dotted #145b91; background: transparent; color: #145b91; font: inherit; cursor: pointer; }
#DivResultadoConsulta .oportunidades-product-open:hover { color: #0b3f6c; }
#DivResultadoConsulta .oportunidades-table__product small,
#DivResultadoConsulta .oportunidades-table td small { display: block; margin-top: .25rem; color: #6c7d8d; font-size: .75rem; line-height: 1.35; }
#DivResultadoConsulta .oportunidades-table__product small:not(.oportunidades-translated) { max-width: 230px; }
#DivResultadoConsulta .oportunidades-table__product .oportunidades-description { cursor: pointer; }
#DivResultadoConsulta .oportunidades-description:hover, #DivResultadoConsulta .oportunidades-description:focus { color: #145b91; text-decoration: underline; outline: none; }
#DivResultadoConsulta .oportunidades-table__product .oportunidades-translated { display: inline-flex; width: 25px; height: 25px; padding: 0; align-items: center; justify-content: center; border: 1px solid #f0d28b; border-radius: 50%; background: #fff8e7; color: #9a6700; cursor: help; }
#DivResultadoConsulta .oportunidades-table__country { min-width: 128px; }
.oportunidades-table__country img { width: 22px; height: auto; margin-right: .45rem; vertical-align: middle; }
.oportunidades-country-open { display: inline-flex; width: 100%; min-height: 76px; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .45rem .35rem; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #254a6c; text-align: center; font: inherit; cursor: pointer; transition: background .18s ease,border-color .18s ease,transform .18s ease; }
.oportunidades-country-open:hover,.oportunidades-country-open:focus { border-color: #d5e6f5; background: #f1f8fe; outline: none; transform: translateY(-1px); }
.oportunidades-country-open img { display: block; flex: 0 0 32px; width: 48px; height: 32px; margin: 0; object-fit: contain; border: 1px solid rgba(25,55,80,.12); border-radius: 5px; background: #fff; box-shadow: 0 2px 5px rgba(20,45,70,.12); }
.oportunidades-country-open > span:not(.oportunidades-country-flag-fallback) { max-width: 100%; font-size: .84rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.oportunidades-country-flag-fallback { display: grid; flex: 0 0 32px; width: 48px; height: 32px; place-items: center; color: #3c78ab; font-size: 1.35rem; }
.oportunidades-country-chevron { display: none; }
.oportunidades-translated { color: #9a6700 !important; }
.oportunidades-table__tariff-note { background: #fff9e9; }
.oportunidades-tariff-value { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.oportunidades-table td small.oportunidades-tariff-current-year { margin-top: .12rem; color: #28714a; font-size: .68rem; font-weight: 700; }
.oportunidades-tariff-winner { display: inline-flex; align-items: center; gap: .22rem; padding: .14rem .38rem; border: 1px solid #bfe2cb; border-radius: 999px; background: #eff9f2; color: #247347; font-size: .61rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.oportunidades-tariff-winner i { display: inline-grid; width: 11px; height: 11px; place-items: center; border-radius: 50%; background: #33865a; color: #fff; font-size: .46rem; }
.oportunidades-tariff-schedule { display: inline-flex; max-width: 100%; align-items: center; gap: .42rem; margin-top: .42rem; padding: .3rem .48rem; border: 1px solid #f1d28a; border-radius: 9px; background: linear-gradient(135deg, #fff8e6, #fffdf7); color: #875600; text-align: left; font: inherit; box-shadow: 0 2px 7px rgba(142, 95, 0, .08); cursor: pointer; transition: box-shadow .18s ease, transform .18s ease; }
.oportunidades-tariff-schedule:hover,.oportunidades-tariff-schedule:focus { border-color: #e4b94e; box-shadow: 0 4px 12px rgba(142, 95, 0, .16); outline: none; transform: translateY(-1px); }
.oportunidades-tariff-schedule > i { display: grid; flex: 0 0 23px; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: #f7e5b8; color: #9b6800; font-size: .78rem; }
.oportunidades-tariff-schedule__copy { display: flex; flex-direction: column; gap: .06rem; line-height: 1.2; }
.oportunidades-tariff-schedule__copy strong { color: #795000; font-size: .66rem; font-weight: 750; }
.oportunidades-tariff-schedule__copy small { margin: 0 !important; color: #826d4b !important; font-size: .61rem !important; }
.oportunidades-tariff-schedule__copy b { color: #704800; }
.oportunidades-schedule-modal .modal-dialog { width: calc(100% - 2rem); max-width: 760px; }
.oportunidades-schedule-modal .modal-header { padding: 1.25rem 1.5rem; }
.oportunidades-schedule-market { margin-top: .3rem; color: rgba(255,255,255,.86); font-size: .86rem; }
.oportunidades-schedule-modal .modal-body { padding: 1.4rem 1.5rem; }
.oportunidades-schedule-explainer { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; border: 1px solid #cfe2f4; border-radius: 13px; background: #f1f8ff; color: #34536f; }
.oportunidades-schedule-explainer__icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #dceeff; color: #2872b5; font-size: 1.05rem; }
.oportunidades-schedule-explainer p { margin: 0; line-height: 1.55; }
.oportunidades-schedule-explainer p strong { display: block; margin-bottom: .15rem; color: #174c79; }
.oportunidades-schedule-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.oportunidades-schedule-summary > div { display: flex; flex-direction: column; gap: .25rem; padding: .8rem .95rem; border: 1px solid #dce7f2; border-radius: 12px; background: #fff; }
.oportunidades-schedule-summary span { color: #6b7d8f; font-size: .76rem; }
.oportunidades-schedule-summary strong { color: #183f65; font-size: 1rem; }
.oportunidades-schedule-state { margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px; background: #edf6ff; color: #285d8c; }
.oportunidades-schedule-state.is-empty { background: #fff8e8; color: #805700; }
.oportunidades-schedule-state.is-error { background: #fff0f0; color: #a33434; }
.oportunidades-schedule-timeline-title { margin: 1.2rem 0 .1rem; color: #214e76; font-size: .9rem; font-weight: 750; }
.oportunidades-schedule-timeline { display: flex; gap: .75rem; margin: 1.25rem 0 .5rem; padding: .5rem .1rem 1rem; overflow-x: auto; list-style: none; }
.oportunidades-schedule-step { position: relative; display: flex; flex: 1 0 112px; flex-direction: column; align-items: center; gap: .25rem; padding: .8rem .55rem; border: 1px solid #d9e5f0; border-radius: 12px; background: #f8fbff; text-align: center; }
.oportunidades-schedule-step::before { position: absolute; top: 1.05rem; left: calc(-.8rem - 1px); width: .8rem; height: 2px; background: #b9d2e8; content: ""; }
.oportunidades-schedule-step:first-child::before { display: none; }
.oportunidades-schedule-step__year { color: #6c7e90; font-size: .74rem; font-weight: 700; }
.oportunidades-schedule-step__rate { color: #245985; font-size: 1.05rem; }
.oportunidades-schedule-step small { color: #76889a; font-size: .67rem; }
.oportunidades-schedule-step.is-final { border-color: #9bd2ae; background: #effaf2; box-shadow: 0 3px 12px rgba(40,130,75,.1); }
.oportunidades-schedule-step.is-final .oportunidades-schedule-step__rate { color: #207044; }
.oportunidades-schedule-step.is-current { border-color: #75b7e7; background: #edf7ff; box-shadow: 0 3px 14px rgba(33,116,180,.16); transform: translateY(-3px); }
.oportunidades-schedule-step.is-current .oportunidades-schedule-step__year { color: #176aa9; }
.oportunidades-schedule-step.is-current .oportunidades-schedule-step__rate { color: #145b91; }
.oportunidades-schedule-note { margin: .8rem 0 0; color: #6c7d8d; font-size: .78rem; line-height: 1.5; }
@keyframes oportunidades-tariff-appear { from { opacity: 0; transform: translateY(3px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes oportunidades-tariff-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(39,147,90,0); } 50% { box-shadow: 0 0 0 4px rgba(39,147,90,.16); } }
.oportunidades-requirements { display: inline-flex; min-width: 142px; align-items: center; justify-content: center; gap: .48rem; padding: .42rem .58rem; border: 1px solid #d4e4f2; border-radius: 10px; background: linear-gradient(135deg, #fff, #f4f9fe); color: #225d91; font-size: .78rem; text-align: left; text-decoration: none !important; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.oportunidades-requirements:hover,.oportunidades-requirements:focus { border-color: #91bbdf; background: #eef7ff; color: #124d7e; box-shadow: 0 4px 12px rgba(32,91,140,.12); outline: none; transform: translateY(-1px); }
.oportunidades-requirements__icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #e4f1fc; color: #3279b5; font-size: .9rem; }
.oportunidades-requirements__copy { display: flex; flex-direction: column; gap: .08rem; line-height: 1.2; }
.oportunidades-requirements__copy strong { font-size: .74rem; }
.oportunidades-requirements__copy small { margin: 0 !important; color: #71869a !important; font-size: .59rem !important; white-space: nowrap; }
.oportunidades-requirements__external { margin-left: auto; color: #8098ad; font-size: .64rem; }
.oportunidades-table td small.oportunidades-requirements-count { margin-top: .25rem; color: #647b90; font-size: .66rem; }
.oportunidades-table td small.oportunidades-data-recency { display: inline-flex; width: fit-content; align-items: center; gap: .22rem; margin-top: .24rem; padding: .14rem .42rem; border: 1px solid #c3e6ce; border-radius: 6px; background: #edf9f0; color: #247348 !important; font-size: .63rem !important; font-weight: 700; line-height: 1.25; }
.oportunidades-data-recency i { font-size: .58rem; }
.oportunidades-import-open { display: inline-flex; min-width: 155px; max-width: 100%; align-items: center; justify-content: flex-start; gap: .48rem; padding: .42rem .55rem; border: 1px solid #d5e4f1; border-radius: 10px; background: linear-gradient(135deg,#fff,#f4f9fe); color: #245b88; text-align: left; font: inherit; cursor: pointer; transition: border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease; }
.oportunidades-import-open:hover,.oportunidades-import-open:focus { border-color: #91bbdf; background: #eef7ff; color: #174d78; box-shadow: 0 4px 12px rgba(32,91,140,.12); outline: none; transform: translateY(-1px); }
.oportunidades-import-open__icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #e5f1fb; color: #3279b5; }
.oportunidades-import-open__copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: .08rem; line-height: 1.2; }
.oportunidades-import-open__copy strong { font-size: .78rem; white-space: nowrap; }
.oportunidades-import-open__copy small { max-width: 100%; overflow: hidden; margin: 0 !important; color: #70859a !important; font-size: .61rem !important; text-overflow: ellipsis; white-space: nowrap; }
.oportunidades-import-open__chevron { color: #8ba3b8; font-size: .72rem; }
.oportunidades-region-hint { color: #25649b; font-size: .8rem; }
.oportunidades-import-modal .modal-dialog { width: calc(100% - 2rem); max-width: 1180px; }
.oportunidades-export-modal .modal-dialog { width: calc(100vw - 40px); max-width: 1480px; max-height: calc(100vh - 32px); margin: 16px auto; }
.oportunidades-export-modal .modal-content { max-height: calc(100vh - 32px); }
.oportunidades-export-modal .modal-body { overflow-y: auto; overscroll-behavior: contain; }
.oportunidades-export-selected { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; padding: .75rem .9rem; border: 1px solid #cfe3d5; border-radius: 12px; background: linear-gradient(110deg,#f0faf3,#fff); }
.oportunidades-export-selected__icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #e0f2e6; color: #26804b; }
.oportunidades-export-selected > div { display: flex; min-width: 0; flex-direction: column; gap: .08rem; }
.oportunidades-export-selected strong { color: #24563a; font-size: .82rem; }
.oportunidades-export-selected small { color: #607b6b; font-size: .72rem; line-height: 1.4; }
.oportunidades-export-modal .oportunidades-import-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); }
.oportunidades-export-modal .oportunidades-supplier-table { width: 100%; table-layout: fixed; font-size: .72rem; }
.oportunidades-export-modal .oportunidades-supplier-table th,.oportunidades-export-modal .oportunidades-supplier-table td { padding: .45rem .35rem; overflow-wrap: anywhere; }
.oportunidades-export-modal .oportunidades-supplier-table th:nth-child(1),.oportunidades-export-modal .oportunidades-supplier-table td:nth-child(1) { width: 6%; }
.oportunidades-export-modal .oportunidades-supplier-table th:nth-child(2),.oportunidades-export-modal .oportunidades-supplier-table td:nth-child(2) { width: 23%; }
.oportunidades-export-modal .oportunidades-supplier-table th:nth-child(3),.oportunidades-export-modal .oportunidades-supplier-table td:nth-child(3) { width: 21%; }
.oportunidades-export-modal .oportunidades-supplier-table th:nth-child(4),.oportunidades-export-modal .oportunidades-supplier-table td:nth-child(4) { width: 14%; }
.oportunidades-export-modal .oportunidades-supplier-table th:nth-child(5),.oportunidades-export-modal .oportunidades-supplier-table td:nth-child(5) { width: 19%; }
.oportunidades-export-modal .oportunidades-supplier-table th:nth-child(6),.oportunidades-export-modal .oportunidades-supplier-table td:nth-child(6) { width: 17%; }
.oportunidades-import-modal .modal-header { padding: 1.25rem 1.5rem; }
.oportunidades-import-modal .modal-body { padding: 1.35rem 1.5rem; }
.oportunidades-import-modal__subtitle { margin-top: .28rem; color: rgba(255,255,255,.86); font-size: .82rem; }
.oportunidades-import-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin-bottom: 1rem; }
.oportunidades-import-summary > div { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem; border: 1px solid #dbe7f2; border-radius: 12px; background: linear-gradient(140deg,#fff,#f7fbff); }
.oportunidades-import-summary span { color: #6e8194; font-size: .75rem; }
.oportunidades-import-summary strong { color: #1e507b; font-size: 1.15rem; }
.oportunidades-import-summary small { color: #8393a2; font-size: .68rem; }
.oportunidades-import-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 1rem; }
.oportunidades-import-panel { min-width: 0; padding: 1rem; border: 1px solid #dce7f2; border-radius: 14px; background: #fff; }
.oportunidades-import-detail-panel { margin-top: 1rem; }
.oportunidades-import-panel__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; }
.oportunidades-import-panel__heading h6 { margin: 0; color: #204e76; font-size: .92rem; font-weight: 750; }
.oportunidades-import-panel__heading p { margin: .18rem 0 0; color: #78899a; font-size: .72rem; }
.oportunidades-import-source,.oportunidades-import-year { color: #7c8da0; font-size: .65rem; text-align: right; }
.oportunidades-import-bars { display: flex; min-height: 230px; align-items: stretch; gap: .5rem; overflow-x: auto; padding: 1.2rem .2rem .2rem; border-bottom: 1px solid #dce6f0; }
.oportunidades-import-bar-column { display: flex; flex: 1 0 58px; min-width: 58px; flex-direction: column; align-items: center; justify-content: flex-end; gap: .35rem; }
.oportunidades-import-bar-value { min-height: 1rem; color: #73869a; font-size: .62rem; white-space: nowrap; }
.oportunidades-import-bar-track { display: flex; width: 100%; height: 155px; align-items: flex-end; justify-content: center; border-radius: 8px 8px 0 0; background: repeating-linear-gradient(to top,#f4f8fb 0,#f4f8fb 1px,transparent 1px,transparent 38px); }
.oportunidades-import-bar { display: block; width: min(34px,70%); min-height: 4px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg,#58a8e4,#2873b4); box-shadow: 0 3px 8px rgba(37,112,174,.2); transform-origin: bottom; animation: oportunidades-import-bar-grow .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes oportunidades-import-bar-grow { from { transform: scaleY(.08); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
.oportunidades-import-bar-column > strong { color: #60788f; font-size: .72rem; }
.oportunidades-import-loading { display: grid; min-height: 230px; place-items: center; color: #52728f; font-size: .84rem; }
.oportunidades-supplier-table { margin: 0; color: #354f67; font-size: .76rem; }
.oportunidades-supplier-table thead th { padding: .55rem .45rem; border-top: 0; background: #f3f7fb; color: #5e758b; font-size: .68rem; white-space: nowrap; }
.oportunidades-supplier-table tbody td { padding: .55rem .45rem; vertical-align: middle; }
.oportunidades-supplier-table__rank { color: #8192a2; font-weight: 700; }
.oportunidades-import-detail-table { min-width: 850px; margin: 0; color: #354f67; font-size: .72rem; }
.oportunidades-import-detail-table thead th { padding: .55rem .5rem; border-top: 0; background: #f3f7fb; color: #5e758b; font-size: .68rem; white-space: nowrap; }
.oportunidades-import-detail-table tbody td { padding: .55rem .5rem; vertical-align: middle; white-space: nowrap; }
.oportunidades-import-detail-table tbody tr:nth-child(even) { background: #f8fafc; }
.oportunidades-import-empty { margin: .8rem 0; padding: .85rem; border-radius: 10px; background: #f5f8fb; color: #74869a; font-size: .77rem; line-height: 1.5; }
.oportunidades-import-period-note { margin: .55rem 0 0; color: #77899b; font-size: .7rem; }
.oportunidades-import-footnote { margin: .9rem .1rem 0; color: #73869a; font-size: .7rem; line-height: 1.45; }
.oportunidades-analysis-cell { min-width: 170px; white-space: nowrap; }
.oportunidades-analysis-open { display: inline-flex; min-width: 140px; flex-direction: column; align-items: stretch; gap: .35rem; padding: .35rem .45rem; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #244b70; font: inherit; line-height: 1.15; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.oportunidades-analysis-open:hover,.oportunidades-analysis-open:focus-visible { border-color: #d8e6f3; background: #f5f9fd; box-shadow: 0 4px 12px rgba(31,83,128,.1); outline: none; transform: translateY(-1px); }
.oportunidades-analysis-open__signals { display: grid; width: 100%; gap: .18rem; text-align: left; }
.oportunidades-analysis-open__signal { display: flex; min-width: 0; align-items: center; gap: .28rem; color: #77899a; font-size: .59rem; line-height: 1.15; }
.oportunidades-analysis-open__signal i { display: inline-flex; flex: 0 0 12px; width: 12px; align-items: center; justify-content: center; font-size: .65rem; }
.oportunidades-analysis-open__signal.is-met { color: #247449; }.oportunidades-analysis-open__signal.is-met i { color: #e4ae16; }
.oportunidades-analysis-open__signal.is-regional { color: #936611; }.oportunidades-analysis-open__signal.is-regional i { color: #e4ae16; }
.oportunidades-analysis-open__signal.is-partial { color: #936611; }.oportunidades-analysis-open__signal.is-partial i { color: #e4ae16; }
.oportunidades-analysis-open__signal.is-unmet i { color: #aeb8c2; }
.oportunidades-analysis-open__signal i { transform-origin: 50% 70%; transition: transform .18s ease; }
.oportunidades-analysis-open:hover .oportunidades-analysis-open__signal.is-met i,.oportunidades-analysis-open:hover .oportunidades-analysis-open__signal.is-partial i,.oportunidades-analysis-open:focus-visible .oportunidades-analysis-open__signal.is-met i,.oportunidades-analysis-open:focus-visible .oportunidades-analysis-open__signal.is-partial i { transform: translateY(-1px) scale(1.12); }
.oportunidades-analysis-open__score { display: flex; flex-direction: column; align-items: center; gap: .05rem; margin-top: .12rem; padding-top: .25rem; border-top: 1px solid #e4ebf2; }
.oportunidades-analysis-open__score > strong { color: #244b70; font-size: .76rem; font-weight: 800; }
.oportunidades-analysis-open__score > small { color: #71869a; font-size: .59rem; }
.oportunidades-analysis-modal .modal-dialog { width: calc(100% - 2rem); max-width: 820px; }
.oportunidades-analysis-modal .modal-body { padding: 1.25rem 1.5rem; }
.oportunidades-analysis-context { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; color: rgba(255,255,255,.86); font-size: .8rem; }
.oportunidades-analysis-score { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem .9rem; padding: 1rem 1.1rem; border: 1px solid #d5e5f4; border-radius: 14px; background: linear-gradient(135deg,#f1f8ff,#fff); }
.oportunidades-analysis-score__number { grid-row: span 2; display: flex; align-items: baseline; color: #1b5f98; }
.oportunidades-analysis-score__number strong { font-size: 2.25rem; line-height: 1; }
.oportunidades-analysis-score__number span { margin-left: .18rem; color: #8293a4; font-size: .9rem; }
.oportunidades-analysis-score__copy { display: flex; flex-direction: column; gap: .15rem; }
.oportunidades-analysis-score__copy strong { color: #214f78; font-size: .95rem; }
.oportunidades-analysis-score__copy span { color: #6b7f92; font-size: .75rem; }
.oportunidades-analysis-score__track { grid-column: 2; height: 7px; overflow: hidden; border-radius: 99px; background: #e2ebf3; }
.oportunidades-analysis-score__track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f0b323,#42a66b); transition: width .55s cubic-bezier(.2,.8,.2,1); }
.oportunidades-analysis-legend { display: flex; flex-wrap: wrap; gap: .45rem .9rem; margin: .9rem 0; color: #63778a; font-size: .69rem; }
.oportunidades-analysis-legend > span { display: inline-flex; align-items: center; gap: .25rem; }
.oportunidades-analysis-legend i { font-size: .86rem; }
.oportunidades-analysis-legend .is-full,.oportunidades-analysis-legend .is-regional,.oportunidades-analysis-legend .is-partial { color: #e4ae16; }.oportunidades-analysis-legend .is-empty { color: #aeb8c2; }
.oportunidades-analysis-list { display: grid; gap: .55rem; }
.oportunidades-analysis-item { display: grid; grid-template-columns: 28px 34px minmax(0,1fr) auto; align-items: center; gap: .6rem; padding: .7rem .75rem; border: 1px solid #e0e8f0; border-radius: 12px; background: #fff; }
.oportunidades-analysis-item__number { color: #9aa9b7; font-size: .7rem; font-weight: 800; }
.oportunidades-analysis-item__icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #eff4f8; color: #bdc7d0; }
.oportunidades-analysis-item.is-met .oportunidades-analysis-item__icon { background: #fff7db; color: #dda700; }.oportunidades-analysis-item.is-regional .oportunidades-analysis-item__icon,.oportunidades-analysis-item.is-partial .oportunidades-analysis-item__icon { background: #fff7db; color: #dda700; }
.oportunidades-analysis-item__icon i { display: inline-block; animation: opportunity-star-pop .22s ease-out both; }
.oportunidades-analysis-item.is-unmet .oportunidades-analysis-item__icon { color: #aeb8c2; }
.oportunidades-analysis-item__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; }
.oportunidades-analysis-item__heading strong { color: #244c71; font-size: .82rem; }
.oportunidades-analysis-item__state { color: #76889a; font-size: .68rem; }
.oportunidades-analysis-item__copy p { margin: .15rem 0 0; color: #667b8f; font-size: .73rem; line-height: 1.4; }
.oportunidades-analysis-item__points { min-width: 66px; color: #46617a; font-size: .7rem; font-weight: 800; text-align: right; }
.oportunidades-analysis-item.is-met .oportunidades-analysis-item__points { color: #25804e; }.oportunidades-analysis-item.is-regional .oportunidades-analysis-item__points,.oportunidades-analysis-item.is-partial .oportunidades-analysis-item__points { color: #a66c10; }
.oportunidades-analysis-note { margin: .8rem 0 0; color: #74869a; font-size: .72rem; line-height: 1.45; }
@keyframes opportunity-star-pop { from { transform: scale(.82); opacity: .65; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 575.98px) { .oportunidades-analysis-modal .modal-header,.oportunidades-analysis-modal .modal-body { padding: 1rem; }.oportunidades-analysis-item { grid-template-columns: 22px 30px minmax(0,1fr); gap: .4rem; }.oportunidades-analysis-item__points { grid-column: 3; text-align: left; }.oportunidades-analysis-score__number strong { font-size: 1.8rem; } }
@media (prefers-reduced-motion: reduce) { .oportunidades-analysis-open,.oportunidades-analysis-score__track span,.oportunidades-analysis-open__signal i { transition: none; animation: none !important; } }
@media (max-width: 767.98px) { .oportunidades-import-summary { grid-template-columns: 1fr; } .oportunidades-import-grid { grid-template-columns: 1fr; } .oportunidades-import-modal .modal-header,.oportunidades-import-modal .modal-body { padding: 1rem; } .oportunidades-export-modal .modal-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); margin: 8px auto; } .oportunidades-export-modal .modal-content { max-height: calc(100vh - 16px); } .oportunidades-export-modal .oportunidades-import-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .oportunidades-schedule-modal .modal-header,.oportunidades-schedule-modal .modal-body { padding: 1rem; } .oportunidades-schedule-summary { grid-template-columns: 1fr; } }
.oportunidades-empty { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border: 1px solid #dce7f1; border-radius: 14px; background: #f8fbff; color: #40566b; }
.oportunidades-empty p { margin: .25rem 0 0; color: #718096; }
.oportunidades-empty__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #e8f2fb; color: #25649b; }
.oportunidades-subresult:empty { display: none; }
.oportunidades-search-progress { position: relative; overflow: hidden; padding: 1.5rem; border: 1px solid #dce8f4; border-radius: 18px; background: radial-gradient(circle at 90% 0%, rgba(44,127,190,.11), transparent 30%), linear-gradient(135deg,#fff 0%,#f7fbff 100%); box-shadow: 0 12px 30px rgba(23,59,97,.07); animation: oportunidades-progress-enter .35s ease both; }
.oportunidades-search-progress__top { display: flex; align-items: center; gap: 1rem; }
.oportunidades-search-progress__icon { position: relative; display: grid; flex: 0 0 54px; height: 54px; place-items: center; border-radius: 17px; background: linear-gradient(145deg,#0f5d9c,#3987c5); color: #fff; font-size: 1.35rem; box-shadow: 0 8px 18px rgba(15,93,156,.23); }
.oportunidades-search-progress__icon > span { position: absolute; inset: -5px; border: 1px solid rgba(35,112,174,.26); border-radius: 20px; animation: oportunidades-orbit 2.4s ease-out infinite; }
.oportunidades-search-progress__copy { flex: 1; }
.oportunidades-search-progress__eyebrow { color: #66829c; font-size: .68rem; font-weight: 800; letter-spacing: .11em; }
.oportunidades-search-progress__copy h3 { margin: .15rem 0 .25rem; color: #173b61; font-size: 1.2rem; font-weight: 800; }
.oportunidades-search-progress__copy p { margin: 0; color: #61758a; font-size: .9rem; }
.oportunidades-search-progress__copy p strong { color: #145b91; }
.oportunidades-search-progress__market { display: grid; min-width: 76px; justify-items: center; padding: .55rem .75rem; border: 1px solid #dfebf5; border-radius: 13px; background: rgba(255,255,255,.8); color: #2872ac; }
.oportunidades-search-progress__market strong { color: #173b61; font-size: 1.1rem; line-height: 1.2; }
.oportunidades-search-progress__market span { color: #73869a; font-size: .7rem; }
.oportunidades-search-progress__track { height: 5px; overflow: hidden; margin: 1.25rem 0 1.1rem; border-radius: 99px; background: #e6eef6; }
.oportunidades-search-progress__track span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1b74bb,#63b5e8); animation: oportunidades-progress-sweep 2s ease-in-out infinite; }
.oportunidades-search-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.oportunidades-search-steps > div { display: flex; align-items: center; gap: .65rem; min-width: 0; opacity: .48; transition: opacity .25s ease, transform .25s ease; }
.oportunidades-search-steps > div.is-active { opacity: 1; transform: translateY(-2px); }
.oportunidades-search-steps > div.is-complete { opacity: .78; }
.oportunidades-search-steps > div > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border: 1px solid #d8e4ef; border-radius: 50%; background: #fff; color: #7390a9; }
.oportunidades-search-steps > div.is-active > span { border-color: #2d83c0; background: #eaf5fd; color: #1769a8; box-shadow: 0 0 0 4px rgba(45,131,192,.09); }
.oportunidades-search-steps > div.is-complete > span { border-color: #9bd3b1; background: #eaf8ef; color: #16804a; }
.oportunidades-search-steps strong,.oportunidades-search-steps small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oportunidades-search-steps strong { color: #294a68; font-size: .79rem; }
.oportunidades-search-steps small { margin-top: .1rem; color: #7c8da0; font-size: .69rem; }
.oportunidades-search-progress__foot { display: flex; align-items: center; gap: .45rem; margin-top: 1rem; color: #74869a; font-size: .76rem; }
.oportunidades-pulse { width: 7px; height: 7px; border-radius: 50%; background: #2c91cc; box-shadow: 0 0 0 0 rgba(44,145,204,.4); animation: oportunidades-pulse 1.5s infinite; }
.oportunidades-search-dots { display: inline-flex; gap: 3px; margin-left: .35rem; vertical-align: middle; }
.oportunidades-search-dots i { width: 4px; height: 4px; border-radius: 50%; background: #3d8dc5; animation: oportunidades-dot 1s infinite alternate; }
.oportunidades-search-dots i:nth-child(2) { animation-delay: .2s; }.oportunidades-search-dots i:nth-child(3) { animation-delay: .4s; }
.oportunidades-btn--primary:disabled { cursor: wait; opacity: .72; }
@keyframes oportunidades-progress-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes oportunidades-progress-sweep { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes oportunidades-orbit { 0% { transform: scale(.86); opacity: .8; } 100% { transform: scale(1.2); opacity: 0; } }
@keyframes oportunidades-pulse { 70% { box-shadow: 0 0 0 7px rgba(44,145,204,0); } 100% { box-shadow: 0 0 0 0 rgba(44,145,204,0); } }
@keyframes oportunidades-dot { to { opacity: .25; transform: translateY(-2px); } }
@media (max-width: 680px) { .oportunidades-search-progress { padding: 1.1rem; }.oportunidades-search-progress__market { min-width: 58px; padding: .4rem; }.oportunidades-search-steps { grid-template-columns: 1fr; gap: .65rem; }.oportunidades-search-steps small { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .oportunidades-search-progress *, .oportunidades-search-progress *::before, .oportunidades-search-progress *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.oportunidades-detail-modal .modal-dialog { transform: translateY(18px) scale(.97); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.oportunidades-detail-modal.show .modal-dialog { transform: translateY(0) scale(1); }
.oportunidades-detail-modal .modal-content { overflow: hidden; border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(10, 35, 60, .25); }
.oportunidades-detail-modal .modal-header { align-items: flex-start; padding: 1.4rem 1.5rem; border: 0; background: linear-gradient(135deg, #0f5d9c, #1b74bb); color: #fff; }
.oportunidades-detail-modal .modal-title { font-weight: 800; }
.oportunidades-detail-modal .modal-header .close { color: #fff; opacity: .9; text-shadow: none; }
.oportunidades-modal-kicker { display: block; margin-bottom: .25rem; color: rgba(255,255,255,.78); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.oportunidades-modal-country { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; color: #234d75; font-size: 1.05rem; font-weight: 700; }
.oportunidades-modal-country i { color: #0f72b8; }
.oportunidades-fraction-dialog { width: calc(100% - 2rem); max-width: 820px; }
.oportunidades-fraction-dialog .modal-content { border-radius: 22px; }
.oportunidades-fraction-dialog .modal-header { padding: 1.55rem 1.8rem; }
.oportunidades-fraction-dialog .modal-body { padding: 1.6rem 1.8rem; }
.oportunidades-fraction-dialog .modal-footer { padding: 0 1.8rem 1.6rem; }
.oportunidades-modal-country { gap: .8rem; margin-bottom: 1.4rem; font-size: 1.2rem; }
.oportunidades-fraction-flag { width: 42px; height: 28px; object-fit: cover; border: 1px solid rgba(30,60,90,.15); border-radius: 5px; box-shadow: 0 3px 9px rgba(24,52,78,.16); }
.oportunidades-hierarchy { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.oportunidades-hierarchy > div { min-height: 112px; padding: 1rem; border: 1px solid #dce7f1; border-radius: 14px; background: #f7faff; }
.oportunidades-hierarchy span { display: block; margin-bottom: .5rem; color: #718096; font-size: .85rem; }
.oportunidades-hierarchy span b { display: inline-block; margin-left: .25rem; color: #173b61; font-size: .83rem; }
.oportunidades-hierarchy strong { display: block; color: #294a68; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.oportunidades-modal-description { margin-top: 1.15rem; padding: 1.15rem 1.25rem; border-left: 4px solid #1b74bb; border-radius: 11px; background: #f8fafc; }
.oportunidades-description-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.oportunidades-modal-description h6 { margin: 0; color: #234d75; font-size: .98rem; font-weight: 800; }
.oportunidades-modal-description p { margin: 0; color: #40566b; font-size: .98rem; line-height: 1.65; }
.oportunidades-translation-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .6rem; border: 1px solid #f0d28b; border-radius: 999px; background: #fff7e4; color: #936000; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.oportunidades-modal-description--english { border-left-color: #8a9bac; background: #f1f4f7; }
.oportunidades-modal-description--english h6 { margin-bottom: .5rem; color: #526579; }
.oportunidades-modal-description--english p { color: #526579; font-size: .93rem; }
.oportunidades-detail-modal .modal-footer { border-color: #edf2f7; }
.oportunidades-country-modal .modal-dialog { max-width: 760px; }
.oportunidades-country-modal .modal-header { min-height: 96px; align-items: center; padding-top: 1.05rem; padding-bottom: 1.05rem; }
.oportunidades-country-modal__heading { display: block; position: relative; min-height: 54px; padding-left: 68px; }
.oportunidades-country-modal__heading .oportunidades-modal-kicker { display: block; margin-bottom: .25rem; }
.oportunidades-country-titleline { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; }
.oportunidades-country-modal__heading .modal-title { display: block; margin: 0; font-size: 1.35rem; line-height: 1.2; }
.oportunidades-country-modal__flag { position: absolute; top: 2px; left: 0; width: 58px; height: auto; border: 2px solid rgba(255,255,255,.75); border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.oportunidades-country-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: .7rem; margin-bottom: 1.2rem; }
.oportunidades-country-summary > div { min-width: 0; padding: .8rem .9rem; border: 1px solid #e1eaf2; border-radius: 12px; background: linear-gradient(180deg,#fff,#f7faff); }
.oportunidades-country-summary span { display: block; margin-bottom: .25rem; color: #7a8da0; font-size: .72rem; }
.oportunidades-country-summary strong { display: block; overflow-wrap: anywhere; color: #244866; font-size: .88rem; }
.oportunidades-country-summary strong.is-unavailable { color: #8191a0; font-size: .8rem; font-weight: 500; }
.oportunidades-country-sections { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.oportunidades-country-sections > section { min-width: 0; padding: 1rem; border: 1px solid #e2ebf3; border-radius: 14px; background: #fff; }
.oportunidades-country-sections > section h6 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .75rem; color: #244866; font-size: .9rem; font-weight: 800; }
.oportunidades-country-sections > section h6 i { color: #3682b8; }
.oportunidades-country-links { display: grid; gap: .45rem; }
.oportunidades-country-link { display: flex; min-height: 40px; align-items: center; gap: .6rem; padding: .55rem .65rem; border: 1px solid #e6edf4; border-radius: 9px; background: #f8fbfe; color: #315c7d; font-size: .82rem; text-decoration: none; transition: border-color .18s ease,background .18s ease,color .18s ease; }
.oportunidades-country-link:hover { border-color: #b9d7ed; background: #edf7fe; color: #145b91; text-decoration: none; }
.oportunidades-country-link > i:first-child { width: 17px; color: #3783b8; text-align: center; }
.oportunidades-country-link span { flex: 1; }
.oportunidades-country-link__arrow { color: #91a6b8; font-size: .72rem; }
.oportunidades-country-empty { margin: 0; color: #8998a7; font-size: .8rem; }
.oportunidades-country-agreement { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .65rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .8rem; }
.oportunidades-country-modal .modal-body { background: #f7faff; }
.oportunidades-country-requirements { grid-column: auto; }
.oportunidades-country-requirements p { margin: 0; color: #596f83; font-size: .85rem; line-height: 1.55; white-space: pre-line; }
.oportunidades-country-origin { grid-column: 1 / -1; }
.oportunidades-country-origin[hidden] { display: none !important; }
.oportunidades-origin-rule-state { padding: .75rem .85rem; border: 1px dashed #d6e2ed; border-radius: 10px; background: #f8fbfe; color: #64798d; font-size: .84rem; line-height: 1.5; }
.oportunidades-origin-rule-state.is-loading { border-style: solid; color: #276c9e; }
.oportunidades-origin-rule-state.is-ready { border-color: #b9dfc8; background: #f1faf4; color: #267045; }
.oportunidades-origin-rule-state.is-error { border-color: #f0c7c7; background: #fff7f7; color: #a13b3b; }
.oportunidades-origin-rule-results { display: grid; gap: .7rem; margin-top: .7rem; }
.oportunidades-origin-rule-card { padding: .9rem 1rem; border: 1px solid #dce7f1; border-radius: 12px; background: linear-gradient(180deg,#fff,#f9fbfe); }
.oportunidades-origin-rule-card__title { color: #1d4f77; font-size: .96rem; font-weight: 800; }
.oportunidades-origin-rule-card__description { margin: .5rem 0 0; color: #40566b; font-size: .84rem; line-height: 1.55; }
.oportunidades-origin-rule-card__interpretation { margin: .5rem 0 0; padding: .65rem .75rem; border-left: 3px solid #72a8cf; border-radius: 0 7px 7px 0; background: #f0f7fc; color: #526b80; font-size: .82rem; line-height: 1.5; }
.oportunidades-origin-rule-card__reference { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .65rem; color: #718398; font-size: .76rem; }
.oportunidades-origin-rule-card__reference .oportunidades-country-link { width: 100%; }
@media (max-width: 575.98px) { .oportunidades-hierarchy { grid-template-columns: 1fr; gap: .45rem; } }
@media (max-width: 575.98px) { .oportunidades-fraction-dialog .modal-header { padding: 1.2rem; }.oportunidades-fraction-dialog .modal-body { padding: 1.2rem; }.oportunidades-fraction-dialog .modal-footer { padding: 0 1.2rem 1.2rem; }.oportunidades-hierarchy > div { min-height: auto; }.oportunidades-description-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 575.98px) { .oportunidades-country-summary { grid-template-columns: 1fr; }.oportunidades-country-sections { grid-template-columns: 1fr; }.oportunidades-country-requirements { grid-column: auto; }.oportunidades-country-modal__flag { width: 46px; } }
.oportunidades-table-wrap + .dataTables_wrapper { padding-top: .75rem; }
.oportunidades-table-wrap .dataTables_wrapper { min-width: 100%; }
    .oportunidades-page {
        background:
            radial-gradient(circle at top right, rgba(16, 93, 156, 0.08), transparent 24%),
            linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
    }

    .oportunidades-breadcrumb {
        background: transparent;
        padding: 0;
    }

    .oportunidades-breadcrumb .breadcrumb-item a {
        color: #0f5d9c;
        font-weight: 600;
        text-decoration: none;
    }

    .oportunidades-breadcrumb .breadcrumb-item.active {
        color: #6b7280;
    }

    .oportunidades-hero {
        background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
        border: 1px solid rgba(15, 93, 156, 0.10);
        border-radius: 24px;
        padding: 2rem;
        box-shadow: 0 20px 55px rgba(15, 23, 42, 0.06);
    }

    .oportunidades-badge {
        display: inline-flex;
        align-items: center;
        padding: .55rem .95rem;
        background: rgba(15, 93, 156, 0.08);
        color: #0f5d9c;
        border-radius: 999px;
        font-size: .85rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .oportunidades-title {
        font-size: 2.2rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: .75rem;
        line-height: 1.1;
    }

    .oportunidades-subtitle {
        font-size: 1rem;
        line-height: 1.8;
        color: #5b6472;
        max-width: 780px;
    }

    .oportunidades-help-card {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        padding: 1.2rem;
        background: #ffffff;
        border: 1px solid rgba(15, 93, 156, 0.10);
        border-radius: 20px;
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
        height: 100%;
    }

    .oportunidades-help-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #0f5d9c, #1a76bf);
        color: #fff;
        font-size: 1.35rem;
    }

    .oportunidades-help-content h5 {
        margin-bottom: .45rem;
        font-weight: 800;
        color: #0f172a;
    }

    .oportunidades-help-content p {
        margin-bottom: .65rem;
        color: #64748b;
        line-height: 1.6;
        font-size: .95rem;
    }

    .oportunidades-help-link {
        color: #0f5d9c;
        font-weight: 700;
        text-decoration: none;
    }

    .oportunidades-help-link:hover {
        color: #0a4b7f;
        text-decoration: none;
    }

    .oportunidades-info-box {
        background: #ffffff;
        border: 1px solid rgba(15, 93, 156, 0.10);
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
    }

    .oportunidades-info-title {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: .75rem;
    }

    .oportunidades-doc-link {
        display: inline-flex;
        align-items: center;
        color: #0f5d9c;
        font-weight: 700;
        text-decoration: none;
    }

    .oportunidades-doc-link:hover {
        color: #0a4b7f;
        text-decoration: none;
    }

    .oportunidades-close-link {
        display: inline-flex;
        align-items: center;
        padding: .65rem 1rem;
        border-radius: 999px;
        background: #f8fafc;
        color: #dc2626;
        font-weight: 700;
        text-decoration: none;
        border: 1px solid #e5e7eb;
    }

    .oportunidades-close-link:hover {
        text-decoration: none;
        color: #b91c1c;
    }

    .oportunidades-shell {
        background: #ffffff;
        border-radius: 24px;
        padding: 1.5rem;
        border: 1px solid rgba(15, 93, 156, 0.08);
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    }

    .oportunidades-shell__top {
        margin-bottom: 1.25rem;
    }

    .oportunidades-section-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: #0f172a;
    }

    .oportunidades-section-subtitle {
        color: #64748b;
        font-size: .97rem;
    }

    .oportunidades-fieldset {
        border: 1px solid #dbe7f3;
        border-radius: 18px;
        padding: 1.1rem 1rem 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    .oportunidades-fieldset__legend {
        width: auto;
        padding: 0 .6rem;
        margin-left: .35rem;
        margin-bottom: 0;
        font-size: .95rem;
        font-weight: 800;
        color: #0f5d9c;
    }

    .oportunidades-label {
        font-weight: 700;
        color: #334155;
        margin-bottom: .45rem;
    }

    .oportunidades-control {
        border-radius: 12px;
        border: 1px solid #d9e4ef;
        min-height: 46px;
        box-shadow: none !important;
    }

    .oportunidades-control:focus {
        border-color: #8cb9df;
    }

    .oportunidades-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        padding: .75rem 1rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 700;
        font-size: .92rem;
        border: 0;
        transition: .2s ease;
    }

    .oportunidades-btn--primary {
        background: linear-gradient(135deg, #0f5d9c, #1b74bb);
        color: #fff;
        box-shadow: 0 10px 24px rgba(15, 93, 156, 0.18);
    }

    .oportunidades-btn--primary:hover,
    .oportunidades-btn--primary:focus {
        color: #fff;
        opacity: .96;
    }

    .oportunidades-advanced-toggle {
        margin-top: .35rem;
    }

    .oportunidades-advanced-toggle a {
        color: #0f5d9c;
        font-weight: 700;
        text-decoration: none;
    }

    .oportunidades-advanced-toggle a:hover {
        color: #0a4b7f;
        text-decoration: none;
    }

    .oportunidades-advanced-box {
        margin-top: 1rem;
        padding: 1rem;
        background: #f8fbff;
        border: 1px solid #e7eef6;
        border-radius: 16px;
    }

    .oportunidades-checks {
        display: grid;
        gap: .6rem;
        margin-top: .5rem;
    }

    .oportunidades-check {
        background: #ffffff;
        border: 1px solid #edf2f7;
        border-radius: 12px;
        padding: .75rem .9rem .75rem 2.45rem;
        color: #475569;
        line-height: 1.5;
    }

    .oportunidades-results-box {
        min-height: 140px;
    }

    .oportunidades-note {
        display: flex;
        align-items: flex-start;
        gap: .5rem;
        background: #f8fbff;
        border: 1px solid #e7eef6;
        border-radius: 16px;
        padding: 1rem;
        color: #475569;
        line-height: 1.7;
    }

    .oportunidades-note i {
        color: #0f5d9c;
        margin-top: .2rem;
    }

    .oportunidades-note a {
        color: #0f5d9c;
        font-weight: 700;
        text-decoration: none;
    }

    .ms-parent {
        width: 100% !important;
    }

    /* El plugin conserva el select nativo para accesibilidad; sácalo del flujo visual. */
    .oportunidades-page select.ms-offscreen {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .ms-choice {
        min-height: 46px;
        border-radius: 12px !important;
        border: 1px solid #d9e4ef !important;
        display: flex !important;
        align-items: center !important;
        padding-left: .85rem !important;
        color: #334155 !important;
        box-shadow: none !important;
    }

    .ms-choice > span {
        position: static !important;
        padding-left: 0 !important;
        line-height: normal !important;
    }

    .ms-drop {
        z-index: 1100 !important;
        border-radius: 12px !important;
        border-color: #d9e4ef !important;
        box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12) !important;
        overflow: hidden;
    }

    .ms-drop ul { max-height: 280px; }

    .dataTables_wrapper {
        width: 100%;
        overflow-x: auto;
    }

    #DivResultadoConsulta table {
        width: 100% !important;
    }

    @media (max-width: 991.98px) {
        .oportunidades-title {
            font-size: 1.9rem;
        }
    }

    @media (max-width: 767.98px) {
        .oportunidades-hero,
        .oportunidades-shell,
        .oportunidades-info-box {
            padding: 1.15rem;
        }

        .oportunidades-title {
            font-size: 1.65rem;
        }

        .oportunidades-note {
            display: block;
        }

        .oportunidades-note i {
            margin-bottom: .45rem;
        }
    }


    /* =========================================================
   FIX TOOLTIP BUSCADOR DE OPORTUNIDADES
   El resultado AJAX usa:
   <div class="tooltip">codigo <span class="tooltiptext">...</span></div>
   Bootstrap/MDB también usa .tooltip y lo oculta.
   Por eso se fuerza solo dentro de DivResultadoConsulta.
========================================================= */

#DivResultadoConsulta .tooltip {
    position: relative !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: auto !important;
    cursor: help !important;
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    text-align: inherit !important;
    margin: 0 !important;
}

#DivResultadoConsulta .tooltip .tooltiptext {
    visibility: hidden !important;
    opacity: 0 !important;
    width: 340px !important;
    max-width: 90vw !important;
    background: #1f2937 !important;
    color: #ffffff !important;
    text-align: left !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    position: absolute !important;
    z-index: 99999 !important;
    bottom: 125% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: normal !important;
    line-height: 1.45 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28) !important;
    transition: opacity .15s ease, visibility .15s ease !important;
    pointer-events: none !important;
}

#DivResultadoConsulta .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

#DivResultadoConsulta .tooltip:hover .tooltiptext,
#DivResultadoConsulta .tooltip:focus .tooltiptext {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Respeta los colores internos que vienen del AJAX, por ejemplo:
   <p style="color:#F3FF00">descripción traducida...</p>
*/
#DivResultadoConsulta .tooltip .tooltiptext p {
    margin: 6px 0 0 0 !important;
    line-height: 1.35 !important;
}

/* Evita que el tooltip quede recortado por contenedores modernos */
.oportunidades-results-box,
#DivResultadoConsulta,
#DivResultadoConsulta .dataTables_wrapper,
#DivResultadoConsulta .dataTables_scroll,
#DivResultadoConsulta .dataTables_scrollBody {
    overflow: visible !important;
}

/* Asegura que la tabla generada por DataTables no tape el tooltip */
#DivResultadoConsulta table,
#DivResultadoConsulta table td,
#DivResultadoConsulta table th {
    overflow: visible !important;
}

/* En móvil, lo centra mejor para que no se salga tanto */
@media (max-width: 767.98px) {
    #DivResultadoConsulta .tooltip .tooltiptext {
        width: 280px !important;
        left: 0 !important;
        transform: none !important;
    }

    #DivResultadoConsulta .tooltip .tooltiptext::after {
        left: 18px !important;
        margin-left: 0 !important;
    }
}
