.set-nav-dark:not([data-bs-theme="dark"]) .app-header .app-logo::before, 
.set-nav-dark:not([data-bs-theme="dark"]) .app-sidebar .app-logo::before
.set-nav-dark:not([data-bs-theme="dark"]) .app-sidebar .app-logo::before.app-header {
  background: #2557a9 !important;
  color: #fff;
}

.set-nav-dark:not([data-bs-theme="dark"]) .app-header .app-logo {
  background-image: none;
  background-color: #2557a9;
}

.set-nav-dark:not([data-bs-theme="dark"]) .app-sidebar {
    background-color: #2557a9 !important;
}

a.app-logo,
.bg-green h4 {
    color: #fff !important;
}

.bg-green,
.nav-pills .nav-link.active  {
    background-color: #84bd00 !important;
}

.bg-green-50 {
  background-color: #84bd0087 !important;
  color: #fff !important;
}

.text-green {
    color: #84bd00;
}

[data-bs-theme="dark"] .apexcharts-tooltip.apexcharts-theme-light {
  border: 1px solid #505050;
  background: #505050;
}

.apexcharts-xaxis-label,
.apexcharts-yaxis-label,
.apexcharts-yaxis-title-text {
    fill: #505050;
}

.apexcharts-legend-text {
    color: #505050 !important;
}

[data-bs-theme="dark"] .apexcharts-grid-borders line,
[data-bs-theme="dark"] .apexcharts-grid-borders,
.apexcharts-xaxis-tick {
    stroke: #505050 !important;
}

#tbl-prijsgrafieken {
    border-color: transparent !important;  
}

#tbl-prijsgrafieken td {
    background-color: transparent !important;
}

.energy-product-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.energy-product-card.active {
    background: #84bd00;
    color: #fff;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.energy-product-card.active .product-name,
.energy-product-card.active .product-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.4) !important;
}

.energy-product-card.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.energy-product-card-small {
    padding: 8px;
    min-height: 80px;
    cursor: pointer;
    /*border: 1px solid #84bd00 !important;*/
    border-radius: 6px;
    transition: all 0.2s ease;
}

.energy-product-card-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.energy-product-card-small.active {
    border-color: #84bd00 !important;
}

.energy-product-card-small.active .product-name-small {
    color: #fff !important;
}

.energy-product-card-small.active .product-market-small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.product-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}

.product-icon-small i {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.product-name-small {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2px;
    /*color: #495057;*/
}

.product-market-small {
    font-size: 9px;
    text-align: center;
    line-height: 1.1;
}

#main-chart .apexcharts-svg {
    background: transparent !important;
}

.sa-icon.sa-big {
    --sa-icon-size: 2.25rem;
}

.pagination {
  --bs-pagination-active-bg: #84bd00;
  --bs-pagination-active-bg: #84bd00;
  --bs-pagination-active-border-color: #84bd00;
}

/* Terminal Output Styles */
.terminal-output {
    background-color: #1e1e1e;
    color: #f0f0f0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
    padding: 15px;
    height: 400px;
    overflow-y: auto;
    border-radius: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terminal-line {
    margin-bottom: 2px;
    min-height: 18px;
}

.terminal-prompt {
    color: #00ff00;
    font-weight: bold;
    margin-right: 5px;
}

.terminal-text {
    color: #f0f0f0;
}

.terminal-text.info {
    color: #00bfff;
}

.terminal-text.success {
    color: #00ff00;
}

.terminal-text.error {
    color: #ff4444;
}

.terminal-text.warning {
    color: #ffaa00;
}

.terminal-text.command {
    color: #ff00ff;
    font-style: italic;
}

/* Terminal scrollbar styling */
.terminal-output::-webkit-scrollbar {
    width: 8px;
}

.terminal-output::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.terminal-output::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.terminal-output::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Terminal header buttons */
.panel-heading .btn {
    margin-left: 5px;
}

/* Status indicators */
.terminal-status-running {
    color: #00bfff;
}

.terminal-status-success {
    color: #00ff00;
}

.terminal-status-error {
    color: #ff4444;
}

/* Dynamic flash message styles */
.dynamic-flash-message {
    animation: slideDown 0.5s ease-out;
    z-index: 1000;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dynamic-flash-message .close {
    font-size: 18px;
    opacity: 0.7;
}

.dynamic-flash-message .close:hover {
    opacity: 1;
}

/* Swagger UI Custom Styling */
.swagger-ui .wrapper {
  max-width: none;
  padding: none;
}

.swagger-ui .scheme-container {
    border: 1px solid var(--bs-card-border-color) !important;
    background: var(--app-panel-bg);
    margin: 20px;
}
/*.swagger-ui .opblock-body pre.microlight {
    background: var(--app-panel-bg) !important;
}*/

.swagger-ui .servers-title {
    margin-bottom: 5px;
}

.swagger-ui,
.swagger-ui .opblock-tag,
.swagger-ui .info .title,
.swagger-ui .info p,
.swagger-ui a.nostyle, .swagger-ui a.nostyle:visited,
.swagger-ui .servers-title,
.swagger-ui .opblock-body pre.microlight,
.swagger-ui .opblock-description-wrapper p,
.swagger-ui .renderedMarkdown p,
.swagger-ui .parameter__name,
.swagger-ui .opblock .opblock-summary-description,
.swagger-ui .authorization__btn .unlocked,
.swagger-ui .parameter__type,
.swagger-ui .prop-format,
.swagger-ui .response-col_status,
.swagger-ui .response-col_description,
.swagger-ui .response-col_links,
.swagger-ui .response-control-media-type__title,
.swagger-ui .tab li,
.swagger-ui .tab li button.tablinks,
.swagger-ui table thead tr th,
.download-url-input,
.swagger-ui code {
  color: var(--bs-body-color);
}

.swagger-ui .tab li:first-of-type::after {
    background: var(--bs-body-color);
}

.swagger-ui .expand-operation svg,
.swagger-ui .authorization__btn svg,
.swagger-ui .opblock-control-arrow svg {
    fill: var(--bs-body-color) !important;
}