/*
 * Tema 2026 — capa visual sobre el template original.
 *
 * Solo apariencia: color, tipografía, bordes, sombras, proporción de imágenes.
 * No cambia el orden ni la ubicación de los elementos, ids ni comportamiento.
 * Se carga último en cada layout; el <body> lleva tema-sitio / tema-panel / tema-vivo.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --naranja: #ee8800;
    --naranja-hover: #d47800;
    --naranja-claro: #ffb347;
    --naranja-suave: #fff3e2;
    --negro: #121212;
    --negro-2: #1c1c1c;
    --negro-3: #262626;
    --texto: #2b2b2b;
    --texto-suave: #6b6b6b;
    --borde: #e7e4df;
    --fondo: #f5f3ef;
    --blanco: #ffffff;
    --verde: #12a150;
    --rojo: #d64545;
    --radio: 14px;
    --radio-chico: 8px;
    --sombra: 0 1px 2px rgba(20, 20, 20, .05), 0 8px 24px rgba(20, 20, 20, .07);
    --sombra-alta: 0 12px 40px rgba(20, 20, 20, .16);
    --fuente: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --logo-placeholder: url('../images/logo3.jpg');
}

/* ===================================================================
   Base común
   =================================================================== */

body.tema-sitio, body.tema-panel, body.tema-vivo {
    font-family: var(--fuente);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.tema-sitio h1, .tema-sitio h2, .tema-sitio h3, .tema-sitio h4, .tema-sitio h5,
.tema-panel h1, .tema-panel h2, .tema-panel h3, .tema-panel h4,
.tema-vivo h1, .tema-vivo h2, .tema-vivo h3, .tema-vivo h4 {
    font-family: var(--fuente);
    letter-spacing: -0.02em;
}

.tema-sitio .btn, .tema-panel .btn, .tema-vivo .btn {
    font-family: var(--fuente);
    font-weight: 700;
    border-radius: var(--radio-chico);
    letter-spacing: .01em;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.tema-sitio .btn:active, .tema-panel .btn:active, .tema-vivo .btn:active { transform: translateY(1px); }
.tema-sitio .btn:focus, .tema-panel .btn:focus, .tema-vivo .btn:focus { box-shadow: 0 0 0 3px rgba(238, 136, 0, .35); }

.tema-sitio .btn-primary, .tema-panel .btn-primary {
    background: var(--naranja);
    border-color: var(--naranja);
    color: #fff;
    box-shadow: 0 4px 14px rgba(238, 136, 0, .28);
}
.tema-sitio .btn-primary:hover, .tema-panel .btn-primary:hover,
.tema-sitio .btn-primary:focus, .tema-panel .btn-primary:focus {
    background: var(--naranja-hover);
    border-color: var(--naranja-hover);
    color: #fff;
}
.tema-sitio .btn-link { color: var(--naranja-hover); font-weight: 600; }

.tema-sitio .form-control, .tema-panel .form-control, .tema-vivo .form-control,
.tema-panel input[type=text], .tema-panel input[type=number], .tema-panel input[type=nombre] {
    font-family: var(--fuente);
    border: 1.5px solid #dcd8d1;
    border-radius: var(--radio-chico);
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tema-sitio .form-control:focus, .tema-panel .form-control:focus, .tema-vivo .form-control:focus, .tema-panel input:focus {
    border-color: var(--naranja);
    box-shadow: 0 0 0 4px rgba(238, 136, 0, .15);
    outline: none;
}
.tema-sitio label, .tema-panel label { font-weight: 600; color: #3a3a3a; font-size: 14px; }
.tema-sitio .alert, .tema-panel .alert, .tema-vivo .alert { border-radius: var(--radio-chico); border: 0; }

/* ===================================================================
   SITIO PÚBLICO
   =================================================================== */

body.tema-sitio { background: var(--fondo); color: var(--texto); }
.tema-sitio .main-wrapper { background: var(--fondo); }

/* --- Barra superior y menú --- */
.tema-sitio .header-top-area { background: #0b0b0b; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tema-sitio .header-top-area a { font-size: 13px; font-weight: 500; color: #cfcfcf !important; transition: color .15s ease; }
.tema-sitio .header-top-area a:hover { color: var(--naranja) !important; }
.tema-sitio .header-top-area i { color: var(--naranja); }

.tema-sitio .header-area .container {
    background: linear-gradient(180deg, #161616 0%, #101010 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.tema-sitio .mainmenu ul li a {
    font-family: var(--fuente);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .04em;
    position: relative;
    transition: color .15s ease;
}
.tema-sitio .mainmenu > ul > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--naranja);
    transition: left .2s ease, right .2s ease;
}
.tema-sitio .mainmenu ul li a, .tema-sitio .mainmenu ul li a:hover, .tema-sitio .mainmenu ul li a:focus { text-decoration: none !important; }
.tema-sitio .mainmenu > ul > li:hover > a { color: var(--naranja) !important; }
.tema-sitio .mainmenu > ul > li:hover > a::after { left: 16px; right: 16px; }
/* Accesos del admin en el menú */
.tema-sitio .mainmenu a[href$="configs/remateenvivo"], .tema-sitio .mainmenu a[href$="rematelive"] { color: var(--naranja-claro) !important; }

/* Cartel ¡REMATE EN VIVO! */
.tema-sitio header .card[style*="red"] {
    background: linear-gradient(90deg, #b71c1c, #e53935 50%, #b71c1c) !important;
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
}
.tema-sitio header .card[style*="red"] h1, .tema-sitio header .card[style*="red"] h2 { color: #fff !important; font-weight: 900; letter-spacing: .03em; }
.tema-sitio header .card[style*="red"] h1::before { content: '● '; color: #fff; animation: tema-latido 1.2s ease-in-out infinite; }
@keyframes tema-latido { 50% { opacity: .25; } }

/* Cartel próximo remate */
.tema-sitio header + .row .card {
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a) !important;
    border: 0;
    border-radius: 0;
    border-bottom: 3px solid var(--naranja);
}
.tema-sitio header + .row .card h2 { color: #fff !important; font-weight: 800; font-size: 22px; }
.tema-sitio header + .row .card h3 { color: var(--naranja) !important; font-weight: 800; font-size: 16px; letter-spacing: .06em; margin-top: 6px; }

.tema-sitio #in-msjgral { border-radius: 0; background: var(--negro); color: #fff; border-bottom: 3px solid var(--naranja); }
.tema-sitio #in-msjgral .close { color: #fff; opacity: .8; }

/* Título de página sobre el fondo naranja (REMATES, INMUEBLES, nombre del remate) */
.tema-sitio .text-center[style*="#ff9900"] h1 {
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--negro);
    margin-bottom: 4px;
}
.tema-sitio .text-center[style*="#ff9900"] h1::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--negro);
    margin: 14px auto 0;
}
.tema-sitio .text-center[style*="#ff9900"] h2 {
    font-weight: 700;
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(18, 18, 18, .75);
    margin-top: 12px;
}

/* --- Portada --- */
.tema-sitio .provided-block:first-of-type { position: relative; }
.tema-sitio .provided-block h1 {
    font-weight: 900;
    font-size: clamp(30px, 4.6vw, 58px);
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}
.tema-sitio .provided-block h2 {
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--naranja-claro) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.tema-sitio .orange-color-btn {
    border-radius: 999px;
    padding: 14px 30px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .06em;
    margin: 18px 6px 0;
    box-shadow: 0 8px 24px rgba(238, 136, 0, .45);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.tema-sitio .orange-color-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(238, 136, 0, .55); }
/* 2º y 3º botón como secundarios */
.tema-sitio .orange-color-btn ~ .orange-color-btn {
    background: rgba(255, 255, 255, .08) !important;
    border: 2px solid rgba(255, 255, 255, .85);
    color: #fff !important;
    box-shadow: none;
    backdrop-filter: blur(4px);
}
.tema-sitio .orange-color-btn ~ .orange-color-btn:hover { background: #fff !important; color: var(--negro) !important; }

/* "Por qué elegirnos" */
.tema-sitio .why-choose-us-content h3 { font-weight: 900; color: var(--negro); font-size: 28px; }
.tema-sitio .why-choose-us-content p { line-height: 1.8; font-size: 15.5px; color: var(--texto-suave); }
.tema-sitio .wshipping-content-block img[alt=""] { border-radius: var(--radio); box-shadow: var(--sombra-alta); }
.tema-sitio .why-choose-us-icon { font-weight: 700; color: var(--negro); letter-spacing: .03em; }

/* Contadores */
.tema-sitio .count-block { background-color: var(--negro) !important; background-image: none !important; }
.tema-sitio .counter-block {
    background: var(--negro-2) !important;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radio);
    box-shadow: none;
}
.tema-sitio .counter-block p { color: #e9e9e9 !important; font-weight: 700; letter-spacing: .04em; }
.tema-sitio .counter-block .counter { color: var(--naranja) !important; font-weight: 900; }
.tema-sitio .counter-icon { border-radius: 12px; box-shadow: 0 8px 20px rgba(238, 136, 0, .35); }

/* --- Tarjetas de remates --- */
.tema-sitio .single-service-item {
    background: #fff;
    border-radius: var(--radio) !important;
    overflow: hidden;
    box-shadow: var(--sombra) !important;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid var(--borde);
}
.tema-sitio .single-service-item:hover { transform: translateY(-4px); box-shadow: var(--sombra-alta) !important; }
.tema-sitio .single-service-item > div:first-child {
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #1a1a1a var(--logo-placeholder) center / 45% auto no-repeat;
}
.tema-sitio .single-service-item > div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.tema-sitio .single-service-item:hover > div:first-child img { transform: scale(1.04); }
.tema-sitio .service-content { padding: 18px 20px 20px !important; }
.tema-sitio .service-content h4 { margin-bottom: 12px; }
.tema-sitio .service-content h4 a { font-weight: 800; font-size: 17px; color: var(--negro) !important; letter-spacing: -0.01em; line-height: 1.3; }
.tema-sitio .service-content h4 a:hover { color: var(--naranja-hover) !important; }
.tema-sitio .readmore-btn {
    display: inline-block;
    background: var(--negro);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .03em;
    transition: background-color .15s ease;
}
.tema-sitio .readmore-btn:hover { background: var(--naranja); }

/* --- Inmuebles / segunda oportunidad --- */
.tema-sitio .bg-white.border.rounded {
    border-radius: var(--radio) !important;
    border: 1px solid var(--borde) !important;
    box-shadow: var(--sombra) !important;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.tema-sitio .bg-white.border.rounded:hover { box-shadow: var(--sombra-alta) !important; transform: translateY(-3px); }
.tema-sitio .bg-white.border.rounded > .col-lg-12:first-child { background: #1a1a1a var(--logo-placeholder) center / 40% auto no-repeat !important; }
.tema-sitio .bg-white.border.rounded h3 { font-weight: 800; font-size: 19px; color: var(--negro); }
.tema-sitio .bg-white.border.rounded .text-right h3 { color: var(--naranja-hover); font-weight: 900; }

/* --- Detalle de remate (carrusel de lotes) --- */
.tema-sitio .slideshow-container { border-radius: var(--radio); }
.tema-sitio .col-12[style*="background-color: #141414"] { border-radius: 18px !important; box-shadow: var(--sombra-alta); }
.tema-sitio .mySlides .numbertext { font-weight: 800 !important; letter-spacing: .01em; }
.tema-sitio .mySlides .text > div { font-weight: 900; color: #fff; }
.tema-sitio .mySlides img { border-radius: var(--radio-chico); }
.tema-sitio .slideshow-container .prev, .tema-sitio .slideshow-container .next {
    border-radius: 999px;
    background: rgba(0, 0, 0, .7) !important;
    transition: background-color .15s ease;
}
.tema-sitio .slideshow-container .prev:hover, .tema-sitio .slideshow-container .next:hover { background: var(--naranja) !important; }
.tema-sitio .slideshow-container .prev:hover i, .tema-sitio .slideshow-container .next:hover i { color: #fff !important; }
.tema-sitio .dot {
    background-color: var(--negro-3) !important;
    border-radius: 8px !important;
    font-weight: 700;
    transition: background-color .15s ease, transform .15s ease;
}
.tema-sitio .dot:hover { background-color: #444 !important; transform: translateY(-1px); }
.tema-sitio .dot.active { background-color: var(--naranja) !important; }

/* --- Detalle de lote --- */
.tema-sitio .address {
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: var(--sombra-alta);
    background: #fff;
    border: 1px solid var(--borde);
}
.tema-sitio .address h3 { background: var(--negro) !important; color: #fff !important; font-weight: 800; padding: 16px 20px !important; margin: 0; letter-spacing: -0.01em; }
.tema-sitio .address-block { padding: 6px 20px 16px; }
.tema-sitio .address-block li { color: var(--texto); }
.tema-sitio .address-block li strong { color: var(--texto-suave); font-size: 13px !important; letter-spacing: .08em; }

/* --- Formularios (login, registro, mi cuenta, recuperar clave) --- */
.tema-sitio [style*="#e8e8e8"] {
    background: #fff !important;
    border-radius: 18px;
    box-shadow: var(--sombra-alta);
    border: 1px solid var(--borde);
    padding-top: 10px;
    padding-bottom: 10px;
}
.tema-sitio .customer-login-block h2, .tema-sitio .customer-login-block h3 {
    font-weight: 900;
    color: var(--negro);
    letter-spacing: -0.02em;
    border: 0;
}
.tema-sitio .customer-login-block h2::after, .tema-sitio .customer-login-block h3::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: var(--naranja);
    margin-top: 10px;
}
.tema-sitio .customer-login-block .form-control { height: 46px; }
.tema-sitio .customer-login-block .btn-primary { padding: 10px 26px; }

/* Contacto */
.tema-sitio .contact-form { box-shadow: var(--sombra-alta); border-radius: 18px !important; border: 1px solid var(--borde); padding: 26px !important; }
.tema-sitio .contact-form h1 { font-weight: 900; letter-spacing: -0.02em; }
.tema-sitio .contact-form h1::after { content: ''; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--naranja); margin: 12px auto 0; }
.tema-sitio .contact-form textarea { min-height: 120px; }

/* --- Footer --- */
.tema-sitio .site-footer { background: #0e0e0e; }
.tema-sitio .footer-top-area { background: #0e0e0e; border-top: 3px solid var(--naranja); }
.tema-sitio .footer-wiz-title { font-weight: 900; letter-spacing: .08em; font-size: 15px !important; color: var(--naranja) !important; }
.tema-sitio .footer-wiz a, .tema-sitio .footer-wiz a div, .tema-sitio .footer-contact a { color: #d6d6d6 !important; transition: color .15s ease; }
.tema-sitio .footer-wiz a:hover, .tema-sitio .footer-wiz a:hover div { color: #fff !important; }
.tema-sitio .footer-wiz ul[style*="EE8800"] li, .tema-sitio .footer-wiz ul[style*="EE8800"] span { color: #d6d6d6 !important; }
.tema-sitio .footer-bottom-area { background: #070707; border-top: 1px solid rgba(255, 255, 255, .06); }
.tema-sitio .footer-bottom-area span, .tema-sitio .footer-bottom-area a { color: #8a8a8a !important; letter-spacing: .03em; }
.tema-sitio .footer-bottom-area a:hover { color: var(--naranja) !important; }

.tema-sitio .scrollup { border-radius: 999px; box-shadow: var(--sombra-alta); }

/* ===================================================================
   PANEL DE ADMINISTRACIÓN (/configs)
   =================================================================== */

body.tema-panel { background: var(--fondo); color: var(--texto); }
.tema-panel .main-wrapper { background: transparent; }

.tema-panel .row[style*="#ff9900"] { background: var(--negro) !important; box-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.tema-panel .dropdownmenu ul { background: transparent; padding: 0 8px; }
.tema-panel .dropdownmenu a {
    background: transparent;
    color: #cfcfcf;
    font: 600 13.5px/20px var(--fuente);
    padding: 16px 18px;
    border-bottom: 3px solid transparent;
}
.tema-panel .dropdownmenu li:hover a { background: transparent; color: #fff; border-bottom-color: var(--naranja); }
.tema-panel .dropdownmenu li:first-child a { color: var(--naranja); }

.tema-panel h3 { font-weight: 900; color: var(--negro); font-size: 26px; margin-top: 14px; letter-spacing: -0.02em; }

/* Tablas */
.tema-panel .table {
    background: #fff;
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: var(--sombra);
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--borde) !important;
}
.tema-panel .table thead th {
    background: #faf8f5 !important;
    color: var(--texto-suave) !important;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-color: var(--borde) !important;
    border-bottom: 2px solid var(--naranja) !important;
}
.tema-panel .table td { vertical-align: middle; border-color: #f0ede8 !important; color: var(--texto); }
.tema-panel .table tbody tr > * { background-color: #fff !important; }
.tema-panel .table tbody tr:hover > * { background-color: var(--naranja-suave) !important; }

.tema-panel .btn-sm { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; }
.tema-panel .btn-success { background: var(--verde); border-color: var(--verde); }
.tema-panel .btn-danger { background: #fff; border-color: #f0c4c4; color: var(--rojo); }
.tema-panel .btn-danger:hover { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.tema-panel .btn-warning { background: #fff; border-color: #e6d3a8; color: #8a5a00; }
.tema-panel .btn-warning:hover { background: #f2b33d; border-color: #f2b33d; color: #3b2a00; }
.tema-panel .btn-info { background: #fff; border-color: #c4d7f0; color: #2c64b8; }
.tema-panel .btn-info:hover { background: #2c64b8; border-color: #2c64b8; color: #fff; }

.tema-panel .dt-container .dt-search input, .tema-panel .dataTables_filter input {
    border: 1.5px solid #dcd8d1;
    border-radius: 999px;
    padding: 7px 14px;
    background: #fff;
}
.tema-panel .dt-container .dt-paging .dt-paging-button { border-radius: var(--radio-chico) !important; }
.tema-panel .dt-container .dt-paging .dt-paging-button.current,
.tema-panel .dt-container .dt-paging .dt-paging-button.current:hover {
    background: var(--naranja) !important;
    border-color: var(--naranja) !important;
    color: #fff !important;
}
.tema-panel .dt-buttons .dt-button {
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid var(--borde) !important;
    font-family: var(--fuente);
    font-weight: 600;
}

.tema-panel form { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); padding: 20px; border: 1px solid var(--borde); }
.tema-panel table form { background: transparent; box-shadow: none; padding: 0; border: 0; }

/* ===================================================================
   REMATE EN VIVO — solo apariencia. Mismos tamaños, ids y posiciones.
   =================================================================== */

body.tema-vivo {
    background-color: #0f0f0f !important;
    background-image:
        radial-gradient(1200px 500px at 0% 0%, rgba(238, 136, 0, .18), transparent 60%),
        radial-gradient(900px 500px at 100% 100%, rgba(238, 136, 0, .10), transparent 60%);
    background-attachment: fixed;
    color: #eaeaea;
}
.tema-vivo > div[style*="#ee7600"] { background-color: transparent !important; }

/* Encabezado */
.tema-vivo .header-area .container {
    background: rgba(18, 18, 18, .92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}
.tema-vivo .header-area h4 { font-weight: 900; letter-spacing: .02em; }
.tema-vivo .header-area h4::before {
    content: 'EN VIVO';
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
    animation: tema-latido 1.4s ease-in-out infinite;
}
.tema-vivo .header-area .btn { border-radius: 999px; font-weight: 800; }

/* Video */
.tema-vivo .facebook-responsive { box-shadow: 0 16px 40px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .06); }

/* Chat */
.tema-vivo #chat-wrap { border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); border-radius: 14px !important; overflow: hidden; }
.tema-vivo #chat-area {
    border: 0;
    background: #181818 !important;
    color: #e6e6e6;
    font-family: var(--fuente);
    font-size: 14px;
}
.tema-vivo #chat-area p {
    border-bottom: 0;
    margin: 0 0 6px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #222;
    line-height: 1.45;
}
.tema-vivo #chat-area p span {
    background: #333;
    color: #f2f2f2;
    font-weight: 600;
    font-size: 11.5px;
    border-radius: 999px;
    padding: 2px 9px;
}
/* Ofertas destacadas */
.tema-vivo #chat-area p:has(> strong) {
    background: linear-gradient(90deg, rgba(238, 136, 0, .22), rgba(238, 136, 0, .06));
    border-left: 3px solid var(--naranja);
}
.tema-vivo #chat-area strong { color: #fff; font-weight: 800; }
.tema-vivo #chat-area strong span { background: var(--naranja); color: #111; }
.tema-vivo #chat-area span[style*="0275d8"] { background: #2563eb !important; }

/* Mejor oferta */
.tema-vivo [style*="border: 2px solid #007bff"] {
    background: linear-gradient(135deg, #1d1d1d, #141414) !important;
    border: 1px solid rgba(238, 136, 0, .55) !important;
    border-radius: 14px !important;
    box-shadow: 0 0 0 1px rgba(238, 136, 0, .15), 0 12px 32px rgba(238, 136, 0, .18) !important;
}
.tema-vivo [style*="border: 2px solid #007bff"] p { color: #bdbdbd !important; }
.tema-vivo #ofertamaxima { color: var(--naranja) !important; font-weight: 900 !important; font-size: 1.15em; letter-spacing: -0.01em; }
.tema-vivo #usuarioMejorOferta { color: #fff !important; }

/* Ofertar / mensajes (mismos tamaños) */
.tema-vivo #sendieOffer, .tema-vivo #sendie, .tema-vivo #adminSendieOffer {
    background: #fff;
    color: #141414;
    border: 1.5px solid #d5d5d5;
}
.tema-vivo #sendieOffer::placeholder, .tema-vivo #sendie::placeholder { color: #8a8a8a; }
.tema-vivo #sendieOffer { border-color: var(--naranja); font-weight: 700; }
.tema-vivo #sendieOffer:focus { border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(238, 136, 0, .2); }
.tema-vivo .btn-primary { background: #2f2f2f; border-color: #2f2f2f; color: #fff; }
.tema-vivo .btn-primary:hover { background: #3d3d3d; border-color: #3d3d3d; color: #fff; }
.tema-vivo #send-message-area > div:first-child .btn-primary {
    background: var(--naranja);
    border-color: var(--naranja);
    color: #111;
    font-weight: 900;
    letter-spacing: .03em;
    box-shadow: 0 6px 18px rgba(238, 136, 0, .35);
}
.tema-vivo #send-message-area > div:first-child .btn-primary:hover { background: var(--naranja-claro); border-color: var(--naranja-claro); }
.tema-vivo #send-message-area label { color: #bdbdbd !important; font-weight: 500; }

/* Controles del admin */
.tema-vivo #adminSendiePerson + .select2 .select2-selection { background: #fff; border-color: #d5d5d5; }
.tema-vivo #adminSendiePerson + .select2 .select2-selection__rendered { color: #141414; }
.tema-vivo .btn-danger { border-radius: 999px; }

/* Paneles de conexiones y lista de espera */
.tema-vivo [style*="background-color: #f0f0f0"] {
    background: #171717 !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35) !important;
}
.tema-vivo [style*="background-color: #f0f0f0"] h3 { color: #fff !important; border-bottom-color: rgba(255, 255, 255, .1) !important; font-weight: 800; }
.tema-vivo #ulConexiones li, .tema-vivo #ulAccesos li { color: #dcdcdc; border-bottom-color: rgba(255, 255, 255, .07) !important; }
.tema-vivo .btn-default { background: #1f1f1f; border: 1px solid #3a3a3a; color: #eaeaea; font-weight: 600; border-radius: 999px; }
.tema-vivo .btn-default:hover { background: #2a2a2a; color: #fff; }
.tema-vivo #filterInput { background: #fff; color: #141414; border: 1px solid #d5d5d5; border-radius: 999px; padding: 4px 12px; }

/* Sala de espera */
.tema-vivo .lds-spinner { color: var(--naranja); }
.tema-vivo h1, .tema-vivo h2 { color: #fff; }
.tema-vivo .site-footer { background: transparent; }
