﻿body {
    background: black !important;
}

hr {
    border-color: #426391 !important;
}

.card.border-secondary {
    box-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078, 0 0 4rem #0453c054;
}

.border-secondary {
    --bs-border-opacity: 1;
    border-color: #0453c0 !important;
    border:none!important;
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #1bf79b;
    border-color: #1bf79b;
    box-shadow:none!important;
}

.btn-primary, .btn-outline-primary {
    box-shadow: none!important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0453c0;
    --bs-btn-border-color: #0453c0;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0453c0;
    --bs-btn-hover-border-color: #0453c0;
    --bs-btn-focus-shadow-rgb: 133, 94, 202;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0453c0;
    --bs-btn-active-border-color: #0453c0;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0453c0;
    --bs-btn-disabled-border-color: #0453c0;
}

.table-dark {
    --bs-table-bg: #002455;
    --bs-table-striped-bg: #144e7d;
}

.form-check-input:checked {
    background-color: #0453c0;
    border-color: #0453c0;
}


.form-check-input {
    --bs-form-check-bg: #0453c0b3;
    background-color: var(--bs-form-check-bg);
}

.navbar.bg-primary {
    box-shadow: 0 0 2px #0453c0d9, 0 0 4px #0453c09e, 0 0 1rem #0453c073, 0 0 4rem #0453c026;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #0453c0 !important;
}

.navbar {
    background-color: #000021 !important;
    /*border: 1px solid #474747 !important;*/
    border: 1px solid #2a3a5e !important; 
    box-shadow: none !important;
    border-left:none!important;
}

.card-link{
    color:white!important;
}

    .card-link:hover {
        color: #1bf79b !important;
    }

.form-check-label{
    color:white
}


.card-header{
   /* background-color: rgb(24 26 83 / 96%);*/
}

.Stats {
    background-color: #568ab9!important;
}

.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
    background-color: #0453c0 !important;
    color: white !important;
}

.dropdown-menu-dark {
    /*border: 1px solid #474747 !important;*/
    border: 1px solid #2a3a5e !important;
    border-radius: 8px!important;
    --bs-dropdown-bg: #000030 !important;
}

.offcanvas {
    --bs-offcanvas-bg: #010114;
}

/*.form-control {
    background-color: #0453c0!important;
}*/

.input-group-text {
    background-color: #033881!important;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0453c0;
    --bs-btn-border-color: #0453bf;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #034195;
    --bs-btn-hover-border-color: #054297;
    --bs-btn-focus-shadow-rgb: 237, 87, 195;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #054297;
    --bs-btn-active-border-color: #054297;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0453c0;
    --bs-btn-disabled-border-color: #0453c0;
    /*text-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078, 0 0 4rem #0453c054;*/
}

.btn-secondary, .btn-outline-secondary {
    box-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078, 0 0 4rem #0453c054;
}

.dropdown-menu {
    --bs-dropdown-bg: #000030;
}

.form-label {
    color: white !important;
    text-shadow: none;
}

.dropdown-item{
    color:white!important
}

h3,h2,h1,h4{
    color:white!important;
    text-shadow:none!important;
}

.navNeonBlue {
    text-shadow: none !important;
    border: none;
    background: #000030 !important;
    color: white !important;
}

    .navNeonBlue.active {
        border: 1px solid !important;
        border-bottom: none !important;
        border-color: #8282e3 #8282e3 transparent !important;
        border-radius: 5px 5px 0px 0px !important;
        background: #000030 !important;
        color: white !important;
    }

.panelNeonBlue {
    padding-top: 10px !important;
    border: 1px solid #8282e3 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.modal {
    --bs-modal-bg: #000030;
}

.modal-content {
    box-shadow: 0 0 2rem rgb(76 93 191), 0 0 8rem rgb(85 128 199);
}

.form-control, modalNeon {
    background-color: #4281d7 /*#538bd7*/ !important;
}

.ul{

}

.accordion {
    --bs-accordion-bg: #000030;
}

.list-group-item {
    background-color: #0453c042;
}

.accordion-item .accordion-button:not(.collapsed) {
    background-color: #104373;
}

.accordion-item .accordion-button {
    background-color: #104373;
}

.accordion-body {
    background: linear-gradient(to top, #000031, #000000) !important
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: #000030 !important;
}



/*.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: var(--bs-table-striped-color) !important;
    --bs-table-bg-type: var(--bs-table-striped-bg) !important;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-color-state: var(--bs-table-hover-color) !important;
    --bs-table-bg-state: var(--bs-table-hover-bg) !important;
}

.table > :not(caption) > * > * {
    padding: 0.2rem 0.2rem !important;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color))) !important;
    background-color: var(--bs-table-bg) !important;*/
    /*background-color: rgb(24 26 83 / 96%)!important;*/
    /*border-bottom-width: var(--bs-border-width) !important;
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg))) !important;
}*/

.dt-search {
    color: white !important;
}

.dt-length {
    color: white !important;
}

#dt-length-0 {
    background-color: #538bd7;
}

.dt-button{
    color:white!important
}

.page-link {
    --bs-pagination-color: white!important;
}

.page-item.active .page-link {
    box-shadow: 0 0 2px #0453c090, 0 0 4px #0453c040, 0 0 1rem #0453c030, 0 0 4rem #0453c010!important;
}


.form-group {
    color: white !important;
}

dt{
    color:white!important;
}

dd{
    color:white!important;
}

.dt-info{
    color:white!important
}

.card-footer {
    background-color: rgb(255 255 255 / 0%);
}

img {
    margin-top: 0px!important;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: #587bc9;
}

.btn-chiquito {
    font-size: 12px !important;
    padding: 1px 4px 1px 4px;
}

p{
    color:white!important;
}

i {
    text-shadow: 0 0 2px black;
}

.scrollable-content::-webkit-scrollbar {
    width: 7px;
    height: 12px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #011945;
    border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #4070c9;
    border-radius: 10px;
}

    .scrollable-content::-webkit-scrollbar-thumb:hover {
        background: #4270c7;
    }

/*.card-body {*/
    /*background: linear-gradient(to top, #11113d, black) !important;*/
    /*background: linear-gradient(to top, #02024b, black) !important;*/
    /*background: linear-gradient(to top, #010129, black) !important;
}*/

/*.card:not(#second .card) {
    background: linear-gradient(to top, #010129, black, black) !important;
}*/

/* Por esto: */
.card-body:not(#second .card-body) {
    background: #00000000 !important;
}

.card{
    padding:0px;
}


/* =================================
   ESTILOS PARA TABLAS - TEMA NEON BLUE
   ================================= */

/* Definir las variables CSS de Bootstrap para el tema oscuro */
:root {
    --bs-table-bg: #080c1f;
    --bs-table-color: #aeb9d8;
    --bs-table-hover-bg: #10162F;
    --bs-table-hover-color: #ffffff;
    --bs-table-striped-bg: #0a0e20;
    --bs-table-striped-color: #aeb9d8;
    --bs-table-accent-bg: transparent;
    --bs-table-bg-state: transparent;
    --bs-table-bg-type: transparent;
    --bs-border-color: #1a2040;
}

/* Estilo base para todas las tablas */
.table {
    background-color: transparent !important;
    border: none !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
}

    /* Cabecera de tablas */
    .table > thead > tr > th {
        background-color: #10162F !important;
        box-shadow: inset 0 0 0 9999px #10162F !important;
        border: 1px solid #2a3a5e !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
        padding: 12px !important;
        border-bottom: 2px solid #2a3a5e !important;
    }

    /* Celdas del cuerpo de la tabla */
    .table > tbody > tr > td {
        background-color: #080c1f !important;
        box-shadow: inset 0 0 0 9999px #080c1f !important;
        border: 1px solid #1a2040 !important;
        color: #aeb9d8 !important;
        padding: 10px !important;
        vertical-align: middle !important;
    }

/* Filas alternadas (striped) */
.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: #0a0e20 !important;
    box-shadow: inset 0 0 0 9999px #0a0e20 !important;
}

/* Efecto hover */
.table-hover > tbody > tr:hover > td {
    background-color: #10162F !important;
    box-shadow: inset 0 0 0 9999px #10162F !important;
}

/* Asegurar que el hover funcione también en filas striped */
.table-striped.table-hover > tbody > tr:nth-of-type(odd):hover > td {
    background-color: #10162F !important;
    box-shadow: inset 0 0 0 9999px #10162F !important;
}

/* Estilo especial para la primera columna (datos importantes) */
.table > tbody > tr > td:first-child {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Mantener el estilo existente para compatibilidad */
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: var(--bs-table-striped-color) !important;
    --bs-table-bg-type: var(--bs-table-striped-bg) !important;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-color-state: var(--bs-table-hover-color) !important;
    --bs-table-bg-state: var(--bs-table-hover-bg) !important;
}

.table > :not(caption) > * > * {
    padding: 0.2rem 0.2rem !important;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color))) !important;
    background-color: var(--bs-table-bg) !important;
    border-bottom-width: var(--bs-border-width) !important;
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg))) !important;
}

/* Estilos para botones dentro de tablas */
.table .btn-outline-primary {
    background-color: #2a3a5e !important;
    border: 1px solid #3b507e !important;
    color: #ffffff !important;
    font-size: 12px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

    .table .btn-outline-primary:hover {
        background-color: #3b507e !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transform: translateY(-1px) !important;
    }

/* Estilos para botones dentro de tablas */
.table .btn-outline-info {
    background-color: #2a3a5e !important;
    border: 1px solid #3b507e !important;
    color: #ffffff !important;
    font-size: 12px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

    .table .btn-outline-info:hover {
        background-color: #3b507e !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transform: translateY(-1px) !important;
    }


/* Estilos para tablas pequeñas */
.table-sm > :not(caption) > * > * {
    padding: 0.15rem 0.15rem !important;
}

/* Estilos para tablas oscuras (si usas .table-dark) */
.table-dark {
    --bs-table-bg: #080c1f;
    --bs-table-color: #aeb9d8;
}


/* =================================
   ESTILOS PARA FORMULARIOS - TEMA NEON BLUE
   ================================= */

/* Contenedor principal del formulario */
.form-horizontal {
    background-color: #080c1f;
    border: 1px solid #2a3a5e;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

    .form-horizontal h4 {
        color: #ffffff !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        font-size: 18px !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #2a3a5e !important;
    }

    .form-horizontal hr {
        border-color: #2a3a5e !important;
        opacity: 0.5;
    }

/* Grupos de formulario */
.form-group {
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

    /* Labels */
    .form-group .control-label {
        color: #aeb9d8 !important;
        font-weight: 500 !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }

/* Inputs y controles de formulario */
.form-control {
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    /*padding: 10px 12px !important;*/
    transition: all 0.2s ease-in-out !important;
}

    .form-control:focus {
        background-color: #1a2040 !important;
        border-color: #0453c0 !important;
        box-shadow: 0 0 0 0.2rem rgba(4, 83, 192, 0.25) !important;
        color: #ffffff !important;
    }

    .form-control::placeholder {
        color: #6c7293 !important;
    }

/* Mensajes de validación */
.text-danger {
    color: #dc3545 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

.field-validation-error {
    color: #dc3545 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

.validation-summary-errors {
    background-color: #2d1b1b !important;
    border: 1px solid #dc3545 !important;
    border-radius: 6px !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
}

    .validation-summary-errors ul {
        margin: 0 !important;
        padding-left: 20px !important;
    }

    .validation-summary-errors li {
        color: #dc3545 !important;
        font-size: 14px !important;
    }

/* Botones en formularios */
.form-horizontal .btn {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
}

.form-horizontal .btn-primary {
    background-color: #0453c0 !important;
    border-color: #0453c0 !important;
    color: #ffffff !important;
    box-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078, 0 0 4rem #0453c054 !important;
}

    .form-horizontal .btn-primary:hover {
        background-color: #034195 !important;
        border-color: #034195 !important;
        transform: translateY(-1px) !important;
    }

.form-horizontal .btn-outline-info {
    background-color: #2a3a5e !important;
    border: 1px solid #3b507e !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

    .form-horizontal .btn-outline-info:hover {
        background-color: #3b507e !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transform: translateY(-1px) !important;
    }

/* Checkboxes y radio buttons */
.form-check {
    padding-left: 1.5rem !important;
    margin-bottom: 10px !important;
}

.form-check-input {
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    margin-top: 0.25rem !important;
}

    .form-check-input:checked {
        background-color: #0453c0 !important;
        border-color: #0453c0 !important;
    }

.form-check-label {
    color: #aeb9d8 !important;
    font-weight: 400 !important;
}

/* Select dropdowns */
.form-select {
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 10px 12px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
}

    .form-select:focus {
        background-color: #1a2040 !important;
        border-color: #0453c0 !important;
        box-shadow: 0 0 0 0.2rem rgba(4, 83, 192, 0.25) !important;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }

        .form-group .control-label {
            text-align: left !important;
            margin-bottom: 8px !important;
        }

    .form-horizontal .btn {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
}


/* =================================
   MEJORAS PARA COMPONENTES EXISTENTES
   ================================= */

/* Mejorar modales para que sean consistentes */
.modal-content {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
}

.modal-header {
    background-color: #10162F !important;
    border-bottom: 1px solid #2a3a5e !important;
}

.modal-footer {
    background-color: #10162F !important;
    border-top: 1px solid #2a3a5e !important;
}

/* Mejorar acordeones */
.accordion-item {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
}

    .accordion-item .accordion-button {
        background-color: #10162F !important;
        color: #ffffff !important;
        border: none !important;
    }

        .accordion-item .accordion-button:not(.collapsed) {
            background-color: #0453c0 !important;
            color: #ffffff !important;
        }

.accordion-body {
    background-color: #080c1f !important;
    color: #aeb9d8 !important;
}

/* Mejorar list-group */
.list-group-item {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    color: #aeb9d8 !important;
}

    .list-group-item.active {
        background-color: #0453c0 !important;
        border-color: #0453c0 !important;
    }

/* Mejorar paginación */
.pagination {
    --bs-pagination-bg: #10162F;
    --bs-pagination-border-color: #2a3a5e;
    --bs-pagination-hover-bg: #1a2040;
    --bs-pagination-hover-border-color: #0453c0;
    --bs-pagination-focus-bg: #1a2040;
    --bs-pagination-focus-border-color: #0453c0;
    --bs-pagination-active-bg: #0453c0;
    --bs-pagination-active-border-color: #0453c0;
    --bs-pagination-disabled-bg: #080c1f;
    --bs-pagination-disabled-border-color: #2a3a5e;
}

/* Mejorar alerts */
.alert {
    border-radius: 8px !important;
    border: 1px solid #2a3a5e !important;
}

.alert-primary {
    background-color: #0453c0 !important;
    color: #ffffff !important;
    border-color: #0453c0 !important;
}

.alert-secondary {
    background-color: #2a3a5e !important;
    color: #ffffff !important;
    border-color: #2a3a5e !important;
}

.alert-success {
    background-color: #1bf79b !important;
    color: #000000 !important;
    border-color: #1bf79b !important;
}

.alert-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}

/* Mejorar badges */
.badge {
    background-color: #0453c0 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

    .badge.bg-secondary {
        background-color: #2a3a5e !important;
    }

    .badge.bg-success {
        background-color: #1bf79b !important;
        color: #000000 !important;
    }

    .badge.bg-danger {
        background-color: #dc3545 !important;
    }

/* Mejorar progress bars */
.progress {
    background-color: #10162F !important;
    border-radius: 6px !important;
    border: 1px solid #2a3a5e !important;
}

.progress-bar {
    background-color: #0453c0 !important;
}

/* Mejorar tooltips */
.tooltip .tooltip-inner {
    background-color: #10162F !important;
    color: #ffffff !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 6px !important;
}

/* Mejorar popovers */
.popover {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
}

.popover-header {
    background-color: #10162F !important;
    color: #ffffff !important;
    border-bottom: 1px solid #2a3a5e !important;
}

.popover-body {
    color: #aeb9d8 !important;
}

/* Mejorar breadcrumbs */
.breadcrumb {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
}

.breadcrumb-item {
    color: #aeb9d8 !important;
}

    .breadcrumb-item.active {
        color: #ffffff !important;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        color: #aeb9d8 !important;
    }


/* =================================
   ESTILOS PARA DROPDOWNS Y BOTONES MEJORADOS
   ================================= */

/* Botones Primary Mejorados */
/*.btn-primary {
    background-color: #0453c0 !important;
    border: 1px solid #0453c0 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078, 0 0 4rem #0453c054 !important;
}

    .btn-primary:hover {
        background-color: #034195 !important;
        border-color: #034195 !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 0 3px #0453c0d4, 0 0 6px #0453c0ad, 0 0 1.5rem #0453c078, 0 0 5rem #0453c054 !important;
    }

    .btn-primary:focus {
        background-color: #034195 !important;
        border-color: #034195 !important;
        color: #ffffff !important;
        box-shadow: 0 0 0 0.2rem rgba(4, 83, 192, 0.25) !important;
    }

    .btn-primary:active {
        background-color: #023470 !important;
        border-color: #023470 !important;
        transform: translateY(0) !important;
    }*/
/* Botones Secondary Mejorados */
.btn-primary {
    background-color: #2a3a5e !important;
    border: 1px solid #3b507e !important;
    color: #ffffff !important;
    /*padding: 8px 16px !important;*/
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow:none!important;
}

.btn-primary:hover {
    background-color: #3b507e !important;
    border-color: #4a5f8e !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

    .btn-primary:focus {
        background-color: #3b507e !important;
        border-color: #0453c0 !important;
        color: #ffffff !important;
        box-shadow: 0 0 0 0.2rem rgba(4, 83, 192, 0.25) !important;
    }

/* Botones Secondary Mejorados */
.btn-secondary {
    background-color: #2a3a5e !important;
    border: 1px solid #3b507e !important;
    color: #ffffff !important;
    /*padding: 8px 16px !important;*/
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: none !important;
}

    .btn-secondary:hover {
        background-color: #3b507e !important;
        border-color: #4a5f8e !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
    }

    .btn-secondary:focus {
        background-color: #3b507e !important;
        border-color: #0453c0 !important;
        color: #ffffff !important;
        box-shadow: 0 0 0 0.2rem rgba(4, 83, 192, 0.25) !important;
    }

/* Botones Outline Mejorados */
.btn-outline-primary {
    background-color: transparent !important;
    border: 1px solid #0453c0 !important;
    color: #0453c0 !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
}

    .btn-outline-primary:hover {
        background-color: #0453c0 !important;
        border-color: #0453c0 !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
    }

.btn-outline-secondary {
    background-color: transparent !important;
    border: 1px solid #2a3a5e !important;
    color: #2a3a5e !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease-in-out !important;
}

    .btn-outline-secondary:hover {
        background-color: #2a3a5e !important;
        border-color: #2a3a5e !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
    }

/* Botones de diferentes tamaños */
.btn-sm {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.btn-lg {
    padding: 12px 24px !important;
    font-size: 16px !important;
}

/* Grupos de botones */
.btn-group .btn {
    margin-right: 0 !important;
}

    .btn-group .btn:not(:first-child) {
        border-left: none !important;
    }

    .btn-group .btn:hover {
        z-index: 2 !important;
    }

/* Botones deshabilitados */
.btn:disabled,
.btn.disabled {
    background-color: #1a2040 !important;
    border-color: #2a3a5e !important;
    color: #6c7293 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Efectos especiales para botones importantes */
.btn-primary.btn-glow {
    box-shadow: 0 0 5px #0453c0d4, 0 0 10px #0453c0ad, 0 0 2rem #0453c078, 0 0 6rem #0453c054 !important;
}

    .btn-primary.btn-glow:hover {
        box-shadow: 0 0 8px #0453c0d4, 0 0 15px #0453c0ad, 0 0 3rem #0453c078, 0 0 8rem #0453c054 !important;
    }


/* =================================
   BOTONES OUTLINE-DANGER (SIN PADDING EXTRA)
   ================================= */

.btn-outline-danger {
    background-color: transparent !important;
    border: 1px solid #dc3545 !important;
    color: #dc3545 !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 0.3s ease-in-out !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.3) !important;
}

    .btn-outline-danger::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent) !important;
        transition: left 0.5s !important;
    }

    .btn-outline-danger:hover::before {
        left: 100% !important;
    }

    .btn-outline-danger:hover {
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
        color: #ffffff !important;
        transform: translateY(-1px) scale(1.02) !important;
        box-shadow: 0 0 5px rgba(220, 53, 69, 0.5), 0 0 10px rgba(220, 53, 69, 0.3), 0 0 20px rgba(220, 53, 69, 0.2), 0 4px 15px rgba(220, 53, 69, 0.3) !important;
    }

    .btn-outline-danger:focus {
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
        color: #ffffff !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25), 0 0 5px rgba(220, 53, 69, 0.5), 0 0 10px rgba(220, 53, 69, 0.3) !important;
    }

    .btn-outline-danger:active {
        background-color: #bb2d3b !important;
        border-color: #bb2d3b !important;
        color: #ffffff !important;
        transform: translateY(0) scale(0.98) !important;
        box-shadow: 0 0 3px rgba(220, 53, 69, 0.5), 0 2px 8px rgba(220, 53, 69, 0.3) !important;
    }

    /* Botón outline-danger deshabilitado */
    .btn-outline-danger:disabled,
    .btn-outline-danger.disabled {
        background-color: transparent !important;
        border-color: #6c7293 !important;
        color: #6c7293 !important;
        cursor: not-allowed !important;
        transform: none !important;
        box-shadow: none !important;
    }

        .btn-outline-danger:disabled::before,
        .btn-outline-danger.disabled::before {
            display: none !important;
        }



/* =================================
   ESTILOS PARA CARDS MULTIMEDIA - TEMA NEON BLUE
   ================================= */

/* Contenedor principal del segundo panel */
#second {
    background-color: transparent !important;
}

    /* Estilos base para todas las cards del panel multimedia */
    #second .card {
        background-color: #080c1f !important;
        border: 1px solid #2a3a5e !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    /* Headers de las cards */
    #second .card-header {
        background-color: #10162F !important;
        border-bottom: 1px solid #2a3a5e !important;
        color: #738bab !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    /* Cuerpo de las cards */
    #second .card-body {
        background-color: #080c1f !important;
        color: #ffffff !important;
    }

/* Estilo específico para la card del calendario */
.calCard {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

    .calCard .card-body {
        background-color: #080c1f !important;
        color: #ffffff !important;
    }

    /* Iconos del calendario */
    .calCard .fa-caret-left,
    .calCard .fa-caret-right {
        color: #738bab !important;
        transition: color 0.3s ease-in-out !important;
    }

        .calCard .fa-caret-left:hover,
        .calCard .fa-caret-right:hover {
            color: #0678f5 !important;
        }

    /* Fecha grande del calendario */
    .calCard #fecha {
        color: #738bab !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }

    /* Títulos en las cards */
    .calCard .card-title {
        color: #aeb9d8 !important;
        font-weight: 500 !important;
    }

    .calCard h2 {
        color: #ffffff !important;
        font-weight: 600 !important;
    }

/* Estilos para la sección de noticias */
#noticias-container {
    background-color: #080c1f !important;
    border-radius: 6px !important;
    padding: 10px !important;
}

    #noticias-container h5 {
        color: #aeb9d8 !important;
        font-weight: 500 !important;
        margin-bottom: 8px !important;
        text-shadow:none!important;
    }

    #noticias-container hr {
        border-color: #2a3a5e !important;
        opacity: 0.5 !important;
    }

/* Estilos para los contenedores de video */
#video1 iframe,
#video2 iframe,
#video3 iframe {
    border-radius: 6px !important;
    border: 1px solid #2a3a5e !important;
}

/* Overlay de videos */
.video-overlay {
    background: rgba(8, 12, 31, 0.8) !important;
    border-radius: 6px !important;
    border: 1px solid #2a3a5e !important;
}

    .video-overlay i {
        color: #0453c0 !important;
        font-size: 24px !important;
        text-shadow: 0 0 5px rgba(4, 83, 192, 0.5) !important;
    }

    .video-overlay:hover {
        background: rgba(8, 12, 31, 0.6) !important;
    }

        .video-overlay:hover i {
            color: #0678f5 !important;
            transform: scale(1.1) !important;
            transition: all 0.3s ease-in-out !important;
        }

/* Estilos para texto de trades */
#texto2 p,
#texto3 p {
    color: #aeb9d8 !important;
    line-height: 1.4 !important;
}

/* Estilos para mensajes de contenido no cargado */
#second .text-center h2,
#second .text-center h3 {
    color: #6c7293 !important;
    font-weight: 400 !important;
}

/* Mejoras para las imágenes del logo */
#second img[alt="No hay noticias"],
#second img[alt="Descripción de la imagen"] {
    opacity: 0.8 !important;
    transition: opacity 0.3s ease-in-out !important;
}

    #second img[alt="No hay noticias"]:hover {
        opacity: 1 !important;
    }

/* Estilos para el scrollable content */
.scrollable-content {
    background-color: transparent !important;
}

    .scrollable-content p {
        color: #aeb9d8 !important;
    }

/* Mejoras para el input oculto del datepicker */
#datepicker {
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    color: #ffffff !important;
}

/* Responsive adjustments para estas cards */
@media (max-width: 768px) {
    #second .col-4,
    #second .col-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    #second .row.h-50 {
        height: auto !important;
        margin-bottom: 20px !important;
    }

    .calCard #fecha {
        font-size: 80px !important;
    }
}

/* Estilo específico para la estructura de filas con altura fija */
#second .row.h-100 {
    margin: 0 !important;
}

#second .row.h-50 {
    /*margin: 0 !important;*/
}

/* Mejoras adicionales para el contenido multimedia */
.embed-responsive {
    border-radius: 6px !important;
    overflow: hidden !important;
}

.embed-responsive-item {
    border-radius: 6px !important;
}


/* =================================
   ESTILOS PARA JOURNAL - TEMA NEON BLUE
   ================================= */

/* Contenedor principal del Journal */
#innerDiv {
    background-color: transparent !important;
    color: #ffffff !important;
}

    #innerDiv h2 {
        color: #ffffff !important;
        text-shadow: 0 0 5px rgba(4, 83, 192, 0.5) !important;
        font-weight: 600 !important;
    }

    /* Estilos para todas las cards del Journal */
    #innerDiv .card {
        background-color: #080c1f !important;
        border: 1px solid #2a3a5e !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    /* Headers de las cards */
    #innerDiv .card-header {
        background-color: #10162F !important;
        border-bottom: 1px solid #2a3a5e !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    /* Cuerpo de las cards */
    #innerDiv .card-body {
        background-color: #080c1f !important;
        color: #ffffff !important;
    }

    /* Footer de las cards */
    #innerDiv .card-footer {
        background-color: #10162F !important;
        border-top: 1px solid #2a3a5e !important;
        color: #aeb9d8 !important;
    }

    /* Estilos para el Plan de Trading */
    #innerDiv .list-group-item {
        background-color: #10162F !important;
        border: none!important; 
        color: #aeb9d8 !important;
    }

    #innerDiv .badge {
        background-color: #0453c0 !important;
        color: #ffffff !important;
        border-radius: 50px !important;
        padding: 4px 8px !important;
    }

/* Estilos para las listas de plan */
.liMarph {
    background: transparent !important;
    border: none!important; 
    margin-bottom: 3px !important;
}

/* Estilos para los checkboxes */
#innerDiv .form-check-input {
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    margin-top: 0.25rem !important;
}

    #innerDiv .form-check-input:checked {
        background-color: #0453c0 !important;
        border-color: #0453c0 !important;
    }

#innerDiv .form-check-label {
    color: #aeb9d8 !important;
    font-weight: 400 !important;
}

/* Estilos para los textos del plan */
.textLista {
    color: #aeb9d8 !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

/* Estilos para los links */
#innerDiv .card-link {
    color: #0453c0 !important;
    text-decoration: none !important;
}

    #innerDiv .card-link:hover {
        color: #0678f5 !important;
    }

/* Estilos para las imágenes */
#innerDiv img {
    border-radius: 6px !important;
    opacity: 0.9 !important;
}

/* Estilos para los Stats */
.Stats {
    display: flex !important;
    align-items: center !important;
    margin: 10px !important;
    padding: 10px !important;
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
}

    .Stats i {
        margin-right: 10px !important;
    }

    .Stats .content {
        display: flex !important;
        flex-direction: column !important;
    }

    .Stats .text {
        font-size: 12px !important;
        color: #aeb9d8 !important;
        margin-bottom: 2px !important;
    }

    .Stats .number {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
    }

/* Estilos para los paneles flotantes */
.floating-panel,
.floating-panelDer {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    box-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078 !important;
}

    .floating-panel h5,
    .floating-panelDer h5 {
        color: #ffffff !important;
        font-weight: 600 !important;
        text-align: center !important;
    }

    .floating-panel .list-group-item,
    .floating-panelDer .list-group-item {
        background-color: #10162F !important;
        border: 1px solid #2a3a5e !important;
        color: #aeb9d8 !important;
        margin-bottom: 2px !important;
    }

/* Estilos para los botones flotantes */
.floating-btn-der,
.floating-btn-izq {
    background: linear-gradient(135deg, #0453c0 0%, #0362d9 50%, #0453c0 100%) !important;
    border: 1px solid #0453c0 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 0 5px #0453c0d4, 0 0 10px #0453c0ad !important;
}

    .floating-btn-der:hover,
    .floating-btn-izq:hover {
        background: linear-gradient(135deg, #0362d9 0%, #0453c0 50%, #0678f5 100%) !important;
        transform: translateY(-2px) !important;
    }

/* Estilos para el calendario */
.calendar {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    box-shadow: none!important;
}

/* Estilos para el modal */
#editarModal .modal-content {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
}

#editarModal .modal-header {
    background-color: #10162F !important;
    border-bottom: 1px solid #2a3a5e !important;
    color: #ffffff !important;
}

#editarModal .modal-title {
    color: #ffffff !important;
}

#editarModal .modal-body {
    background-color: #080c1f !important;
    color: #ffffff !important;
}

#editarModal .modal-footer {
    background-color: #10162F !important;
    border-top: 1px solid #2a3a5e !important;
}

/* Textarea del modal */
.modalNeon {
    background-color: #10162F !important;
    border: 1px solid #2a3a5e !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

    .modalNeon:focus {
        background-color: #1a2040 !important;
        border-color: #0453c0 !important;
        box-shadow: 0 0 0 0.2rem rgba(4, 83, 192, 0.25) !important;
    }

/* Estilos para el scrollable content */
.scrollable-content {
    background-color: transparent !important;
    border-radius: 6px !important;
}

    .scrollable-content::-webkit-scrollbar {
        width: 6px !important;
    }

    .scrollable-content::-webkit-scrollbar-track {
        background: #10162F !important;
        border-radius: 3px !important;
    }

    .scrollable-content::-webkit-scrollbar-thumb {
        background: #2a3a5e !important;
        border-radius: 3px !important;
    }

        .scrollable-content::-webkit-scrollbar-thumb:hover {
            background: #0453c0 !important;
        }

/* Estilos para el modal de loading */
.loading-modal {
    background-color: rgba(8, 12, 31, 0.9) !important;
}

.loading-content {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #innerDiv .col-3,
    #innerDiv .col-6,
    #innerDiv .col-9 {
        margin-bottom: 15px !important;
    }

    .floating-panel,
    .floating-panelDer {
        width: 120px !important;
        font-size: 12px !important;
    }

    .Stats {
        margin: 5px !important;
        padding: 8px !important;
    }
}


/* =================================
   ESTILOS PARA CARDS DE MÉTRICAS - TEMA NEON BLUE
   ================================= */

.metric-info-card {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    border-radius: 8px !important;
    /*box-shadow: 0 0 2px #0453c0d4, 0 0 4px #0453c0ad, 0 0 1rem #0453c078, 0 0 4rem #0453c054 !important;*/
    color: #ffffff !important;
    padding: 20px 15px !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease-in-out !important;
}

    .metric-info-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 0 8px #0453c0d4, 0 0 15px #0453c0ad, 0 0 30px #0453c078, 0 0 60px #0453c054, 0 6px 20px rgba(4, 83, 192, 0.4) !important;
        border-color: #0453c0 !important;
    }

    .metric-info-card .metric-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #aeb9d8 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .metric-info-card .metric-content {
        font-size: 25px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }

        .metric-info-card .metric-content i {
            color: #0453c0 !important;
            text-shadow: 0 0 5px rgba(4, 83, 192, 0.6) !important;
            font-size: 28px !important;
        }

        .metric-info-card .metric-content a {
            color: #ffffff !important;
            text-decoration: none !important;
            font-weight: 700 !important;
            text-shadow: 0 0 3px rgba(255, 255, 255, 0.3) !important;
        }

            .metric-info-card .metric-content a.positive {
                color: #1bf79b !important;
                text-shadow: 0 0 5px rgba(27, 247, 155, 0.5) !important;
            }

            .metric-info-card .metric-content a.negative {
                color: #dc3545 !important;
                text-shadow: 0 0 5px rgba(220, 53, 69, 0.5) !important;
            }

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .metric-info-card {
        padding: 15px 10px !important;
        margin-bottom: 10px !important;
    }

        .metric-info-card .metric-title {
            font-size: 16px !important;
            margin-bottom: 10px !important;
        }

        .metric-info-card .metric-content {
            font-size: 20px !important;
            gap: 8px !important;
        }

            .metric-info-card .metric-content i {
                font-size: 22px !important;
            }
}



.card.border-info {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    box-shadow:none!important;
}

.card.border-danger {
    background-color: #080c1f !important;
    border: 1px solid #2a3a5e !important;
    box-shadow: none !important;
}


.CardtareaNoHecha {
    background-color: #510c0c9c !important;
}