﻿body {
    background-color: #348b98;
}

:root {
    --chart-color-1: #123f45;
    --chart-color-2: #16535a;
    --chart-color-3: #1e6e75;
    --chart-color-4: #348b98;
    --chart-color-5: #4da1ad;
    --chart-color-6: #6bb6c1;
    --chart-color-7: #8dccd5;
    --chart-color-8: #aee1e8;
    --chart-color-9: #caedf1;
    --chart-color-10: #dff5f7;
    --chart-color-11: #edf9fa;
    --chart-color-12: #f5fdfd;
    --chart-color-13: #fff3b8;
    --chart-color-14: #fdfbe3;

    --ai-primary-color: #348b98;
    --ai-primary-hover: #21575f;
    --ai-secondary-color: #4da1ad;
    --ai-bg-light: #dae9eb;
    --ai-bg-dark: #cee7eb;
    --ai-text-primary: #1f1f1f;
    --ai-text-secondary: #757575;
    --ai-border-color: #aee1e8;
    --users-accent: #348b98;
    --users-muted-bg: #dff5f7;
    --users-muted-text: #476d72;
    --users-border: #8dccd5;
}

.header-primary {
    color: #348b98;
}

.excel-download {
    color: #FFFFFF !important;
}

.custom-white-button .mud-svg-icon > svg > g > path {
    fill: #348b98 !important;
}

.mud-picker-container .mud-toolbar {
    background-color: #348b98 !important;
}

.mud-picker-calendar .mud-day.mud-range.mud-range-start-selected {
    background-color: #348b98 !important;
}

.mud-picker-calendar .mud-day.mud-range.mud-range-end-selected {
    background-color: #348b98 !important;
}

.mud-picker-calendar .mud-day.mud-range.mud-range-selection:hover:not(.mud-range-start-selected) {
    background-color: #348b98 !important;
}

.mud-button-filled.mud-button-filled-default {
    background-color: #348b98;
}

    .mud-button-filled.mud-button-filled-default:hover {
        background-color: #348b98;
    }
.total-emissions-grouping .grouping-btn.active {
    background-color: #348b98 !important;
    color: #fff;
}

.mud-badge.mud-badge-top.right {
    background: #348b98 !important;
}

.mud-button-filled {
    color: white;
}

.mud-dialog {
    padding: 15px;
}

    .mud-dialog .mud-dialog-title h6 {
        color: #348b98 !important;
        text-transform: capitalize;
        font-size: smaller;
    }

.footer-links .mud-primary-text {
    font-weight: bold !important;
    color: #348b98 !important;
}

.close-button-dialog {
    color: rgb(255 255 255);
    width: 125px;
    padding: 5px 15px;
    background-color: #8bc34a !important;
    border-radius: 25px;
}

    .close-button-dialog :hover {
        color: rgb(255 255 255);
        width: 125px;
        background-color: #8bc34a !important;
        border-radius: 25px;
    }

.mud-elevation-1 {
    box-shadow: unset;
}

.mud-dialog-width-sm {
    max-width: 450px;
}

.pa-3 {
    background-color: #348b980f !important;
    width: 322px;
    justify-self: center;
    border-radius: 40px;
}

.mud-typography-body1 {
    font-size: medium;
    /*  justify-self: center;*/
}

.mud-button-outlined {
    border: unset;
}

.mud-list-item {
    /*border-radius: 25px !important;*/
}

.corporate-side-menu {
    background: #ffffff;
    border: 1px solid #CCC;
}

.mud-main-content-wrapper {
    background: #FFF !important;
    border-radius: 20px 20px 0px 0px !important;
}

.menu-corporate-selector .mud-nav-link {
    background: #31838f;
    transition: all .3s;
}

    .menu-corporate-selector .mud-nav-link:hover,
    .menu-corporate-selector.show-corporate-menu .mud-nav-link {
        background: #1f5b64;
    }

    .menu-corporate-selector .mud-nav-link .mud-nav-link-text {
        color: #FFFFFF;
        transition: all .3s;
    }

    .menu-corporate-selector .mud-nav-link:hover .mud-nav-link-text,
    .menu-corporate-selector.show-corporate-menu .mud-nav-link .mud-nav-link-text {
        color: #FFFFFF;
    }

    .menu-corporate-selector .mud-nav-link .mud-icon-root.mud-svg-icon {
        fill: #FFFFFF;
        transition: all .3s;
    }

    .menu-corporate-selector .mud-nav-link:hover .mud-icon-root.mud-svg-icon,
    .menu-corporate-selector.show-corporate-menu .mud-nav-link .mud-icon-root.mud-svg-icon {
        fill: #FFFFFF;
    }

.search-corporate {
    color: #FFF;
}

    .search-corporate .mud-input-slot {
        color: #348b98;
    }

@-o-keyframes fadeIt {
    0% {
        background-color: unset;
    }

    50% {
        background-color: #348b98;
        border-color: #348b98;
        color: #FFF;
    }

    100% {
        background-color: unset;
    }
}

@keyframes fadeIt {
    0% {
        background-color: unset;
    }

    50% {
        background-color: #348b98;
        border-color: #348b98;
        color: #FFF;
    }

    100% {
        background-color: unset;
    }
}

.topbar {
    background-color: #348b98 !important;
    color: #00522b !important;
}

.company-switcher-main {
    background: #dee2db !important;
}

    .company-switcher-main * {
        color: #00522b !important;
    }

/*.notification-dropdown,
.profile-dropdown {
    background: #dee2db !important;
}*/

.notification-dropdown:hover, .profile-dropdown:hover {
    background-color: #dbded8 !important;
}

.notification-dropdown *,
.profile-dropdown * {
    color: #00522b !important;
}

.notification-icon.mud-svg-icon > svg > g > path,
.profile-icon.mud-svg-icon > svg > g > path {
    fill: #00522b !important;
}

.theme-icon svg {
    fill: #00522b !important;
}

.nav-menu {
    background-color: #348b98 !important;
}

.nav-menu-item-header {
    border-bottom: none !important;
}

.active-nav {
    background-color: #1f5b64 !important;
}

.nav-menu .mud-nav-link.mud-ripple {
    color: #ffffff;
}

.nav-menu .mud-nav-link .mud-svg-icon > svg > g > path {
    fill: #ffffff !important;
}

.mud-nav-group > button > .mud-nav-link-expand-icon > path:nth-child(2) {
    fill: #ffffff !important;
}

.profile-avatar .mud-avatar {
    background-color: #FFFFFF !important;
    color: #348b98 !important;
}

.search-corporate {
    background: #EEEEEE !important;
}

.dropdown-header {
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
    color: #333333;
}

.dropdown-content {
    background: #FFFFFF;
}

.notification-tab {
    border: 1px solid #e0e0e0 !important;
    color: #666 !important;
}

    .notification-tab:hover {
        background: #f5f5f5 !important;
        border-color: #d0d0d0 !important;
    }

    .notification-tab.active {
        background: #348b98 !important;
        color: white !important;
        border-color: #348b98 !important;
    }

        .notification-tab.active:hover {
            background: #21575f !important;
        }


.mark-all-read-header-btn {
    background: transparent;
    color: #348b98;
    border: 1px solid #348b98;
}

    .mark-all-read-header-btn:hover {
        background: #348b98;
        color: white;
    }

    .mark-all-read-header-btn:disabled {
        background: transparent;
        color: #ccc;
        border-color: #e0e0e0;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }


/* Notification Items */
.notification-item {
    border-bottom: 1px solid #f5f5f5;
}

    .notification-item:hover {
        background: #f5f5f5;
    }

    .notification-item.unread {
        background: #cee7eb;
        border-left: 3px solid #348b98;
    }

.notification-icon {
    background: #348b98;
}

    .notification-icon .mud-icon-root.mud-svg-icon {
        fill: #FFF;
    }

.notification-title {
    color: #1f1f1f;
}

.notification-message {
    color: #757575;
}

.notification-time {
    color: #9e9e9e;
}

/* Profile Menu Items */
.profile-menu-item:hover {
    background: #f5f5f5;
}

.profile-menu-item .mud-icon-root {
    color: #757575;
}

.profile-menu-item span {
    color: #1f1f1f;
}

.profile-menu-item.logout span {
    color: #f44336;
}

.profile-menu-item.logout .mud-icon-root {
    color: #f44336;
}

.profile-info {
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
}

.profile-name {
    color: #1f1f1f;
}

.profile-title {
    color: #757575;
}

.menu-divider {
    background: #e0e0e0;
}

/* Language and Theme Dropdowns */
.language-option, .theme-option, .settings-option {
    background: white !important;
    color: #1f1f1f !important;
}

    .language-option:hover, .theme-option:hover, .settings-option:hover {
        background: #f5f5f5 !important;
    }

    .language-option.active, .theme-option.active, .settings-option.active {
        background: #dae9eb !important;
        color: #348b98 !important;
    }

.profile-avatar-dropdown .mud-avatar {
    background-color: #348b98 !important;
    color: white !important;
}

.material-icon-button .mud-icon-root.mud-svg-icon {
    color: #FFFFFF;
}

.mud-table-head .mud-table-row {
    background-color: #dae9eb;
}

.mud-table-body .mud-table-row {
    background-color: #dae9eb !important;
}

.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd) {
    background-color: #ffffff !important;
}

.search-field {
    background: #dae9eb;
}

.navigation-container .mud-inherit-text {
    color: #348b98 !important;
}

.navigation-container .mud-link-active::after {
    background-color: #348b98 !important;
}

.custom-white-button .mud-button-label {
    color: #348b98 !important;
}

.emission-sources-menu {
    background: #dae9eb;
}

.page-button-list {
    background: #dae9eb;
}

    .page-button-list .section-title {
        color: #348b98;
    }

.superadmin-corporate-select {
    background: #b0d2d6;
}

    .superadmin-corporate-select .mud-icon-root.mud-svg-icon {
        fill: #348b98;
    }

    .superadmin-corporate-select .mud-input-slot.mud-input-root {
        color: #348b98;
    }

.chatbot-button {
    background-color: #333333;
}

.linear-progress .mud-progress-linear-bars .mud-progress-linear-bar {
    background-color: #348b98 !important;
}

.circular-progress .mud-progress-circular-circle {
    stroke: #348b98;
}

.foot .right ul li a {
    color: #333333;
}

.footer-hr {
    background: #dae9eb;
}

.emission-category-selector {
    background: #FFFFFF !important;
}

    .emission-category-selector .mud-nav-item.active-category,
    .emission-category-selector .mud-nav-group.active-category button.mud-nav-link {
        background: #dae9eb;
    }

    .emission-category-selector .mud-nav-link-text {
        color: #424242;
    }

    .emission-category-selector .mud-nav-group button.mud-nav-link .mud-icon-root {
        fill: transparent;
    }

        .emission-category-selector .mud-nav-group button.mud-nav-link .mud-icon-root.mud-svg-icon > svg > g > path,
        .emission-category-selector .mud-navmenu .mud-nav-link .mud-icon-root.mud-svg-icon,
        .emission-category-selector .mud-nav-group > button > .mud-nav-link-expand-icon > path:nth-child(2) {
            fill: #424242 !important;
        }

.nav-menu-toggler.open .mud-nav-link,
.nav-menu-toggler.open .mud-nav-link:focus,
.nav-menu-toggler.open .mud-nav-link:hover {
    background: #348b98;
}

.nav-menu-toggler.closed .mud-nav-link,
.nav-menu-toggler.closed .mud-nav-link:focus,
.nav-menu-toggler.closed .mud-nav-link:hover {
    background: #FFFFFF;
}

    .nav-menu-toggler.closed .mud-nav-link .mud-icon-root.mud-svg-icon{
        fill: #333333;
    }


.ai-chat-modal {
    background-color: rgba(52, 139, 152, 0.2);
}

.ai-chat-container {
    background: white;
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--ai-primary-color) 0%, var(--ai-secondary-color) 100%);
}

.ai-chat-title {
    color: white;
}

    .ai-chat-title .ai-avatar {
        background: rgba(255, 255, 255, 0.2);
    }

.ai-chat-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

    .ai-chat-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.ai-clear-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

    .ai-clear-button:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.ai-chat-content {
    background: var(--ai-bg-light);
}

.ai-welcome-icon {
    background: linear-gradient(135deg, var(--ai-primary-color), var(--ai-secondary-color));
}

.ai-welcome-title {
    color: var(--ai-text-primary);
}

.ai-welcome-description {
    color: var(--ai-text-secondary);
}

.ai-suggested-prompt {
    background: white;
    border: 2px solid var(--ai-border-color);
}

    .ai-suggested-prompt:hover {
        border-color: var(--ai-primary-color);
        background: rgba(52, 139, 152, 0.05);
    }

    .ai-suggested-prompt .icon {
        color: var(--ai-primary-color);
    }

    .ai-suggested-prompt .text {
        color: var(--ai-text-primary);
    }

    .ai-suggested-prompt .mud-icon-root {
        color: var(--ai-primary-color) !important;
    }

.ai-message-avatar.bot {
    background: linear-gradient(135deg, var(--ai-primary-color), var(--ai-secondary-color));
    color: white;
}

.ai-message-avatar.user {
    background: var(--ai-primary-color);
    color: white;
}

.ai-message.user {
    background: var(--ai-primary-color);
    color: white;
}

.ai-message.bot {
    background: white;
    color: var(--ai-text-primary);
    border: 1px solid var(--ai-border-color);
}

.ai-message-time {
    color: var(--ai-text-secondary);
}

.ai-message .chart-button {
    background-color: var(--ai-primary-color);
    color: white;
}

    .ai-message .chart-button:hover {
        background-color: var(--ai-primary-hover);
    }

.ai-typing-content {
    background: white;
    border: 1px solid var(--ai-border-color);
}

.ai-typing-dot {
    background: var(--ai-primary-color);
}

.ai-chat-input-area {
    background: white;
    border-top: 1px solid var(--ai-border-color);
}

.ai-chat-input {
    border: 2px solid var(--ai-border-color);
    background: white;
    color: var(--ai-text-primary);
}

    .ai-chat-input:focus {
        border-color: var(--ai-primary-color);
        box-shadow: 0 0 0 3px rgba(52, 139, 152, 0.1);
    }

.ai-char-count {
    color: var(--ai-text-secondary);
}

.ai-chat-send {
    background: linear-gradient(135deg, var(--ai-primary-color), var(--ai-secondary-color));
    color: white;
}

.ai-input-hint {
    color: var(--ai-text-secondary);
}

.ai-feedback {
    border-top: 1px solid var(--ai-border-color);
}

.ai-feedback-label {
    color: var(--ai-text-secondary);
}

.md-assist-chip {
    border: 1px solid var(--ai-border-color);
    background: white;
    color: var(--ai-text-primary);
}

    .md-assist-chip:hover {
        background: var(--ai-bg-light);
        border-color: var(--ai-primary-color);
    }

    .md-assist-chip.selected.positive {
        background: rgba(77, 161, 173, 0.15);
        color: #348b98;
    }

    .md-assist-chip.selected.negative {
        background: rgba(244, 67, 54, 0.15);
        color: #f44336;
    }

.ai-feedback-thanks {
    color: var(--ai-text-secondary);
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: var(--ai-border-color);
}

    .ai-chat-messages::-webkit-scrollbar-thumb:hover {
        background: var(--ai-text-secondary);
    }

.chart-modal {
    background-color: rgba(52, 139, 152, 0.2);
}

.chart-modal-content {
    background-color: white;
}

.chart-modal-header {
    background: linear-gradient(135deg, var(--ai-primary-color), var(--ai-secondary-color));
    color: white;
}

.close-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

    .close-button:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.chart-options {
    background: var(--ai-bg-light);
    border: 1px solid var(--ai-border-color);
}

.chart-type-btn {
    background: var(--ai-primary-color);
    color: white;
}

    .chart-type-btn:hover {
        background: var(--ai-primary-hover);
    }


.chart-type-dropdown {
    background: #348b98;
}

.chart-type-dropdown-text {
    color: #FFFFFF;
}

    .chart-type-dropdown-text .mud-icon-root.mud-svg-icon {
        fill: #FFFFFF;
    }

.mobile-menu-toggle {
    background: rgb(31 91 100);
    color: #FFFFFF;
}

    .mobile-menu-toggle:hover {
        background: rgb(25 79 87);
    }

.view-tab-btn:hover {
    color: #1f5b64 !important;
    background: rgba(52, 139, 152, 0.07) !important;
}

.view-tab-btn.tab-active {
    color: #1f5b64 !important;
    border-bottom-color: #1f5b64 !important;
}

.inv-tag {
    color: #1f5b64 !important;
    border-color: rgba(31, 91, 100, 0.3) !important;
    background: rgba(31, 91, 100, 0.06) !important;
}

.inventory-select .mud-input-outlined-border {
    border-color: rgba(31, 91, 100, 0.35) !important;
}

.inventory-select:hover .mud-input-outlined-border,
.inventory-select .mud-input-focused .mud-input-outlined-border {
    border-color: #1f5b64 !important;
}

.inventory-select .mud-input-label {
    color: #1f5b64 !important;
}

.inv-select-framework-badge {
    background: rgba(31, 91, 100, 0.1) !important;
    color: #1f5b64 !important;
}

.inv-select-year {
    color: #1a1a1a !important;
}

.map-title {
    color: #1f5b64;
}

.custom-textarea,
.executive-summary-switch,
.responsibles-switch {
    background-color: #f4f4f4;
}

/* CORPORATE SELECTOR */
.corporate-selector {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 18px;
}

.corporate-selector-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 44px;
    min-width: 200px;
    justify-content: space-between;
}

    .corporate-selector-button:hover {
        box-shadow: 0 4px 8px rgba(60, 64, 67, 0.16);
        border-color: #d2d2d2;
    }

    .corporate-selector-button.open {
        border-color: #348b98;
        box-shadow: 0 4px 12px rgba(52, 139, 152, 0.25);
    }

.corporate-selector-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background: #f1f3f4;
}

.corporate-selector-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.corporate-selector-label {
    font-size: 10px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #5f6368;
}

.corporate-selector-value {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.corporate-dropdown {
    position: absolute;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 380px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    overflow: hidden;
}

.corporate-dropdown-body {
    display: flex;
    flex-direction: column;
    max-height: 420px;
}

.corporate-search {
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.corporate-dropdown-list {
    overflow-y: auto;
    padding: 6px 0;
}

.corporate-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .corporate-dropdown-item:hover {
        background: #f1f3f4;
    }

    .corporate-dropdown-item.selected {
        background: rgba(52, 139, 152, 0.12);
    }

.corporate-dropdown-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.corporate-dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background: #f1f3f4;
}

.corporate-dropdown-empty {
    padding: 16px;
    color: #5f6368;
    font-size: 13px;
    text-align: center;
}

.corporate-dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin: 8px 0;
}

.corporate-dropdown-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.corporate-dropdown-toggle-all {
    font-size: 11px !important;
    min-width: auto !important;
    padding: 2px 8px !important;
    text-transform: none !important;
}

@media (max-width: 959px) {
    .corporate-selector {
        margin-left: 12px;
    }

    .corporate-selector-value {
        max-width: 140px;
    }

    .corporate-dropdown {
        width: min(94vw, 360px);
    }
}
/* CORPORATE SELECTOR */
