/* ============================================================================
   V5.5 :: tanda-v55-pos-premium - UX/UI Pass del POS
   Clases reusables para buscadores, items pérdida, recomendaciones, modales.
   Cargado en _Host.cshtml después de site.css.
============================================================================ */

/* === 1. SEARCH INPUTS PREMIUM === */
.search-premium {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(20,23,29,0.95), rgba(15,18,24,0.92));
    border: 1.5px solid rgba(99,102,241,0.20);
    border-radius: 12px;
    padding: 4px 6px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.20);
}
.search-premium:focus-within {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167,139,250,0.18), 0 6px 22px rgba(99,102,241,0.20);
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(20,23,29,0.95));
}
.search-premium-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: #a78bfa; font-size: 16px;
    flex-shrink: 0;
}
.search-premium input {
    flex: 1;
    background: transparent;
    border: none; outline: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 4px;
    min-width: 0;
}
.search-premium input::placeholder {
    color: #64748b;
    font-weight: 400;
}
.search-premium-clear {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(220,38,38,0.15);
    color: #fca5a5;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-right: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.16s;
}
.search-premium.has-value .search-premium-clear {
    opacity: 1;
    pointer-events: auto;
}
.search-premium-clear:hover {
    background: rgba(220,38,38,0.30);
    color: #fff;
    transform: scale(1.08);
}
.search-premium-shortcut {
    font-size: 10px;
    color: #64748b;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    padding: 2px 6px;
    font-family: 'SF Mono', Consolas, monospace;
    font-weight: 700;
    margin-right: 6px;
    flex-shrink: 0;
}

.search-premium-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    z-index: 800;
    background: rgba(15,18,24,0.98);
    border: 1px solid rgba(99,102,241,0.30);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.55);
    max-height: 420px;
    overflow-y: auto;
    backdrop-filter: blur(8px);
}
.search-premium-result-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.12s;
}
.search-premium-result-item:hover,
.search-premium-result-item.active {
    background: linear-gradient(90deg, rgba(99,102,241,0.18) 0%, rgba(99,102,241,0.06) 100%);
}
.search-premium-result-item:last-child { border-bottom: none; }
.search-premium-result-name {
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
}
.search-premium-result-name mark {
    background: rgba(245,158,11,0.30);
    color: #fbbf24;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: 800;
}
.search-premium-result-meta {
    color: #94a3b8;
    font-size: 11.5px;
    margin-top: 2px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.search-premium-result-meta .pill {
    background: rgba(99,102,241,0.15);
    color: #c4b5fd;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

/* === 2. ITEM PÉRDIDA EN CARRITO ===
   V7.0 :: el POS usa .cart-card-perdida (no .cart-item-perdida). Soportamos ambos
   selectores para compatibilidad con el HTML actual y el rediseño futuro. */
.cart-item-perdida,
.cart-card-perdida {
    background: linear-gradient(135deg, rgba(127,29,29,0.10), rgba(20,23,29,0.92)) !important;
    border: 1.5px dashed rgba(239,68,68,0.45) !important;
    border-radius: 11px !important;
    position: relative;
    overflow: hidden;
}
.cart-item-perdida::before,
.cart-card-perdida::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
}
.cart-item-perdida .cart-item-precio,
.cart-card-perdida .cart-punit {
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    opacity: 0.55;
    font-weight: 400 !important;
}
.cart-item-perdida-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(220,38,38,0.30);
}
.cart-item-perdida-tipo {
    font-size: 11px;
    color: #fca5a5;
    font-weight: 600;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cart-item-perdida-x {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(220,38,38,0.18);
    color: #fca5a5;
    border: 1px solid rgba(220,38,38,0.40);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.16s;
    flex-shrink: 0;
}
.cart-item-perdida-x:hover {
    background: rgba(220,38,38,0.40);
    color: #fff;
    transform: scale(1.05);
}

/* === 3. RECOMENDACIONES PANEL COLAPSABLE === */
.recom-panel {
    background: rgba(20,23,29,0.92);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 8px;
}
.recom-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    transition: background 0.16s;
    background: linear-gradient(135deg, rgba(99,102,241,0.04) 0%, transparent 100%);
}
.recom-panel-header:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0.02) 100%);
}
.recom-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.recom-panel-icon { font-size: 16px; }
.recom-panel-count {
    background: rgba(245,158,11,0.20);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.35);
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    min-width: 24px;
    text-align: center;
}
.recom-panel-arrow {
    color: #64748b;
    font-size: 11px;
    transition: transform 0.22s;
}
.recom-panel.expanded .recom-panel-arrow { transform: rotate(180deg); }
.recom-panel-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.recom-panel.expanded .recom-panel-body { max-height: 600px; }
.recom-panel-body-inner {
    padding: 4px 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recom-panel-historial .recom-panel-header { background: linear-gradient(135deg, rgba(59,130,246,0.08), transparent); }
.recom-panel-historial .recom-panel-title { color: #93c5fd; }
.recom-panel-combo .recom-panel-header { background: linear-gradient(135deg, rgba(245,158,11,0.08), transparent); }
.recom-panel-combo .recom-panel-title { color: #fcd34d; }
.recom-panel-oferta .recom-panel-header { background: linear-gradient(135deg, rgba(34,197,94,0.08), transparent); }
.recom-panel-oferta .recom-panel-title { color: #86efac; }

.recom-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(0,0,0,0.20);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.14s;
}
.recom-item:hover {
    border-color: rgba(99,102,241,0.40);
    transform: translateX(2px);
    background: rgba(99,102,241,0.08);
}
.recom-item-name {
    flex: 1;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.recom-item-precio {
    color: #86efac;
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.recom-item-meta {
    color: #94a3b8;
    font-size: 10.5px;
    margin-top: 1px;
}
.recom-item-add {
    width: 26px; height: 26px;
    border-radius: 7px;
    background: rgba(34,197,94,0.18);
    color: #86efac;
    border: 1px solid rgba(34,197,94,0.40);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.16s;
}
.recom-item-add:hover {
    background: rgba(34,197,94,0.40);
    color: #fff;
    transform: scale(1.08);
}

/* === 4. MODAL PREMIUM (base reusable) === */
.modal-premium-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.20s ease-out;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-premium {
    background: linear-gradient(135deg, rgba(15,18,24,0.98), rgba(20,23,29,0.96));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(167,139,250,0.05);
    max-width: 560px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-premium.modal-wide { max-width: 720px; }
.modal-premium.modal-narrow { max-width: 440px; }

.modal-premium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(135deg, rgba(99,102,241,0.06), transparent);
    flex-shrink: 0;
}
.modal-premium-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.modal-premium-title-icon { font-size: 22px; }
.modal-premium-close {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #cbd5e1;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: all 0.16s;
}
.modal-premium-close:hover {
    background: rgba(220,38,38,0.20);
    color: #fff;
    transform: rotate(90deg);
}
.modal-premium-body {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1;
}
.modal-premium-footer {
    padding: 12px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.20);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-shrink: 0;
}
.modal-premium-btn {
    padding: 10px 20px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.16s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.modal-premium-btn-primary {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 4px 14px rgba(22,163,74,0.30);
}
.modal-premium-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22,163,74,0.45);
}
.modal-premium-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}
.modal-premium-btn-secondary {
    background: rgba(99,102,241,0.15);
    color: #c4b5fd;
    border: 1px solid rgba(99,102,241,0.40);
}
.modal-premium-btn-secondary:hover {
    background: rgba(99,102,241,0.30);
    color: #fff;
}
.modal-premium-btn-danger {
    background: rgba(220,38,38,0.15);
    color: #fca5a5;
    border: 1px solid rgba(220,38,38,0.40);
}
.modal-premium-btn-danger:hover {
    background: rgba(220,38,38,0.30);
    color: #fff;
}

/* === 5. FIX TOPBAR ACTUALIZAR OVERLAP === */
.atajos-pos-panel,
[class*="atajos-pos"] { z-index: 90 !important; }
.fab-actualizar,
[class*="fab-update"],
[class*="manolito-update"] { z-index: 110 !important; }
.topbar-right-tools {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ============================================================================
   V9.0 :: tanda-v90-pos-premium-real
   Clase aplicable DIRECTAMENTE al <input> sin necesidad de wrapper.
   Usada en los 4 buscadores principales del POS.
============================================================================ */
.inp.inp-premium,
input.inp-premium {
    background: linear-gradient(135deg, rgba(20,23,29,0.95), rgba(15,18,24,0.92)) !important;
    border: 1.5px solid rgba(99,102,241,0.20) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.20) !important;
}
.inp.inp-premium::placeholder,
input.inp-premium::placeholder {
    color: #64748b !important;
    font-weight: 400;
}
.inp.inp-premium:focus,
input.inp-premium:focus {
    outline: none !important;
    border-color: #a78bfa !important;
    box-shadow: 0 0 0 3px rgba(167,139,250,0.18), 0 6px 22px rgba(99,102,241,0.20) !important;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(20,23,29,0.95)) !important;
}
.inp.inp-premium:hover:not(:focus),
input.inp-premium:hover:not(:focus) {
    border-color: rgba(99,102,241,0.40) !important;
}

/* ============================================================================
   V9.0 :: tanda-v90-pos-premium-real - panel recomendaciones premium
   Mejora visual del panel .recs-cli existente del POS sin tocar HTML.
============================================================================ */
.recs-cli {
    background: linear-gradient(135deg, rgba(20,23,29,0.94), rgba(15,18,24,0.92));
    border: 1px solid rgba(99,102,241,0.16);
    border-radius: 13px;
    padding: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    margin-top: 8px;
}
.recs-cli .recs-tabs {
    display: flex;
    gap: 6px;
    padding: 3px;
    background: rgba(0,0,0,0.30);
    border-radius: 9px;
    margin-bottom: 8px;
}
.recs-cli .recs-tab {
    flex: 1;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 7px;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    text-align: center;
}
.recs-cli .recs-tab:hover {
    color: #cbd5e1;
    background: rgba(255,255,255,0.04);
}
.recs-cli .recs-tab.on {
    background: linear-gradient(135deg, rgba(99,102,241,0.20), rgba(124,58,237,0.16));
    color: #fff;
    box-shadow: 0 2px 6px rgba(99,102,241,0.20), inset 0 0 0 1px rgba(167,139,250,0.40);
}
.recs-cli .rec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.16s;
}
.recs-cli .rec-item:hover {
    background: rgba(99,102,241,0.10);
    border-color: rgba(99,102,241,0.30);
    transform: translateX(2px);
}
.recs-cli .rec-nom {
    flex: 1;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 500;
}
.recs-cli .rec-pre {
    color: #3ecf8e;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.recs-cli .rec-veces {
    background: rgba(99,102,241,0.18);
    color: #a78bfa;
    border: 1px solid rgba(167,139,250,0.30);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    flex-shrink: 0;
}

/* ============================================================================
   V11.0 :: tanda-v110-plan-manolito-premium
   Look premium aplicado al modal Plan Manolito existente SIN tocar HTML.
   Preserva 100% de funcionalidad (8 features: form adhesión, validación tel.
   argentino, chequeo duplicados, búsqueda Manolito existente, 3 motivos
   rechazo, resolución contextual, etc.) - SOLO mejora visual.
============================================================================ */

/* --- MODAL CONTAINER --- */
.modal-manolito {
    background: linear-gradient(135deg, rgba(15,18,24,0.98), rgba(20,23,29,0.96)) !important;
    border: 1.5px solid rgba(99,102,241,0.22) !important;
    border-radius: 18px !important;
    box-shadow: 0 28px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(167,139,250,0.10) !important;
    padding: 22px !important;
    max-width: 720px !important;
}

/* --- HEADER --- */
.modal-manolito .manolito-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #fbbf24 50%, #3ecf8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.4px;
}
.modal-manolito .manolito-close {
    background: rgba(220,38,38,0.16);
    color: #fca5a5;
    border: 1px solid rgba(220,38,38,0.32);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.16s;
    -webkit-text-fill-color: #fca5a5;
}
.modal-manolito .manolito-close:hover {
    background: rgba(220,38,38,0.32);
    color: #fff;
    transform: scale(1.05) rotate(90deg);
}

/* --- SPEECH --- */
.modal-manolito .manolito-speech {
    background: linear-gradient(135deg, rgba(99,102,241,0.10), rgba(124,58,237,0.06));
    border-left: 3px solid #a78bfa;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.55;
    font-style: italic;
}

/* --- BOTONES PRINCIPALES (QUIERO SUMARME / NO ME INTERESA) --- */
.modal-manolito .btn-manolito {
    flex: 1;
    padding: 18px 20px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 4px 14px rgba(0,0,0,0.20) !important;
}
.modal-manolito .btn-manolito-new {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    border: none !important;
}
.modal-manolito .btn-manolito-new:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(16,185,129,0.40) !important;
    background: linear-gradient(135deg, #14d399, #10b981) !important;
}
.modal-manolito .btn-manolito-no {
    background: linear-gradient(135deg, rgba(220,38,38,0.20), rgba(153,27,27,0.18)) !important;
    color: #fca5a5 !important;
    border: 1.5px solid rgba(220,38,38,0.45) !important;
}
.modal-manolito .btn-manolito-no:hover {
    background: linear-gradient(135deg, rgba(220,38,38,0.32), rgba(153,27,27,0.28)) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(220,38,38,0.30) !important;
}
.modal-manolito .btn-manolito .small {
    font-size: 11.5px;
    font-weight: 500;
    opacity: 0.75;
    margin-top: 4px;
    display: block;
}

/* --- OPCIONES (grid 2 cols + DNI directo arriba) --- */
.modal-manolito .manolito-opciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* --- FORM ADHESIÓN --- */
.modal-manolito .manolito-form h4,
.modal-manolito .manolito-rechazo h4 {
    color: #e5e7eb;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.modal-manolito .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.modal-manolito .fld {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.modal-manolito .fld label {
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.modal-manolito .fld .inp {
    background: rgba(0,0,0,0.32) !important;
    border: 1.5px solid rgba(99,102,241,0.20) !important;
    border-radius: 9px !important;
    padding: 10px 12px !important;
    font-size: 13.5px !important;
    color: #fff !important;
    transition: all 0.18s !important;
}
.modal-manolito .fld .inp:focus {
    outline: none !important;
    border-color: #a78bfa !important;
    box-shadow: 0 0 0 3px rgba(167,139,250,0.18) !important;
    background: rgba(99,102,241,0.06) !important;
}

/* --- DUPLICADOS BLOCK --- */
.modal-manolito .dup-block {
    background: linear-gradient(135deg, rgba(245,166,35,0.10), rgba(20,23,29,0.50));
    border: 1.5px solid rgba(245,166,35,0.30);
    border-radius: 12px;
    padding: 14px;
    margin: 14px 0;
}
.modal-manolito .dup-head {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.modal-manolito .dup-item {
    background: rgba(0,0,0,0.30);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-left: 3px solid rgba(255,255,255,0.10);
}
.modal-manolito .dup-item.sev-ok { border-left-color: #10b981; }
.modal-manolito .dup-item.sev-hi { border-left-color: #ef4444; }
.modal-manolito .dup-item.sev-lo { border-left-color: #fbbf24; }
.modal-manolito .dup-exp {
    color: #cbd5e1;
    font-size: 12.5px;
    margin-bottom: 4px;
}
.modal-manolito .dup-cli {
    color: #fff;
    font-size: 13px;
    margin-bottom: 8px;
}
.modal-manolito .dup-cta-completar {
    width: 100%;
    margin-top: 8px;
    padding: 11px 14px !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.18s;
}
.modal-manolito .dup-cta-completar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16,185,129,0.30);
}

/* --- DNI DIRECTO BUSCADOR (header verde "YA SOY MANOLITO") --- */
.modal-manolito .manolito-dni-directo {
    background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(20,23,29,0.85)) !important;
    border: 1.5px solid rgba(16,185,129,0.45) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    grid-column: 1 / -1 !important;
}
.modal-manolito .dni-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: linear-gradient(135deg, rgba(15,18,24,0.98), rgba(20,23,29,0.96));
    border: 1.5px solid rgba(99,102,241,0.30);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.50);
    padding: 6px;
    z-index: 100;
    max-height: 380px;
    overflow-y: auto;
}
.modal-manolito .dni-dd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.16s;
}
.modal-manolito .dni-dd-item:hover {
    background: rgba(99,102,241,0.16);
    transform: translateX(2px);
}
.modal-manolito .dni-dd-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.modal-manolito .dni-dd-nombre {
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
}
.modal-manolito .dni-dd-meta {
    display: flex;
    gap: 8px;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11.5px;
}
.modal-manolito .dni-dd-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #422006;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 800;
}
.modal-manolito .dni-dd-loading,
.modal-manolito .dni-dd-empty {
    padding: 14px;
    text-align: center;
    color: #64748b;
    font-size: 12.5px;
    font-style: italic;
}

/* --- RECHAZO --- */
.modal-manolito .manolito-rechazo .rech-opts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.modal-manolito .manolito-rechazo .rech-opts .btn {
    text-align: left;
    padding: 12px 14px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1.5px solid rgba(255,255,255,0.08) !important;
    border-radius: 9px !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.18s !important;
}
.modal-manolito .manolito-rechazo .rech-opts .btn:hover {
    background: rgba(220,38,38,0.12) !important;
    border-color: rgba(220,38,38,0.40) !important;
    color: #fca5a5 !important;
    transform: translateX(2px) !important;
}

/* --- FORM ACTIONS --- */
.modal-manolito .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.modal-manolito .form-actions .btn {
    flex: 1;
}
