/* ------------------------------------------ */
/* Estilos Generales */
/* ------------------------------------------ */
:root {
    --symbols-height: 350px;
    --popup-width: 600px;
    --popup-height: 500px;
    --table-width: 100%;
    --column-date-width: 15%;
    --column-company-width: 15%;
    --column-news-width: 50%;
    --column-report-width: 10%;
    --column-chart-width: 10%;
    --main-font: 'prompt', sans-serif;
    --header-font-size: 1.5em;
    --table-font-size: 1.1em;
    --calendar-font: 'prompt', sans-serif;
    --popup-input-font: 'prompt', sans-serif;
    --popup-input-font-size: 1.5em;
    --popup-input-color: rgba(105, 105, 105, 1);
    --popup-message-font-size: 0.75rem;
    --popup-message-font: 'prompt', sans-serif;
    --collapsed-height: 30px;
    --date-picker-width: 300px;
    --date-picker-font-size: 1em;
    --date-picker-bg: #000000ff;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    height: 100%;
}

.page {
    display: flex;
    height: 100vh;
    width: 100%;
}

.container {
    max-width: 1411px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo-image {
    width: 250px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.img-chart {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    align-items: center;
}

.img-report {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin-left: 3rem;
    align-items: center;
}

main {
    width: 100%;
}

.dashboard-container {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    overflow-y: auto;
}

.section {
    background: #000000ff;
    border-radius: 8px; 
    margin-bottom: 0px;
    padding: 0px;
    transition: max-height 0.3s ease;
    width: 100%;
    height: 100%;
}

.section.collapsed {
    max-height: var(--collapsed-height);
}

.section-header {
    display: flex;
    justify-content: left;
    gap: 10px;
    align-items: center;
    margin-bottom: 0px;
}

.section-header h2 {
    margin-left: 1rem;
    padding: 0px;
    font-size: var(--header-font-size);
    color: #ffcd06ff;
}

.toggle-btn {
    background: rgb(185, 188, 187);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--main-font);
}

.add-btn {
    background: rgb(233, 160, 14);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: var(--main-font);
    margin-right: 20px;
}

.calendar-btn {
    background: rgba(0, 0, 0, 1);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 1.3em;
    font-family: var(--main-font);
}

.button {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    text-align: center;
    transition: all 0.3s ease;
}

.button.settings {
    color: #1E1D16FF;
    background: #FFDD32FF;
    border: 1px solid #DEE1E6FF;
    cursor: pointer;
}


.button.logout {
    color: #1E1D16FF;
    background: #FFDD32FF;
    border: 1px solid #DEE1E6FF;
    cursor: pointer;
}

.button.add {
    color: #1E1D16FF;
    background: #FFDD32FF;
    border: none;
    cursor: pointer;
}

.note-content {
    background-color: #000000ff;
    display: flex;
    align-items: center;
    gap: 0px;
    margin-top: 15px;
    height: 30px;
}

.note-item {
    gap: 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #fb4f4fff;
}

.note-item:hover {
    color: #2bc400ff;
    text-decoration: none;
}

.header {
    width: 100%;
    border-radius: 6px;
    padding: 0px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-right: 20px;
    padding-left: 20px;
}

.header-menu-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-right: 20px;
}

.header-menu {
    display: flex;
    gap: 20px;
}

.header-menu-item {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 22px;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 25px;
    border-radius: 12.5px;
    background-color: #5D6168FF;
    transition: background-color 0.3s ease;
}

.theme-toggle .indicator {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #FFDD32FF;
    transition: transform 0.3s ease;
}

.theme-toggle.light-mode .indicator {
    transform: translateX(25px);
}

.theme-toggle-icon {
    width: 25px;
    height: 25px;
    background: transparent;
    margin: 0 0px;
}

.moon-icon {
    display: block;
}

.sun-icon {
    display: none;
}

body.light-mode .moon-icon {
    display: none;
}

body.light-mode .sun-icon {
    display: block;
}



.sidebar {
    width: 20%;
    min-width: 300px;
    max-width: 300px;
    padding: 40px 20px;
    box-sizing: border-box;
    display: fixed;
    flex-direction: column;
    gap: 40px;
}

.sidebar-logo {
    padding: 0px 0px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

.sidebar-line {
    width: 100%;
    border: 0.5px solid;
    color: #ccccccff;
}

body.light-mode .sidebar-line {
    color: #ccccccff;
}

.sidebar-menu-header {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    font-weight: bold;
}

.sidebar-menu-lastdate {
    font-size: 14px;
    letter-spacing: 1px;
    padding: 0px;
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-menu-item svg {
    width: 20px;
    height: 20px;
}

.sidebar-menu-item-text {
    font-size: 16px;
    font-weight: 500;
}

.sidebar-menu-item:hover {
    background-color: #1e4fcaff;
    color: #ffffffff;
    cursor: pointer;
}


.menu-icon {
    color: #ffffff;
}
 
.menu-icon path {
    fill: currentColor;
}

.main-content {
    flex-grow: 1;
    padding: 0px 20px;
    box-sizing: border-box;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.content-title {
    font-family: 'Prompt', sans-serif;
    font-size: 32px;
    font-weight: 700;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-block {
    background-color: #141414ff;
    border-radius: 8px;
    min-height: 200px;
    padding: 60px;
    display: flex;
    align-items: top;
    justify-content: center;
    color: #9095A0;
}

.content-block-settings {
    background-color: #141414ff;
    border-radius: 8px;
    min-height: 200px;
    width: 95%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: #9095A0;
    gap: 24px; /* Más espacio entre campos para elegancia */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fuente profesional; opcional */
}



/* ------------------------------------------ */
/* Estilos de la Watchlist */
/* ------------------------------------------ */
.watchlist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 10px;
}

.watchlist-section-1 {
    grid-area: 1 / 1 / 2 / 3;
    background-color: rgb(84, 84, 84);
    border-radius: 0px;
    min-height: 0px;
    padding: 0px;
    gap: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    height: 55px;
}

.watchlist-section-2 {
    grid-area: 2 / 1 / 3 / 2;
    background-color: #000000;
    border-radius: 0px;
    min-height: 0px;
    padding: 0px;
    gap: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    height: 450px;
}

.watchlist-section-2-table {
    background: #0f0f0fff;
    border-radius: 20px;
    box-shadow: 2px 4px 5px rgba(64, 63, 63, 0.1);
    margin-bottom: 0px;
    padding: 0px;
    margin-top: 0px;
    width: 100%;
    height: 450px;
}

.watchlist-section-3 {
    grid-area: 2 / 2 / 3 / 3;
    background-color: #070707ff;
    border-radius: 20px;
    box-shadow: 2px 4px 5px rgba(64, 63, 63, 0.1);
    min-height: 450px;
    padding: 0px;
    gap: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    height: 450px;
}

.watchlist-section-4 {
    grid-area: 3 / 1 / 4 / 3;
    background-color: #000000ff;
    border-radius: 0px; 
    min-height: 0px;
    padding: 0px;
    gap: 20px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.watchlist-section-5 {
    grid-area: 0 / 0 / 0 / 0;
    background-color: #070707ff;
    border-radius: 0px;
    min-height: 0px;
    padding: 0px;
    gap: 20px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.watchlist-section-6 {
    grid-area: 4 / 1 / 5 / 3;
    background-color: #db4b4bff;
    border-radius: 0px;
    min-height: 20px;
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    height: 50px;
    width: 100%;
}

.tr-section-header {
    margin-top: 20px;
    padding: 0px;
    height: 2rem;
}

.tr-section-symbols {
    border-radius: 20px;
    margin-bottom: 20px;
    padding: 0px;
    z-index: 1000;
    width: 100%;
    height: var(--symbols-height);
    max-width: 80vw;
    max-height: 90vh;
    overflow-y: auto;
}

.td-section-symbols {
    margin-bottom: 0px;
    padding: 0px;
    display: flex;
    align-items: top;
    justify-content: left;
    width: 100%;
    max-width: 70vw;
    max-height: calc(var(--symbols-height) - 100px);
    overflow-y: auto;
}

.symbols-table {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.symbol-btn {
    background: rgba(51, 51, 51, 1);
    color: rgba(255, 255, 255, 1);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--table-font-size);
    font-family: var(--main-font);
}

.remove-btn { 
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.mark2flw-btn  {  
    border: none;
    width: 24px;
    height: 24px; 
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; 
}
.mark2flw-btn.active {
    background: #00ac0b;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}


/* ------------------------------------------ */
/* Estilos del Popup */
/* ------------------------------------------ */
.popup {
    display: none;
    position: fixed;
    top: 40%;
    left: 75%;
    transform: translate(-50%, -50%);
    background: rgb(228, 228, 228);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 1 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    width: var(--popup-width);
    height: var(--popup-height);
    max-width: 100vw;
    max-height: 90vh;
    overflow-y: auto;
}

.popup input {
    width: 95%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--popup-input-font);
    font-size: var(--popup-input-font-size);
    color: var(--popup-input-color);
}

.popup-message {
    color: #000000ff;
    padding: 5px;
    text-align: right;
    font-family: var(--popup-message-font);
    font-size: var(--popup-message-font-size);
}

.suggestions {
    max-height: calc(var(--popup-height) - 100px);
    overflow-y: auto;
    border: 1px solid #fffdfdff;
    border-radius: 4px;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    font-size: var(--table-font-size);
    font-family: var(--main-font);
}

.suggestion-item:hover {
    background: #ffb219ff;
}

/* ------------------------------------------ */
/* Estilos de la Tabla de Catalizadores */
/* ------------------------------------------ */
.catalyst-table {
    color: #cacacaff;
    width: var(--table-width);
    border-collapse: collapse;
    margin-top: 10px;
    font-family: var(--main-font);
    font-size: 18px;
}

.catalyst-table th , .catalyst-table td {
    padding: 10px;
    text-align: left;
    font-size: var(--table-font-size);
}
.col-center{
    padding: 10px;
    text-align: center;
    font-size: var(--table-font-size);
}

.catalyst-table th {
    background: rgba(79, 79, 79, 1);
    font-weight: bold;
}

.catalyst-table th:nth-child(1), .catalyst-table td:nth-child(1) {
    width: var(--column-date-width);
}

.catalyst-table th:nth-child(2), .catalyst-table td:nth-child(2) {
    width: var(--column-company-width);
}

.catalyst-table th:nth-child(3), .catalyst-table td:nth-child(3) {
    width: var(--column-news-width);
}

.catalyst-table th:nth-child(4), .catalyst-table td:nth-child(4) {
    width: var(--column-report-width);
    white-space: nowrap;
}

.catalyst-table th:nth-child(5), .catalyst-table td:nth-child(5) {
    width: var(--column-chart-width);
    white-space: nowrap;
}

.catalyst-table a {
    color: #cacacaff;
    text-decoration: none;
}

.catalyst-table a:hover {
    color: #007bff;
}

/* ------------------------------------------ */
/* Estilos del Calendario y Date Picker */
/* ------------------------------------------ */
.flatpickr-calendar {
    font-family: var(--calendar-font);
}

.date-picker {
    width: var(--date-picker-width);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding-right: 40px;
    font-family: var(--main-font);
    font-size: var(--date-picker-font-size);
    color: var(--popup-input-color);
    background: var(--date-picker-bg);
    box-sizing: border-box;
}

.calendar-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.clear-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* ------------------------------------------ */
/* Estilos del Bloque de Noticias en Tiempo Real */
/* ------------------------------------------ */
.real-time-prs-block {
    background-color: #2D2F34;
    border-radius: 10px;
    min-height: auto;
    padding: 20px;
    display: block;
}

.prs-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.prs-controls .control-group {
    display: flex;
    align-items: center;
    background-color: #171A1F;
    padding: 10px 15px;
    border-radius: 8px;
    color: #C1C6C8;
    position: relative;
    font-family: 'Inter', sans-serif;
    flex-grow: 0;
    max-width: 150px;
}

.prs-controls .control-group .flatpickr-input {
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 0;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    width: 100%;
}

.prs-controls .control-group .flatpickr-calendar {
    background-color: #171A1F;
    border: 1px solid #383A3F;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prs-controls .control-group .flatpickr-current-month,
.prs-controls .control-group .flatpickr-day,
.prs-controls .control-group .flatpickr-month {
    color: #C1C6C8;
}

.prs-controls .control-group i {
    color: #C1C6C8;
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
}

.prs-controls .icon-button {
    background-color: #171A1F;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prs-controls .icon-button:hover {
    background-color: #383A3F;
}

.prs-controls .icon-button svg,
.prs-controls .icon-button i {
    color: #C1C6C8;
    font-size: 16px;
}


.real-time-prs-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.real-time-prs-menu-item svg {
    width: 20px;
    height: 20px;
}

.real-time-prs-menu-item-text {
    font-size: 16px;
    font-weight: 500;
}


.real-time-prs-menu-item:hover {
    background-color: #1e4fcaff;
    color: #ffffffff;
}



.news-card-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.news-card {
    background-color: #171A1F;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-card .date-time {
    font-size: 12px;
    color: #C1C6C8;
}

.news-card .news-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 5px;
}

.news-card .news-content {
    font-size: 14px;
    color: #C1C6C8;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-card .card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.news-card .view-button {
    background-color: #FFDD32;
    color: #171A1F;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.news-card .view-button:hover {
    text-decoration: none;
}

.news-card .custom-html-section {
    border-top: 1px solid #383A3F;
    padding-top: 10px;
    margin-top: 10px;
}

/* ------------------------------------------ */
/* Estilos de Catalizadores Potenciales y Configuración */
/* ------------------------------------------ */
.potential-catalysts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.potential-catalysts-block-1 {
    background-color: #141414ff;
    box-shadow: 2px 4px 5px rgba(64, 63, 63, 0.1);
    border-radius: 20px;
    min-height: 400px;
    padding: 0px;
    align-items: justify;
    color: #9095A0;
}

.potential-catalysts-block-2 {
    background-color: #141414ff;
    border-radius: 20px;
    min-height: 150px;
    padding: 0px;
    align-items: justify;
    color: #9095A0;
}


.settings-block {
    background-color: #141414ff;
    border-radius: 10px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
}

/* Nuevos estilos para los campos */
.field-item {
    width: 97%;
    padding: 16px 20px;
    background-color: #1a1a1aff; /* Fondo sutil más oscuro para cada campo */
    border-radius: 6px;
    border-left: 4px solid #333; /* Borde lateral para acento */
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background-color 0.2s ease; /* Suave hover */
}

.field-item:hover {
    background-color: #222222ff;
}

.field-label {
    font-weight: bold;
    color: #ffffff; /* Blanco para resaltar etiquetas */
    font-size: 1.1em;
    margin-bottom: 4px;
}

.field-value {
    color: #9095A0;
    font-size: 1em;
    margin-left: 8px; /* Indentación ligera para el valor */
}

.form-field-value {
    color: #9095A0;
    font-size: 1em;
    margin-left: 8px; /* Indentación ligera para el valor */
    width:250px;
}

/* Para sub-elementos como botones */
.field-sub {
    margin-top: 8px;
    margin-left: 20px; /* Indentación para botones/enlaces */
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


/* ------------------------------------------ */
/* Estilos de Paginación */
/* ------------------------------------------ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    padding: 10px 0;
    font-family: 'prompt', sans-serif;
    font-size: 14px;
    color: #C1C6C8;
    gap: 10px;
}

.pagination button {
    background-color: #FFDD32FF;
    color: #171A1FFF;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination button:disabled {
    background-color: #383A3F;
    color: #9095A0FF;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background-color: #beaf0dff;
}

.pagination select {
    background-color: #171A1F;
    color: #FFFFFF;
    border: 1px solid #383A3F;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

.pagination span {
    color: #FFDD32FF;
}

/* ------------------------------------------ */
/* Estilos del Modal de Informe */
/* ------------------------------------------ */
.informe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start; /* Cambiado a flex-start para empezar desde arriba y permitir scroll */
    overflow-y: auto; /* Activa scroll en el modal completo */
    padding: 0px 0; /* Padding vertical para espacio arriba/abajo */
    box-sizing: border-box; /* Incluye padding en el tamaño */
}

.modal-content {
    background-color: #141414;
    width: 60%;
    height: auto; /* Auto para adaptarse al contenido */
    min-height: 80vh; /* Mínimo para pantallas pequeñas */
    border-radius: 8px;
    position: relative;
    overflow-y: visible; /* Permite que el contenido desborde si es necesario */
}

.modal-content.modal-maximizado {
    width: 100%;
    height: auto; /* Auto para maximizado */
    min-height: 100vh; /* Llena la altura */
    border-radius: 0;
}

.modal-content iframe {
    width: 100%;
    height: calc(100vh - 60px); /* Ocupa la altura completa del viewport */
    min-height: 600px; /* Mínimo para evitar corte */
    border: none;
    display: block; /* Elimina espacios extra */
}


.header-button {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 10px;
    padding: 10px 0;
    position: sticky; /* Fija el header arriba */
    top: 0; /* Pegado al top */
    z-index: 10; /* Sobre el iframe */
    background-color: #000000; /* Fondo para que no se vea transparente */
}

/* Ajustes para los botones del modal */
.modal-close-button, .modal-print-button, .modal-maximize-button, .modal-restore-button {
    position: absolute;  
    background: #FFDD32;
    color: #171A1F;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-right: 10px; /* Espacio entre botones */
}

/* Mostrar solo el botón correcto según el estado del modal */
.modal-content.modal-maximizado .modal-maximize-button {
    display: none;
}

.modal-content.modal-maximizado .modal-restore-button {
    display: inline-block;
}
 
 
.modal-close-button {
    top: 10px;
    left: 10px;
}

.modal-print-button {
    top: 10px;
    left: 90px;
}

.modal-maximize-button {
    top: 10px;
    left: 165px;
}

.modal-restore-button {
    top: 10px;
    left: 165px;
    display: none;
}
 



/* ------------------------------------------ */
/* Estilos del Tema Oscuro */
/* ------------------------------------------ */
body {
    background-color: #000000;
    color: #FFFFFF;
}

.sidebar {
    background-color: #111417;
    color: #C1C6C8;
}

.sidebar-menu-item {
    color: #C1C6C8;
}

.sidebar-menu-item.active {
    background-color: #383A3F;
    color: #FFDD32;
}

.real-time-prs-menu-item{
    color: #C1C6C8;
}

.real-time-prs-menu-item.active{
    background-color: #383A3F;
    color: #FFDD32;
}




.header {
    background-color: #000000ff;
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F;
}

.footer {
    background-color: #171A1FFF;
    box-shadow: 0px 0px 1px #171a1f12, 0px 0px 2px #171a1f1F;
}

.header-menu-item {
    color: rgb(255, 255, 255);
}

.hero-section, .divider, .features-section, .stats-section, .subscription-section {
    background-color: #000000;
}

.hero-text, .section-title, .feature-title, .stat-number, .stat-label {
    color: #FFDD32FF;
}

.section-subtitle, .feature-description {
    color: #9095A0FF;
}

/* ------------------------------------------ */
/* Estilos del Tema Claro */
/* ------------------------------------------ */
body.light-mode {
    background-color: rgb(255, 255, 255);
    color: #5b6067ff;
}

body.light-mode .sidebar {
    background-color: #F8F9FA;
    color: #5D6168;
}

body.light-mode .sidebar-menu-item {
    color: #000000ff;
}

body.light-mode .sidebar-menu-item:hover {
    background-color: #1e4fcaff;
    color: #ffffffff;
}

body.light-mode .sidebar-menu-item.active {
    background-color: #E8EBF0;
    color: #171A1F;
}

body.light-mode .menu-icon {
    color: #000000;
}


body.light-mode .header, body.light-mode .footer {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 1px #DEE1E6FF, 0px 0px 2px #DEE1E6FF;
}

body.light-mode .header-menu-item {
    color: #565E6CFF;
}

body.light-mode .note-content {
    background-color: #ffffffff;
}

body.light-mode .note-item {
    color: #fa0303ff;
    text-decoration: none;
}

body.light-mode .note-item:hover {
    color: #2bc400ff;
    text-decoration: none;
}

body.light-mode .hero-section,
body.light-mode .divider,
body.light-mode .features-section,
body.light-mode .stats-section,
body.light-mode .subscription-section {
    background-color: #FFFFFFFF;
}

body.light-mode .hero-text,
body.light-mode .section-title,
body.light-mode .feature-title {
    color: #171A1FFF;
}

body.light-mode .section-subtitle,
body.light-mode .feature-description {
    color: #5D6168FF;
}

body.light-mode .feature-image {
    background-color: #F0F2F5FF;
    color: #9095A0FF;
}

body.light-mode .stats-section {
    box-shadow: 0px 0px 0px #DEE1E6FF, 0px 0px 0px #DEE1E6FF;
}

body.light-mode .stat-number,
body.light-mode .stat-label {
    color: rgb(180, 167, 28);
}

body.light-mode .subscription-section {
    color: #5D6168FF;
}

body.light-mode .footer-menu-item {
    color: #5D616CFF;
}

body.light-mode .footer-social-button {
    border: 1px solid #C2C7D0FF;
    color: #C2C7D0FF;
}

body.light-mode .footer-social-button:hover {
    background-color: #C2C7D0FF;
    color: #FFFFFFFF;
}

body.light-mode .footer-copyright {
    color: #9095A0FF;
}

body.light-mode .footer-contact {
    color: #9095A0FF;
}

body.light-mode .content-block {
    background-color: #f0f0f0ff;
    color: #505153ff;
}

body.light-mode .field-item { 
    background-color: rgb(241, 241, 241); 
}
body.light-mode .field-label { 
    background-color: rgb(241, 241, 241);
    color:#000000;

}body.light-mode .field-value { 
    background-color: rgb(241, 241, 241);
    color:#606060;
}

body.light-mode .field-item:hover {
    background-color: rgb(241, 241, 241);
    color:#000000;
}

body.light-mode .settings-block {
    background-color: #f0f0f0ff;
    color:#000000;
}

body.light-mode .content-block-settings {
    background-color: #f0f0f0ff;
    color:#000000;
}


body.light-mode .watchlist-section-1 {
    background-color: #ffffffff;
    color: rgb(0, 0, 0);
}

body.light-mode .watchlist-section-2 {
    background-color: #ffffffff;
    color: #000000ff;
}

body.light-mode .watchlist-section-3 {
    background-color: #ffffffff;
    color: #000000ff;
}

body.light-mode .watchlist-section-4 {
    background-color: #ffffffff;
    color: #000000ff;
}

body.light-mode .watchlist-section-6 {
    background-color: #ffffffff;
    color: #000000ff;
}

body.light-mode .real-time-prs-block .prs-controls .control-group {
    background-color: #FFFFFF;
}

body.light-mode .real-time-prs-block .prs-controls .control-group .flatpickr-input {
    color: #171A1F;
}

body.light-mode .real-time-prs-block .prs-controls .control-group i {
    color: #5D6168;
}

body.light-mode .real-time-prs-block .prs-controls .icon-button {
    background-color: #FFFFFF;
}

body.light-mode .real-time-prs-block .prs-controls .icon-button:hover {
    background-color: #DEE1E6;
}

body.light-mode .real-time-prs-block .prs-controls .icon-button svg,
body.light-mode .real-time-prs-block .prs-controls .icon-button i {
    color: #5D6168;
}


body.light-mode .real-time-prs-block .prs-controls .real-time-prs-menu-item {
    color: #000000ff;
}

body.light-mode .real-time-prs-block .prs-controls .real-time-prs-menu-item:hover {
    background-color: #1e4fcaff;
    color: #ffffffff;
}

body.light-mode .real-time-prs-block .prs-controls .real-time-prs-menu-item.active {
    background-color: #E8EBF0;
    color: #171A1F;
}


body.light-mode .real-time-prs-block .news-card {
    background-color: #FFFFFF;
}

body.light-mode .real-time-prs-block .news-card .date-time {
    color: #5D6168;
}

body.light-mode .real-time-prs-block .news-card .news-title {
    color: #171A1F;
}

body.light-mode .real-time-prs-block .news-card .news-content {
    color: #5D6168;
}

body.light-mode .real-time-prs-block .news-card .custom-html-section {
    border-top: 1px solid #C2C7D0;
}

body.light-mode .section {
    background: #ffffffff;
}

body.light-mode .catalyst-table {
    color: #4a4a4aff;
}

body.light-mode .catalyst-table a {
    color: #4a4a4aff;
}

body.light-mode .catalyst-table a:hover {
    color: #007bff;
}

body.light-mode .catalyst-table th {
    background: rgb(255, 241, 221);
}

body.light-mode .date-picker {
    color: #000000ff;
    background: #ffffffff;
}

body.light-mode .calendar-btn {
    background: rgb(255, 255, 255);
}

body.light-mode .section-header h2 {
    color: #000000ff;
}



body.light-mode .section .section-header .real-time-prs-menu-item {
    color: #000000ff;
}

body.light-mode .section .section-header .real-time-prs-menu-item:hover {
    background-color: #1e4fcaff;
    color: rgb(255, 255, 255);
}

body.light-mode .section .section-header .real-time-prs-menu-item.active {
    background-color: #E8EBF0;
    color: #171A1F;
}






body.light-mode .watchlist-section-2-table {
    background: #ffffffff;
}

body.light-mode .watchlist-section-2 {
    background: #ffffffff;
}

body.light-mode .symbol-btn {
    background: rgb(235, 236, 237);
    color: rgba(0, 0, 0, 1);
}

body.light-mode .pagination {
    color: #5D6168FF;
}

body.light-mode .pagination button {
    background-color: #FFDD32FF;
    color: #171A1FFF;
}

body.light-mode .pagination button:disabled {
    background-color: #DEE1E6FF;
    color: #9095A0FF;
}

body.light-mode .pagination button:hover:not(:disabled) {
    background-color: #beaf0dff;
}

body.light-mode .pagination select {
    background-color: #FFFFFF;
    color: #171A1FFF;
    border: 1px solid #DEE1E6FF;
}

body.light-mode .pagination span {
    color: #171A1FFF;
}

body.light-mode .informe-modal .modal-content {
    background-color: #FFFFFF;
}


body.light-mode .header-button {
    background-color: #FFFFFF; /* Fondo claro para los botones */
}

/* ------------------------------------------ */
/* Estilos del Interruptor de Seguimiento en el Modal */
/* ------------------------------------------ */
 

.follow-toggle-container {

    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 5px 0;
    position: relative;
    gap: 10px;
    margin-left: 265px;  


}

.follow-toggle-label {
    font-family: 'prompt', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF; /* Blanco para modo oscuro */
    line-height: 25px; /* Alinea verticalmente con el interruptor */
}

.follow-toggle {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 25px;
    border-radius: 12.5px;
    background-color: #5D6168FF; /* Gris por defecto */
    transition: background-color 0.3s ease;
}

.follow-toggle.active {
    background-color: #00ac0b; /* Verde cuando está activo */
}

.follow-toggle .indicator {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #FFDD32FF; /* Amarillo */
    transition: transform 0.3s ease;
}

.follow-toggle.active .indicator {
    transform: translateX(25px);
}


/* Estilos para el modo claro */
body.light-mode .follow-toggle-label {
    color: #171A1FFF; /* Negro para modo claro */
}

body.light-mode .follow-toggle {
    background-color: #DEE1E6FF; /* Gris claro */
}

body.light-mode .follow-toggle.active {
    background-color: #00ac0b; /* Verde igual */
}

body.light-mode .follow-toggle .indicator {
    background: #FFDD32FF; /* Amarillo igual */
}

/* ------------------------------------------ */
/* Media Queries para Diseño Responsivo */
/* ------------------------------------------ */
@media (max-width: 1440px) {
    .logo-image {
        width: 230px;
        height: 90px;
    }
}

@media (max-width: 1366px) {
    .logo-image {
        width: 220px;
        height: 80px;
    }
}

@media (max-width: 1280px) {
    .logo-image {
        width: 200px;
        height: 70px;
    }
}

@media (max-width: 1024px) {
    .logo-image {
        width: 180px;
        height: 60px;
    }
    .page {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        min-width: unset;
        max-width: unset;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 20px 10px;
    }
    .sidebar-menu {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
     

    .sidebar-menu-header {
        display: none;
    }
    .sidebar-menu-item-text {
        display: none;
    }
    .sidebar-menu-item {
        flex-direction: column;
        padding: 10px;
    }

    .real-time-prs-menu-item-text {
        display: none;
    }
    .real-time-prs-menu-item {
        flex-direction: column;
        padding: 10px;
    }

    .main-content {
        padding: 0;
    }
    .prs-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    .prs-controls .control-group {
        max-width: 100%;
    }
    .watchlist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-image {
        width: 160px;
        height: 50px;
    }
    .header-content {
        justify-content: space-between;
        padding-right: 0;
    }
    .header-menu {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo-image {
        width: 140px;
        height: 40px;
    }
    .container {
        padding: 0 10px;
    }
    .content-title {
        font-size: 24px;
    }
    .sidebar {
        padding: 10px 5px;
    }
    .content-block {
        padding: 20px;
    }
}

@media (max-width: 375px) {
    .logo-image {
        width: 120px;
        height: 35px;
    }
    .content-title {
        font-size: 20px;
    }
    .button {
        padding: 6px 12px;
        font-size: 12px;
    }
    .pagination button {
        padding: 6px 12px;
        font-size: 12px;
    }
    .pagination select {
        padding: 6px;
        font-size: 12px;
    }
}