﻿.modal-upload-logo {
    width: 150px;
    height: 150px;
    border-radius: 80px;
    overflow: hidden;
    background: white;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    margin: 15px;
    position: relative;
    box-shadow: 0px 0px 15px #ccc;
    display: inline-block;
}

.esg-data-app.ui-wrapper {
    padding-top: 5px !important;
}

.esg-data-app .panel-content {
    box-shadow: 0px 3px 8px #cfcfcf;
    margin: 0px 0px 0px 15px;
    border-radius: 6px;
    background: #f7f7f7;
}

.esg-data-app .business-unit-header .logo-wrapper {
    display: inline-block;
    background-color: #eee;
    width: 50px;
    height: 50px;
    border-radius: 60px;
}

    .esg-data-app .business-unit-header .logo-wrapper img {
        width: 50px;
        height: 50px;
        border-radius: 60px;
        overflow: hidden;
    }

.esg-data-app .business-unit-header span,
.esg-data-app .business-unit-header .header-text {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-left: 15px;
}

.esg-data-app .business-unit-header .subheader-text {
    font-size: 13px;
    color: #333;
    margin-left: 15px;
}

.esg-data-app .business-unit-header .header-align {
    display: inline-block;
    vertical-align: middle;
}

.esg-data-app .side-panel-header {
    font-weight: 500;
    font-size: 22px;
    color: #333;
}

.esg-data-app .search-input {
    background-color: #f1f1f1 !important;
    border: none !important;
    margin-top: 12px;
}

.simple-card {
    margin: 10px;
    box-shadow: 0px 5px 18px -3px #ccc;
    border-radius: 12px;
    padding: 16px 22px;
    border: 1px solid #ffffff;
}

    .simple-card .card-value {
        font-size: 22px;
        font-weight: bold;
    }

    .simple-card .card-title {
        font-size: 12px;
        color: #333;
        font-weight: 500;
    }

.esg-table-wrapper h2.esg-table-header {
    margin-top: 22px;
    font-weight: 500;
}

.table-scrollable {
    max-height: 550px;
    overflow-y: auto;
}

.data-type-selector {
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    background: #f3f3f3;
    margin-top: 14px;
}

    .data-type-selector label {
        margin-bottom: 0px !important;
    }

    .data-type-selector label span {
        margin-left: 5px;
    }

.data-type-header {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 11px;
}

.spreadsheet-table th.data-key,
.spreadsheet-table th.data-value {
    padding: 6px 8px;
    background: #414154;
    color: white;
}

.spreadsheet-table td.data-key {
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #002243;
}

    .spreadsheet-table td.data-value {
        padding: 8px;
        background: #ededed;
        position: relative;
    }

    .spreadsheet-table td.data-key,
    .spreadsheet-table td.data-value {
        background: #ededed;
    }

.spreadsheet-table td.data-value input[type="text"] {
    border-radius: 8px !important;
    background-color: white !important;
    border: none;
}

        .spreadsheet-table td.data-value .txt-unit {
            position: absolute;
            right: 18px;
            top: 17px;
            font-size: 11px;
            font-weight: 500;
        }

.spreadsheet-table .spreadsheet-cell-button {
    font-size: 10px;
    color: #ffffff;
    padding: 5px 13px;
    display: inline-block;
    position: absolute;
    top: -18px;
    background: #5b81e5;
    border-radius: 7px;
    box-shadow: 1px 2px 3px 0px #bebebe;
}

.esg-logo-wrapper {
    padding: 5px 22px 5px 0px;
}

.data-type-nav-wrapper .data-type-nav {
    padding: 10px;
    background: #efefef;
    margin-bottom: 12px;
    border-radius: 15px;
    cursor: pointer;
}

    .data-type-nav-wrapper .data-type-nav:hover {
        background: #ddd;
    }

    .data-type-nav-wrapper .dt-box {
        border: 1px solid #ccc;
        width: 20px;
        height: 20px;
        margin-right: 10px;
        background: white;
        border-radius: 5px;
        padding: 0px 3px;
    }

    .data-type-nav-wrapper .dt-box.selected {
        background: green;
    }

.data-type-nav-wrapper .dt-box .fa {
    color: white;
}

.data-type-nav-wrapper .dt-name {
    padding: 0px 16px 0px 0px;
    min-width: 200px;
    color: #333;
}

    .data-type-nav-wrapper .dt-icon-caret {
        margin-right: 15px;
    }

.data-type-panel {
    width: 300px;
    min-width: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0px 8px;
    position: relative;
    transition: width 0.3s ease;
}

.data-type-panel.collapsed {
    width: 40px;
    min-width: 40px;
}

.sidebar-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.sidebar-toggle:hover {
    background: #e0e0e0;
}

.data-type-panel.collapsed .sidebar-toggle {
    right: 5px;
}

.data-type-panel .data-type-categories {
    position: absolute;
    height: 100%;
}

    .data-type-panel h4.data-type-panel-header {
        margin-top: 25px;
        color: #333;
        margin-bottom: 20px;
    }

.form-wrapper {
    padding: 10px 12px;
    margin-left: 20px;
}

.data-type-value-header {
    font-size: 24px;
    color: #333;
    font-weight: 400;
}

.dt-value-wrapper {
    position: relative;
}

    .dt-value-wrapper .txt-unit {
        position: absolute;
        right: 18px;
        top: 40px;
        font-size: 11px;
        font-weight: 700;
    }

.button-wrapper .btn-fetch-data {
    margin: 3px;
    border-radius: 5px;
    border: 1px solid #7f85a3;
    color: #465186;
}

.dt-value-wrapper .form-input {
    border: none;
    border-radius: 5px;
    padding: 18px !important;
    margin-bottom: 8px;
    color: #000 !important;
    font-size: 16px !important;
    box-shadow: 1px 1px 3px #ccc;
}

.company-structure-node-primary {
    border-radius: 15px;
    padding: 15px;
}

    .company-structure-node-primary img {
        height: 36px;
        margin-right: 15px;
    }

    .company-structure-node-primary .company-name {
        font-size: 22px;
        color: #333;
        font-weight: bold;
        letter-spacing: 0.5px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 15px;
    }


.company-structure-node {
    padding: 15px;
    cursor: pointer;
    margin-top: 5px;
}

    .company-structure-node:hover {
        border-radius: 10px;
        background-color: #eff1f5;
    }

    .company-structure-node .fa-angle-down {
        margin-top: 7px;
    }

    .company-structure-node .title {
        font-size: 16px;
        font-weight: bold;
        color: #42495e;
        display: inline-block;
        vertical-align: middle;
    }

    .company-structure-node .badge-branch {
        margin-left: 10px;
    }

    .company-structure-node .btn-toolbar .btn {
        margin-right: 5px;
        width: 30px;
        height: 30px;
    }

.company-structure-child-wrapper {
    border-left: 1px dashed #888;
    margin-left: 15px;
    position: relative;
}

.company-structure-subchild-wrapper {
    border-left: 1px dashed #888;
    margin-left: 50px;
    position: relative;
}

.tree-horizontal-line {
    width: 20px;
    top: 50%;
    height: 1px;
    position: relative;
    border-top: 1px dashed #888;
    margin-left: 5px;
}

.tree-bottom-line-hide {
    background: white;
    height: 28px;
    width: 5px;
    position: absolute;
    bottom: 0px;
    left: -2px;
}

.sub-tree-bottom-horizontal-line {
    position: absolute;
    bottom: 30px;
    width: 40px;
    height: 1px;
    left: 3px;
    border-bottom: 1px dashed #888;
}

.company-structure-node .node-logo {
    display: inline-block;
    width: 38px;
    height: 38px;
    vertical-align: middle;
    margin: 0px 10px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.company-structure-node .node-logo img {
    width: 100%;
}

.company-structure-node.site-node {
    padding: 8px;
}

    .company-structure-node.site-node .title {
        font-size: 15px;
        font-weight: 600;
        padding-left: 8px;
    }

.entity-node-list-wrapper {
    width: 300px;
    height: 100%;
    position: relative;
}

.entity-node-list {
    height: 100%;
    width: 300px;
    position: absolute;
}

.company-component-wrapper-list .company-structure-subchild-wrapper{
    margin-left: 22px;
}

.company-component-wrapper-list .company-structure-node .title {
    font-size: 13px;
    font-weight: 500;
}

.company-component-wrapper-list .company-structure-node .node-logo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 0px !important;
    margin-left: 8px;
}

.company-component-wrapper-list .company-structure-node {
    padding: 5px 15px !important; 
}

.company-component-wrapper-list .company-structure-node.site-node {
    padding: 5px 5px !important;
}

.entity-node-list {
    height: 100%;
    overflow-y: scroll;
}

.company-component-wrapper-list .btn-esg-edit {
    background-color: #efefef;
}

.company-component-wrapper-list .company-structure-node .title.selected {
    color: #000000;
    font-weight: bold;
}

.company-component-wrapper-list .company-structure-node.node-selected {
    background: #f1f1f1;
    border-radius: 8px;
}

.company-component-wrapper-list .company-structure-node.node-selected .title {
    font-weight: bold;
}

.fixed-full-height {
    height: calc(100vh - 128px);
}

.dt-notes {
    font-size: 12px;
    font-style: italic;
    padding: 0px 3px 6px;
}

.btn-grey {
    background: #e1e1e1;
    color: #333;
}

.btn-disabled {
    background-color: #ccc;
    color: #a3a3a3 !important;
    border: none !important;
}

.sync-text-error {
    color: #bb1c1c;
    font-size: 12px;
    padding: 0px 6px 5px;
}

.tool-bottom {
    white-space: nowrap;
}

.spreadsheet-tool-wrapper {
    width: 100%;
    background: #f1f1f1;
    padding: 10px 15px;
}

.submodal-container {
    width: 99%;
    max‑width: 1900px;
    margin: 0 auto;
    padding: 0 1rem;
    box‑sizing: border‑box;
    overflow‑x: auto;
}

.submodal-container
.dataset-user-permission-table,
.submodal-container
.dataset-user-group-permission-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-top: 16px;
    }

.save-permissions-button {
    margin-top: 2rem;
}

.dataset-user-permission-table
select.form-control {
    max-width: 200px;
    width: 200px;
}

.dataset-user-permission-table
.select2-container--default.select2-container {
    width: 200px !important;
}

.dataset-user-permission-table
.select2-container--default
.select2-selection--multiple {
    height: 60px !important;
    max-height: 60px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.dataset-user-permission-table
.select2-selection__choice {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

.dataset-user-group-permission-table select.form-control {
    max-width: 200px;
    width: 200px;
}

.dataset-user-group-permission-table .select2-container--default.select2-container {
    width: 200px !important;
}

.dataset-user-group-permission-table .select2-container--default .select2-selection--multiple {
    height: 60px !important;
    max-height: 60px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.dataset-user-group-permission-table .select2-selection__choice {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

.dataset-user-group-permission-table .owner-column {
    background-color: #f5f5f5;
    color: #bbb;
    text-align: center;
}

.export-excel-modal .modal-body {
    padding-left: 30px;
    padding-right: 30px;
}

.export-excel-modal.modal-lg {
    max-width: 600px;
}

.export-excel-modal .modal-content {
    max-height: 90vh;
    display: flex; 
    flex-direction: column;
}

.export-excel-modal .modal-header,
.export-excel-modal .modal-footer {
    flex-shrink: 0;
}

.export-excel-modal .modal-body {
    padding-left: 30px;
    padding-right: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.modal-dialog {
    overflow-y: initial !important;
}



