:root {
    --dark-gray: #91a39f;
    --gray: #e9edec;
    --light-gray: #f4f5f3;
    --green: #7dc4b2;
    --light-green: #7dc4b2;
    --black: #2c363f;
    --light-blue: #94BAE6;
    --dark-green: #4BA68F;

    --background-color: #F7F9FB;
    --text-color: #161B1F;
    --background-card-header: #E9EDEC;
    --manually-added: #FBEEC1;

    --nav-icon: #91A39F;
    --nav-icon-active-background-color: #DBEDEB;
    --nav-icon-active-color: #4BA68F;
}

body {
    font-size: 13px;
    color: #333333;
    background-color: var(--background-color);
}

select {
    border: none;
}

.box-shadow {
    margin-bottom: 10px;
}

.navbar-brand {
    background: var(--background-color) !important;
    border: none;
    box-shadow: none;
}

.bg-white {
    background-color: var(--background-color) !important;
}

.bg-blue {
    background-color: #31708E !important;
    color: #FFFFFF !important;
}

.bg-dark {
    background-color: #2C363F !important;
    color: #FFFFFF !important;
}

.bg-dark-green {
    background-color: #254E58 !important;
    color: #FFFFFF !important;

}

.bg-green {
    background-color: #326E5F !important;
    color: #FFFFFF !important;
}

.nav-link {
    color: #91A39F;
    font-size: 16px;
}

li.active-item {
    background-color: var(--nav-icon-active-background-color) !important;
    font-weight: 600 !important;
}

-- only hover if it has a link as child
li:not([aria-expanded="true"]):has(a):hover {
    background-color: var(--nav-icon-active-background-color) !important;
}

li > a {
    width: 100%;
    display: block;
}

.user-icon {
    font-size: 18px;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    padding: 0 !important;
}

.user-dropdown-toggle::after {
    display: none;
}

.user-initials-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--green);
    color: var(--green);
    font-weight: 600;
    text-transform: uppercase;
}

.user-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px);
    right: 0;
    left: auto !important;
    z-index: 1050;
    font-size: 12px;
}

.right-navigation-list-group {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.right-navigation-list-group > li {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 13px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 25px;
    margin-bottom: 0px !important;

}

.right-navigation-list-group > li:not(:first-child) {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    padding-left: 45px !important;
}

.list-group-item:first-child {
    margin-top: 0px;
    border-bottom: 1px solid #2C363F !important;
}

.right-navigation-list-group > li > a {
    color: #2C363F;
}

.right-navigation-list-group > li:not(:first-child) {
    padding-left: 35px !important;
}

.table-output {
    width: 100%;
    background: var(--background-color);
}

.table-output > thead > tr, .table-output > tbody > tr {
    border-bottom: 1px solid #697E79 !important;
}

.table-output > thead > tr > th, .table-output > tbody > tr > td {
    font-size: 10px;
    padding: 9px;
}

.table-output-tr-calculation {
    background-color: #697E79 !important;
    color: var(--background-color) !important;
    font-weight: bold;
}
.table-output-tr-calculation > td {
    border-right: 1px solid #dddddd !important;
}

.table-custom-input {
    width: fit-content;
    min-width: 80px;
    background: transparent;
    border: 1px solid transparent;
    text-align: left;
}

.table-custom-input:focus {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
 }

 .loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid var(--green); /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.table-title {
    background-color: #FFFFFF !important;
    color: var(--black) !important;
    text-align: center;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 18px;
    font-weight: 550;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.table-title-chart {
    margin-bottom: 0px;
}

.table-title-secondary {
    background-color: #FFFFFF !important;
    color: var(--black) !important;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.table-title.lada-chart-download-host {
    position: relative;
    padding-right: 36px;
}

.lada-chart-wrapper {
    position: relative;
}

.lada-chart-download-single {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: #FFFFFF;
    color: #b8c0c7;
    padding: 4px;
    border-radius: 4px;
    line-height: 1;
    z-index: 2;
    cursor: pointer;
}

.lada-chart-download-single:hover {
    color: #0D1524;
}

.table-th {
    background-color: #FFFFFF !important;
    color: var(--black) !important;
    padding: 9px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.table-th-sticky {
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-th-first {
    width: 250px;
}

table th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

table th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

table th {
    border-top: none !important;
}

.table-th-first, .table-th-property {
    background-color: #FFFFFF !important;
    border-right: var(--light-gray) 1px solid !important;
}

.lada-assumptions-table td:nth-child(2), .lada-assumptions-table th:nth-child(2) {
    border-right: 1px solid var(--gray) !important;
}


.table-th-property {
    width: 150px;
}

.table-th-segment {
    background-color: #FFFFFF !important;
    width: 150px;
}

.table-th-min-width-100 {
    min-width: 100px;
}


.table-td-even {
    /*background-color: #DBDBDB;*/
    padding: 9px !important;
    font-size: 13px;
    /*border-right: 3px solid #FFFFFF;
    border-bottom: 3px solid #FFFFFF;*/
    text-align: center;
}

.table-td-odd {
    /*background-color: #EDEDED;*/
    padding: 9px !important;
    font-size: 13px;
    /*border-right: 3px solid #FFFFFF;
    border-bottom: 3px solid #FFFFFF;*/
    text-align: center;
}


tr > th:last-child, tr > td:last-child {
    border-right: none;
}


.table-td-disabled {
    --background-color: var(--light-gray) !important;
    color: var(--black);
    padding: 9px !important;
    font-size: 13px;
    text-align: center;
}

.table-td-disabled input {
    color: var(--black) !important;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--gray);
    color: var(--black);
    border: none;
    padding: 20px;
}

.btn-primary:hover {
    background-color: var(--light-gray);
    color: var(--black);
}

.table-td-first {
    padding-left: 20px !important;
    text-align: left !important;
}

.table-td-contract-assumption-even > .lada-input {
    background-color: var(--light-blue) !important;
}
.table-td-contract-assumption-odd > .lada-input {
    background-color: var(--light-blue) !important;
}

.table-td-contract-even {
    /*background-color: var(--light-blue) !important;*/
}
.table-td-contract-odd {
    /*background-color: var(--light-blue) !important;*/

}

.table-td-property-assumption-even {
    background-color: var(--light-blue) !important;
}
.table-td-property-assumption-odd {
    background-color: var(--light-blue) !important;
}
.table-td-segment-assumption-even {
    background-color: var(--light-blue) !important;
}
.table-td-segment-assumption-odd {
    background-color: var(--light-blue) !important;
}

.table-td-organization-assumption-even {}
.table-td-organization-assumption-odd {}

.table-td-default-even {
    background-color: #CDD0D1 !important;
}
.table-td-default-odd {
    background-color: #E8E9EB !important;
}

.table-td-none-even {
    /*background-color: #CDD0D1 !important;*/
}
.table-td-none-odd {
    /*background-color: #E8E9EB !important;*/
}



.table-td-fixed-33 {
    width: 33%;
}

.table-td-15 {
    width: 15%;
}

.table-td-12 {
    width: 12%;
}
.table-td-28 {
    width: 28%;
}

.table-td-40 {
    width: 40%;
}


.table-td-50 {
    width: 50%;
}

.quarter-inflation-input {
    width: 200px;
    border: none;
    background: transparent;
    text-align: center;
}

#chart-inflation-line {
    margin-bottom: 50px;
}

.td-checkbox {
    float: right;
    width: 15px;
    height: 15px;
}

.turnover-forecast-year {
    width: 50px;
}

.turnover-rate {
    width: 50px;
}

.download-csv, .upload-csv {
    float: right;
    margin-right: 15px;
    color: #FFFFFF;
    font-size: 15px;
}

.download-csv:hover, .upload-csv:hover {
    color: #FFFFFF;
}


.lada-key-indicator, .lada-vue-key-indicator {
    background-color: #FFFFFF;
    color: var(--black);
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 10px;
}

.lada-key-indicator .lada-key-indicator-name, .lada-vue-key-indicator .lada-vue-key-indicator-name {
    font-size: 20px;
    font-weight: medium;
}

.lada-key-indicator .lada-key-indicator-value, .lada-vue-key-indicator .lada-vue-key-indicator-value {
    font-size: 30px;
    font-weight: light;
}

.lada-key-indicator .lada-key-indicator-value-type, .lada-vue-key-indicator .lada-vue-key-indicator-value-type {
    font-size: 18px;
}

.lada-title-indicator, .lada-vue-title-indicator {
    text-align: right;
    display: inline-block;
    font-size: 14px;
    margin-left: 40px;
}

.lada-title-indicator .lada-key-indicator-name, .lada-vue-title-indicator .lada-key-indicator-name {
    font-size: 12px;
    font-weight: 500;
}

.lada-title-indicator .lada-key-indicator-value, .lada-vue-title-indicator .lada-key-indicator-value {
    font-size: 20px;
    font-weight: 700;
}
.lada-title-indicator .lada-key-indicator-value-type, .lada-vue-title-indicator .lada-key-indicator-value-type {
    font-size: 11px;
    font-weight: 500;
}


.lada-table-fixed-width-11 th {
    width: 8%;
}
.lada-table-fixed-width-10 th {
    width: 10%;
}

.lada-table, .lada-vue-table {
    width: 100%;
    background-color: #FFFFFF;
    overflow: auto;
}

table {

    border-radius: 7px;
}

.lada-table thead, .lada-vue-table thead {
    background-color: #FFFFFF !important;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.lada-table > thead > tr > th, .lada-table > tbody > tr > td, .lada-table > tfoot > tr > td, .lada-table > tfoot > tr > th {
    font-size: 12px;
    text-align: left;
}

.lada-vue-table > thead > tr > th, .lada-vue-table > tbody > tr > td, .lada-vue-table > tfoot > tr > td, .lada-vue-table > tfoot > tr > th {
    font-size: 12px;
    text-align: left;
}

.lada-table > thead > tr > th, .lada-vue-table > thead > tr > th {
    text-align: left;
}

.lada-table > tfoot > tr > th, .lada-vue-table > tfoot > tr > th {
    border-top: 1px solid var(--gray);
}


tr:hover td {
    background: var(--gray) !important;
}

tr:hover td {
    background: var(--gray) !important;
}



.lada-action-td {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* when hovering over the tr of a lada-table, display the child with the class lada-action-td */
tr .lada-action-td button {
    visibility:hidden;
    border: none;
}

tr:hover .lada-action-td button {
    visibility: visible;
}



.lada-table > thead > tr > th:last-child, .lada-table > tbody > tr > td:last-child, .lada-table > tfoot > tr > td:last-child, .lada-table > tfoot > tr > th:last-child {
    /*border-right: none;*/
}


.lada-table > thead > tr > th, .lada-table > tfoot > tr > td, .lada-table > tfoot > tr > th {
    /*background-color: #2C363F;
    color: #FFFFFF;*/
    color: var(--black);
    font-weight: bold;
    border-bottom: 1px solid var(--gray);
}

.lada-vue-table > thead > tr > th, .lada-vue-table > tfoot > tr > td, .lada-vue-table > tfoot > tr > th {
    /*background-color: #2C363F;
    color: #FFFFFF;*/
    color: var(--black);
    font-weight: bold;
}

.lada-table > tbody > tr > td {
    color: var(--black);
    font-size: 12px;
}

.lada-vue-table > tbody > tr > td {
    color: var(--black);
    font-size: 12px;
}

.lada-table > tbody > tr:nth-child(even) > td {
    /*background-color: #DBDBDB;*/
}

.lada-table > tbody > tr:nth-child(odd) > td {
    /*background-color: #EDEDED;*/
}

.lada-table > tbody > tr > td:first-child, .lada-table > tbody > tr > th:first-child, .lada-table > thead > tr > th:first-child, .lada-table > tfoot > tr > td:first-child, .lada-table > tfoot > tr > th:first-child {
    text-align: left;
    padding-left: 25px;
}

.lada-vue-table > tbody > tr > td:first-child, .lada-vue-table > tbody > tr > th:first-child, .lada-vue-table > thead > tr > th:first-child, .lada-vue-table > tfoot > tr > td:first-child, .lada-vue-table > tfoot > tr > th:first-child {
    text-align: left;
    padding-left: 25px;
}

.lada-table > tbody > tr > td input {
    width: auto;
    min-width: 80px;
    --background: transparent;
    border: 1px solid transparent;
}

.lada-vue-table > tbody > tr > td input {
    width: auto;
    min-width: 80px;
    --background: transparent;
    border: 1px solid transparent;
}

.lada-table > tbody > tr > td input:focus {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.lada-vue-table > tbody > tr > td input:focus {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
}

/* special case when the lada-table is a property with segments */
.lada-table-property-segment > thead > tr > th:not(:first-child) {
    background-color: #FFFFFF;
}

.lada-table-sticky-thead > thead > tr {
    top: 0;
    position: sticky;
    background-color: #FFFFFF;
}

.lada-table-sticky-tfoot > tfoot > tr {
    bottom: 0;
    position: sticky;
    background-color: #FFFFFF;
}


.lada-table-row-selectable > tbody > tr > td {
    cursor: pointer;
    background: #FFFFFF !important;
    padding: 6px;
}

.lada-table-row-selectable > tbody > tr:hover td {
    background-color: #CCCCCC !important;
}

.lada-table-selected {
    width: 10px;       /* Size of the circle */
    height: 10px;      /* Size of the circle */
    border-radius: 50%; /* Makes the div round */
    background-color: #7DC4B2; /* Color of the circle */
    position: absolute; /* Positions circle absolutely within the cell-container */
    left: 5px;            /* Aligns circle to the left of the cell-container */
    top: 50%;           /* Centers circle vertically */
    transform: translateY(-50%); /* Fine-tune vertical centering */
}
.lada-table .number-cell {
    text-align: right;
}

.lada-vue-table .number-cell {
    text-align: right;
}

.lada-table td:not(:has(input), :has(select)), .lada-table th:not(:has(input), :has(select)) {
    text-align: left;
    padding: 7px;
}

.lada-vue-table td:not(:has(input), :has(select)), .lada-vue-table th:not(:has(input), :has(select)) {
    text-align: left;
    padding: 7px;
}

.lada-subtotal-data-cell {
    text-align: left;
}

.lada-subtotal-data-cell .lada-subtotal-value {
    display: block;
    width: 100%;
    max-width: 130px;
    padding: 3px 5px;
    margin-left: 0;
    margin-right: auto;
    text-align: right;
    box-sizing: border-box;
    white-space: nowrap;
}

/*{
    line-height: 30px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #7DC4B2;
    border-radius: 50%;
    display: inline-block;
}

*/


/* navbar stuffs */
@media (max-width: 768px) {
    .right-sidebar {
        position: fixed;
        right: -100%; /* Hide sidebar off-screen */
        height: 100%;
        transition: right 0.3s;
        overflow-y: auto;
        padding-bottom: 200px;
    }
    .navbar-toggler {
        display: block; /* Show toggle button on small screens */
    }
}

@media (min-width: 769px) {
    .right-sidebar {
        position: relative;
        right: 0;
        width: auto;
    }
    .navbar-toggler {
        display: none; /* Hide toggle button on large screens */
    }
}

.custom-icon .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333; /* or your preferred color */
    border-radius: 1px;
    transition: all 0.2s;
}

.custom-icon .icon-bar:not(:last-child) {
    margin-bottom: 4px;
}

.lada-overview-col {
}

#lada-nav-output-tab-button, #lada-nav-input-tab-button {
    border: none;
    color: var(--black) !important;
}

#lada-nav-output-tab-button, #lada-nav-output-tab-target {
    background: var(--gray);
}

#lada-nav-output-tab-target .list-group-item {
    background: var(--gray);
    font-size: 16px !important;
}

#lada-nav-input-tab-target, #lada-nav-output-tab-target {
}

#lada-nav-input-tab-target .list-group-item {
    background: var(--light-gray);
    font-size: 16px !important;
    font-weight: 400;
}

#lada-nav-input-tab-button, #lada-nav-input-tab-target {
    background: var(--light-gray);
}

.right-navigation-list-group > .list-group-item:not(:first-child):hover a {
    font-weight: 600 !important;
    text-decoration: none !important;
}


.right-navigation-list-group > .list-group-item:first-child {
    border-bottom: 1px solid var(--black) !important;
    margin-left: 0px;
    margin-right: 5px;
}
.lada-filter-group {
    border-top: 3px solid var(--black) !important;
    padding-top: 5px !important;
}

.lada-filter-group > .list-group-item {
    display: flex;
    align-items: center; /* Vertically centers the checkbox and label */
    gap: 5px; /* Adds a small space between the checkbox and label */
    font-size: 16px !important;
    background-color: var(--background-color);
}

#lada-page-overview .overview-section {
    width: 100%;
    margin-bottom: 32px;
}

#lada-page-overview .overview-metric-col {
    margin-bottom: 24px;
}

#lada-page-overview .overview-section--visual {
    row-gap: 24px;
}

#lada-page-overview .overview-column {
    margin-bottom: 0;
    display: flex;
}

#lada-page-overview .overview-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(145, 163, 159, 0.18);
    box-shadow: 0 24px 48px -32px rgba(26, 46, 64, 0.35);
}

#lada-page-overview .overview-card--map {
    padding-bottom: 18px;
}

#lada-page-overview .overview-card--table {
    gap: 24px;
}

#lada-page-overview .overview-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#lada-page-overview .overview-card__header.table-title {
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

#lada-page-overview .overview-card__header.table-title-secondary {
    background: transparent !important;
}

#lada-page-overview .overview-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.01em;
}

#lada-page-overview .overview-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#lada-page-overview .overview-map {
    flex: 1;
    min-height: 320px;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(145, 163, 159, 0.18);
}

#lada-page-overview .overview-card__action {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#lada-page-overview .overview-table-container {
    max-height: 500px;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(145, 163, 159, 0.2);
    background: #FFFFFF;
}

#lada-page-overview .overview-table-container table {
    margin-bottom: 0;
}

#lada-page-overview .overview-table-container tfoot tr {
    position: sticky;
    bottom: 0;
    background: #FFFFFF;
    box-shadow: 0 -4px 12px -8px rgba(26, 46, 64, 0.35);
}

#lada-page-overview .overview-footnote {
    text-align: right;
    font-size: 12px;
    color: var(--dark-gray);
    margin-top: -8px;
    margin-bottom: 8px;
}

@media (max-width: 1199.98px) {
    #lada-page-overview .overview-card {
        padding: 20px;
    }

    #lada-page-overview .overview-map {
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    #lada-page-overview .overview-card__header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    #lada-page-overview .overview-card__action {
        width: 100%;
        justify-content: flex-start;
    }
}

.lada-filter {
    transform: scale(1.2);
}

.list-group-item > input[type="checkbox"] {
    margin-right: 1px;
}
.list-group-item > label {
    margin-top: 0px;
    margin-right: 5px;
    margin-bottom: 0px;
}


.list-group-item > ul > li {
    padding-left: 8px !important;
    padding: 3px;
    color: var(--black) !important;
}

.list-group-item > ul > li > a {
    color: var(--black) !important;
}
 

.lada-filter-icon {
    font-size: 20px;
}

.nav-tabs .nav-item {
    flex: 1; /* This makes each tab take equal width */
    text-align: center; /* This centers the tab's text */
}


.lada-table > tbody > tr:nth-child(even) > td.lada-td-altered > input, .table-td-even.lada-td-altered > input {
    background-color: var(--light-blue) !important;
}

.lada-table > tbody > tr:nth-child(odd) > td.lada-td-altered > input, .table-td-odd.lada-td-altered > input {
    background-color: var(--light-blue) !important;
}

.lada-td-altered > .lada-input:not(:disabled) {
    background-color: var(--light-blue) !important;
}

.lada-vue-modified:not(:disabled), .ladaVueModified:not(:disabled) {
    background-color: var(--light-blue) !important;
    border-color: var(--light-blue) !important;
}


.lada-input-error {
    border: 1px solid red;
}


.lada-tooltip {
    position: relative;
    display: inline-block;
    z-index: 100;
}
  
.lada-tooltip .lada-tooltip-content {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1000;
    margin-left: -60px;
    margin-top: -120px;
}
  
.lada-tooltip:hover .lada-tooltip-content {
    visibility: visible;
}

.glossary-label-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.glossary-label {
    display: inline;
}

.glossary-tooltip {
    position: fixed;
    min-width: 160px;
    max-width: 220px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 2000;
    text-align: left;
    pointer-events: none;
}

.glossary-tooltip[data-visible="true"] {
    opacity: 1;
    visibility: visible;
}

.glossary-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.glossary-tooltip[data-placement="bottom"]::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent;
}

.lada-vue-underwriting-input-table,
.lada-vue-underwriting-output-table {
    overflow: visible;
}

/* Allow glossary tooltips to overflow underwriting table containers */
.table-responsive:has(.lada-vue-underwriting-input-table),
.table-responsive:has(.lada-vue-underwriting-output-table) {
    overflow: visible !important;
}

.table-responsive:has(.lada-vue-underwriting-input-table) tbody,
.table-responsive:has(.lada-vue-underwriting-input-table) thead,
.table-responsive:has(.lada-vue-underwriting-input-table) tr,
.table-responsive:has(.lada-vue-underwriting-input-table) td,
.table-responsive:has(.lada-vue-underwriting-input-table) th,
.table-responsive:has(.lada-vue-underwriting-output-table) tbody,
.table-responsive:has(.lada-vue-underwriting-output-table) thead,
.table-responsive:has(.lada-vue-underwriting-output-table) tr,
.table-responsive:has(.lada-vue-underwriting-output-table) td,
.table-responsive:has(.lada-vue-underwriting-output-table) th {
    overflow: visible;
}

/* Allow tooltips to overflow cash flow summary table and its parent container */
.col-xl-4:has(#lada-underwriting-cash-flow-table) {
    overflow-x: auto;
    overflow-y: visible;
}

#lada-underwriting-cash-flow-table tbody,
#lada-underwriting-cash-flow-table thead,
#lada-underwriting-cash-flow-table tr,
#lada-underwriting-cash-flow-table td,
#lada-underwriting-cash-flow-table th {
    overflow: visible;
}

.lada-nav-right-circle {
    font-size: 28px;
    padding: 0px;
    padding-left: 15px;
    padding-right: 15px;
    color: var(--nav-icon);
    margin-left: 2px;
    margin-top: 15px;
    display: inline-block;
}

.lada-nav-right-circle-text {
    font-size: 12px;
    font-weight: 550;
    display: block;
    text-align: left;
    position: absolute;
    margin-left: 30px;
    margin-top: -36px;
    padding: 5px;
    border-radius: 7px;
    background: #F7F9FB;
    color: var(--dark-green);
    visibility: hidden;
    z-index: 1000;
    /* make it so that spaces do not case the text to go on a new line, instead make the div longer */
    white-space: nowrap;
}

.lada-nav-right-circle:hover .lada-nav-right-circle-text {
    visibility: visible;
}

.lada-nav-right-circle-text:hover {
    visibility: hidden !important;
}

.lada-nav-right-circle:hover, .lada-nav-right-circle.active-item {
    border-left: 3px solid var(--dark-green);
    color: var(--dark-green);
    text-decoration: none;
    padding-left: 12px;
}

canvas {
    background-color: #FFFFFF;
    border-radius: 7px;
    margin-bottom: 7px;
}

.page-title {
    height: 70px;
    padding-left: 6px;
    padding-top: 30px;
    padding-bottom: 18px;
    font-size: 20px;
    font-weight: 550;
    text-transform: capitalize;
    color: var(--black);
    border: 1px solid #EDF0F1;
    margin-bottom: 9px;
    margin-left: 0px;
    border-radius: 7px;
}

.page-title .lada-key-indicator-value {
    text-transform: none !important;
}

.custom-select {
    background-color: #dbedeb;
    font-weight: 700;
    font-size: 18px;
    color: var(--black);
    display: inline-block;
    width: fit-content;
    border: none;
    padding: 2px;
    line-height: 1.2;
    width: 315px;
    margin-top: 0px;
    border-radius: 14px !important;
}

.lada-title-indicators-container {
    text-align: center;
    left: 580px;
    margin-top: -50px;
    position: absolute;
}


#lada-nav-circles {
    display: flex;          /* Enable flexbox */
    flex-direction: column; /* Stack children vertically */
    height: calc(100vh - 250px);          /* Set a height for the container */
    justify-content: space-between; /* Space between the children */
}

li.lada-property-category-list-item {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    display: block;
    border-radius: 7px;
    cursor: pointer;
}

li.lada-property-category-list-item.active-item {
    background-color: var(--green);
    font-weight: 600;
}

li.lada-property-category-list-item.selected-item {
    background-color: var(--light-gray);
}

li.lada-property-category-list-item > a {
    color: var(--black);
    text-decoration: none;
}

.lada-property-category-apply {
    background-color: var(--green);
}


#lada-property-category-select {
    display: block;
    font-size: 12px;
    color: var(--black);
    margin-top: -20px;
    position: absolute;
}

.upload-csv, .download-csv {
    display: none;
}

.lada-input:not(:disabled), .lada-vue-input:not(:disabled), .table-custom-input:not(:disabled) {
    background-color: #dbedeb;
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.lada-nav-secondary {
    background: #FFFFFF;
    border-radius: 7px;
    padding: 5px;
}

.lada-nav-secondary > ul {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    margin-left: 0px;
    padding-left: 0px;
}

.lada-nav-secondary > ul > li {
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 13px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 15px;
    font-weight: 400;
    color: var(--black);
    display: block;
    border-radius: 14px;
    color: var(--black);
    margin-left: 7px;
}

.lada-nav-secondary > ul > li:not(:has(label)) {
    
}

.lada-nav-secondary > ul > li > a {
    color: var(--black);
}

.lada-nav-secondary > ul > li > label {
    margin-bottom: 0px;
}

.lada-nav-secondary > ul > li:not(:first-child) {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-left: 16px;
}

.lada-nav-third {
    background: #FFFFFF;
    border-radius: 7px;
    margin-bottom: 10px;
    padding: 4px;
}

.lada-nav-third > a {
    width: 150px;
    text-align: center;
    position: relative;
    display: inline-block;
    color: var(--black);
}

/* when hovering the .lada-nav-third > a, add a small green line underneath */
.lada-nav-third > a:hover {
    text-decoration: none;
}
.lada-nav-third > a:hover:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* Set your fixed width here */
    height: 3px; /* Set the thickness of the underline */
    background-color: var(--dark-green); /* Set the color of the underline */
}

.lada-nav-third > a.active-item {
    font-weight: 600;
}

.lada-nav-third > a.active-item:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* Set your fixed width here */
    height: 3px; /* Set the thickness of the underline */
    background-color: var(--dark-green); /* Set the color of the underline */
}


.logout-link {
    font-size: 25px;
    padding: 0px !important;
}

.lada-nav-third:not(:has(a)) {
    display: none;
}


tr > th:first-child {
    border-top-left-radius: 7px;
}
tr > th:last-child {
    border-top-right-radius: 7px;
}

tr > td {
    background: #FFFFFF;
}

tr > th {
    background: #FFFFFF;
}

.col, 
.col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12,
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    padding-left: 7px;
    padding-right: 7px;
}

.row {
    margin-left: -7px;
    margin-right: -7px;
}

.left-sidebar {
    background-color: transparent;
    width: 250px;
    padding-left: 10px;
    padding-right: 0px;
}

.section-container {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    background: #FFFFFF;
}


.btn-green {
    padding: 8px;
    font-size: 10px;
    background-color: #dbedeb;
    cursor: pointer;
    border-radius: 14px;
}

.btn-gray {
    padding: 8px;
    font-size: 10px;
    background-color: var(--gray);
    cursor: pointer;
    border-radius: 14px;
}

.btn-red {
    padding: 8px;
    font-size: 10px;
    background-color: #ee4747;
    cursor: pointer;
    border-radius: 14px;
}


/* Hide the default checkbox */
.toggle-checkbox {
    display: none;
}

.ladaVueToggleModified {
    border-color: var(--light-blue) !important;
}

/* Create the toggle switch background */
.toggle-checkbox + label {
    margin-top: 2px !important;
    width: 60px !important;
    height: 24px !important;
    background-color: #ccc !important;
    border-radius: 24px !important;
    display: inline-block !important;
    position: relative !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin-bottom: -2px !important;
    border: 2px solid #ccc;
}

/* Create the circular part of the switch */
.toggle-checkbox + label::before {
    content: "" !important;
    width: 24px !important;
    height: 20px !important;
    background-color: #fff;
    border-radius: 50% !important;
    position: absolute !important;
    top: 0px !important;
    left: 2px !important;
    transition: transform 0.3s ease !important;
}

/* When the checkbox is checked, move the switch and change the background */
.toggle-checkbox:checked + label {
    background-color: #dbedeb !important;
    border-color: #dbedeb;
}

.toggle-checkbox:checked + label::before {
    transform: translateX(32px) !important;
}

.ladaTextRight {
    text-align: right;
}

.ladaNumeric {
    text-align: right;
    font-family: ;

}

.scenario-label {
    position: absolute;
    margin-top: -20px;
    font-size: 12px;
    margin-left: 9px;
}

.scenario-select {
    margin-left: 6px;
}

.property-select {
    margin-left: 4px;
}

.scenario-select-vue {
    margin-left: 6px !important;
}

.table-td-sticky {
  position: sticky;
  background-color: #ffffff;
  z-index: 101;
}

th.table-td-sticky {
    z-index: 102;
}

.lada-vue-table-select:not(:disabled) {
    background-color: transparent;
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-weight: 550;
    font-size: 18px;
    color: var(--black);
}


/* Temporary alert styling */
.copy-alert {
    position: absolute;
    margin-top: -22px;
    margin-left: 40px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.copy-alert.show {
    opacity: 1;

}


/* media queries < 1200px */
@media (max-width: 1600px) {
    .lada-key-indicator .lada-key-indicator-name, .lada-key-indicator .lada-vue-key-indicator-name {
        font-size: 14px !important;
    }

    .lada-key-indicator .lada-key-indicator-value, .lada-key-indicator .lada-vue-key-indicator-value {
        font-size: 24px !important;
    }
}

@media (max-width: 1200px) {
    /* hide the 3 last lada-title-indicator children */
    .lada-title-indicators-container > div:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 968px) {
    /* hide the 3 last lada-title-indicator children */
    .lada-title-indicators-container > div:nth-child(n+1) {
        display: none;
    }
}


/* Additional styles for small screens */
@media (max-width: 768px) {

  /* Default styles for larger screens */
  #lada-nav-circles, .left-sidebar {
      display: none;
  }

  main {
      display: block;
  }

  #lada-left-padder {
      padding-left: 0 !important;
  }

  .lada-nav-third {
      text-align: center;
  }

  .lada-nav-third > a {
      margin-top: 10px;
  }

  .row:has(.lada-overview-col) {
      display: block;
  }

  .navbar-brand > img {
      height: 35px;
  }

  /* Styles for when the navbar-toggler is clicked (e.g., toggle class on body or specific element) */
  body.nav-open #lada-nav-circles,
  body.nav-open .left-sidebar {
      display: block;
  }

  body.nav-open .left-sidebar {
      width: calc(100%);
  }

  body.nav-open main {
      display: none;
  }

  body.nav-open #lada-left-padder {
      padding-left: 60px !important;
  }


  #lada-nav-circles, .left-sidebar {
    display: none; /* Default state for small screens */
  }

  main {
      display: block;
  }

  .lada-title-indicators-container {
      display: none;
  }
}
/* Additional styles for small screens */
@media (max-width: 768px) {
    .property-select, .scenario-select {
        width: 190px !important;
    }
}


.lada-table-rentroll-vue {
    width: 100%;
    background-color: #FFFFFF;
    overflow: auto;
    height: calc(100vh - 300px);
}

.ladaRentRollTableIsLeftStickyLabelShown {}

.lada-rent-roll-td-sticky {
    position: sticky;
    background-color: #FFFFFF;
    z-index: 101;
    left: 0px;
    width: auto;
    white-space: nowrap;
}

.lada-search-match {
    border: 1px solid var(--black) !important;
}

#lada-rentroll-table td:nth-child(n+3) {
    min-width: 135px;
    max-width: 135px;
}

.lada-tranche-name:hover .lada-tranche-delete {
    visibility: visible !important;
}

.lada-link-black {
    color: var(--black);
}


#lada-tranche-table tr th:first-child, #lada-tranche-table tr td:first-child {
    width: 250px !important;
}

#lada-tranche-table input:disabled {
    opacity: 0;
}

.lada-cash-flow-function-row {
    cursor: pointer;
}

.lada-cash-flow-contract-row td {
    background: #F9F9F9 !important;
    font-style: italic;
}

.lada-cash-flow-contract-row td:first-child {
    padding-left: 35px !important;
}

.LadaCashFlowRowIsBold {
    font-weight: 600 !important;
}

.LadaCashFlowIsSum {
    border-top: 1px solid #cccccc;
}

#lada-cash-flow-table-vue td:first-child {
    min-width: 240px !important;
    position: sticky;
    background-color: #FFFFFF;
    z-index: 101;
    left: -20px;
    opacity: 0.9;
    width: auto;
    white-space: nowrap;

}

#lada-cash-flow-table-vue td {
    min-width: 73px;
}

.lada-vue-table-property-segment-assumptions {
    width: auto;
}

.lada-vue-table-property-segment-assumptions th:nth-child(n+1) {
    /*background: var(--dark-green);
    color: #FFFFFF;
    border-radius: 0px;*/
    font-weight: 600;
}

.lada-vue-table-property-segment-assumptions th:nth-child(n+3) {
    /*background: var(--green);
    color: #FFFFFF;
    border-radius: 0px;*/
    font-style: italic;
    font-weight: 400;
}


.lada-vue-table-property-segment-assumptions td:first-child {
    min-width: 240px;
    max-width: 240px;
    width: 240px;
}

.lada-vue-table-property-segment-assumptions td {
    min-width: 135px;
    max-width: 135px;
    width: 135px;
}


.lada-vue-table-responsive {
    width: 100%;
    background-color: #FFFFFF;
}


.lada-key-indicator-input {
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 14px !important;
    width: 100px !important;
    /* set the last character to a 16px */
}


.active-page {
    /*visibility: visible !important;*/
    display: block !important;
    opacity: 1 !important;
    /*position: relative !important; /* Restore normal positioning for the active tab */
}

.lada-page {
    /*position: absolute;*/
    display: none;
    /*top: 0;
    left: 0;*/
    /*visibility: hidden;*/
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* create a spinner */ 
.lada-loader-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.lada-filter-expander {
    font-size: 18px;
    cursor: pointer;
    line-height: 19px;
    float: right;
}

.lada-filter-group-new li {
    font-size: 13px !important;
}

/* all lis except the first should be slighly indented */

.lada-filter-counter {
    font-size: 9px;
    font-weight: 400;
    color: #FFFFFF;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 0px;
    background: var(--black);
    float: right;
    border-radius: 12px;
    margin-left: 3px;
}

.lada-filter-selection-new {
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
    margin-left: 2px;
    list-style-type: none;
    max-height: 0px;
    overflow: auto;
    transition: max-height 0.2s;
}

.lada-filter-selection-new-open {
    max-height: 300px;
    transition: max-height 0.4s;
}



.lada-filter-selection-new li {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 0px !important;
    white-space: nowrap; /* Prevent text from wrapping to a new line */
    overflow: hidden; /* Hide the overflowed text */
}

.lada-filter-option-label {
    display: inline-block;
    width: calc(100% - 26px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    padding-right: 6px;
    padding-top: 2px;
    margin-bottom: 5px;
}

.leaflet-control-attribution {
    display: none !important;
}


.lada-modal-backdrop, .lada-modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    visibility: hidden;
  }

  /* --- MODAL CONTAINER --- */
  .lada-modal {
    background-color: #fff;
    width: 520px;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 36px;
    font-size: 12px;
  }

  /* --- HEADER (TITLE) --- */
  .lada-modal-header {
    margin-bottom: 16px;
  }
  .lada-modal-header h2 {
    margin: 0;
    font-size: 12px;
    color: #333;
  }

  /* --- FOLDER LIST WRAPPER --- */
  .lada-folder-list {
    /* max height to screen height*/
    max-height: 700px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  /* --- EACH FOLDER GROUP --- */
  .lada-folder-group {
    margin-bottom: 8px;
  }

  .lada-folder-summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #2c3a4b;
    font-weight: 600;
    padding-bottom: 6px;
    padding-top: 6px;
    margin-top: 2px;
  }

.lada-folder-summary:hover {
    background: #EFEFEF;
}

  /* Optional arrow icon (you can replace with an actual icon) */
  .lada-folder-arrow {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #2c3a4b;
    margin-right: 8px;
    transition: transform 0.3s;
  }
  /* “Open” arrow could be rotated down if you add JS or details element behavior */
  .lada-folder-summary.open .lada-folder-arrow {
    transform: rotate(180deg);
  }

  .lada-folder-summary:hover .lada-folder-options {
    visibility: visible;
  }

  /* The 3-dot button next to the folder name for “Deals pipeline” */
  .lada-folder-options {
      margin-left: auto;
      margin-right: 10px;
      cursor: pointer;
      font-size: 20px;
      line-height: 20px;
      color: #999;
      visibility: hidden;
      padding-bottom: 10px;
  }

  /* --- SUBFOLDERS OR LIST ITEMS --- */
  .lada-subfolder-list {
      max-height: 0px;
      overflow: auto;
      list-style: none;
      padding: 0;
      color: #555;
      transition: max-height 0.2s;
    }

    .lada-subfolder-list-open {
        transition: max-height 1s;
        max-height: 300px;
    }

  .lada-subfolder-list li {
      padding: 8px 8px 8px 24px; /* indent */
      margin-bottom: 2px;
      margin-top: 2px;
      cursor: pointer;
  }

  .lada-subfolder-list li:hover {
      background: #EFEFEF;
  }

  /* --- FOOTER (BUTTONS) --- */
  .lada-modal-footer {
      display: flex;
      justify-content: space-between;
      margin-top: 16px;
  }
  .lada-btn {
      padding: 8px 12px;
      border: none;
      font-size: 14px;
      cursor: pointer;
      border-radius: 4px;
  }
  .lada-add-btn {
      background-color: var(--light-green);
      color: #fff;
  }

  .lada-close {
      float: right;
      cursor: pointer;
      font-size: 14px;
      color: #999;
  }

.lada-folder-expand-icon {
    color: var(--light-green);
    font-size: 16px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.lada-vue-portfolio-select {
    border-radius: 14px !important;
    font-size: 12px;
    
}

.lada-folder-counter, .lada-filter-counter {
    font-size: 9px;
    font-weight: 400;
    color: var(--black);
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 0px;
    background: var(--gray);
    border-radius: 12px;
    margin-left: 3px;
}

.lada-folder-options-menu {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 350px;
    margin-top: 100px;
}

.lada-folder-options-menu-item {
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.lada-folder-options-menu-item:hover {
    background-color: #f1f1f1;
}

.lada-folder-options-menu-delete-confirm {
    padding: 12px;
    max-width: 250px;
    cursor: default;
    text-align: center;
}

.lada-folder-options-menu-delete-info {
    padding: 12px;
    margin-bottom: 20px;
    cursor: default;
}


.ladaAnimateRotateArrow180Deg {
    transform: rotate(-180deg);
}

.lada-filter-group-new input[type="checkbox"] {
    margin-right: 2px;
    height: 12px;
    width: 12px;
    cursor: pointer;
    line-height: 14px;
}

.lada-filter-group-new input[type="checkbox"]:disabled {
    cursor: default;
    opacity: 0.6;
}

.lada-filter-group-new input[type="checkbox"]:disabled + label {
    color: #999999;
    cursor: default;
}

.lada-filter-group-new label {
    font-size: 13px;
    cursor: pointer;
    line-height: 20px;
}

.lada-filter-group-new  {
    margin-top: 0px;
    margin-bottom: 0px;
}


.lada-vue-input-range-value {
    display: inline-block;
    font-size: 11px;
    line-height: 30px;
    color: var(--black);
    position: absolute;
    margin-left: 2px;
    margin-top: 2px;
    width: 36px !important;
    min-width: 36px !important;
    border-radius: 0px;
}

.lada-vue-input[type=range] {
    appearance: none;
    -webkit-appearance: none;
    width: 140px !important;
    border-radius: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* WebKit-based browsers (e.g., Chrome, Safari) */
.lada-vue-input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Remove default styles */
    appearance: none;
    width: 20px; /* Thumb width */
    height: 20px; /* Thumb height */
    background: var(--black); /* Thumb color */
    border-radius: 50%; /* Make thumb circular */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background 0.3s, transform 0.2s;
  }
  
  /* Thumb hover effect */
  .lada-vue-input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2); /* Slightly enlarge the thumb */
  }
  
  /* Firefox */
  .lada-vue-input[type="range"]::-moz-range-thumb {
    width: 20px; /* Thumb width */
    height: 20px; /* Thumb height */
    background: var(--black); /* Thumb color */
    border-radius: 50%; /* Make thumb circular */
    border: 2px solid #fff; /* Optional border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background 0.3s, transform 0.2s;
  }
  
  /* Thumb hover effect for Firefox */
  .lada-vue-input[type="range"]::-moz-range-thumb:hover {
    background: #0056b3; /* Darker blue */
    transform: scale(1.2); /* Slightly enlarge the thumb */
  }

/*style the drag */

.lada-nav-secondary > ul > li:first-child {
    padding-left: 5px;
}

.lada-nav-secondary > ul > li:not(:first-child) {
    padding-left: 12px;
    margin-right: 5px;
}

.lada-filter-selection-new {
    padding-left: 7px;
}

#lada-map {
    border-radius: 7px;
}

.lada-table-title-with-toggle {
    padding-left: 80px;
}

.lada-spin > .lada-icon-container {
    animation: spin 1s infinite linear;
}

.lada-is-dead-end-row {
    background-color: #CCCCCC !important;
}

.lada-is-include-from-row {
    background-color: #C5E5DD !important;
}

.lada-property-image-upload {
    position: absolute;
    font-size: 20px;
    color: #666666;
    background: #FFFFFF;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 2px;
    opacity: 0.7;
    margin-left: 15px;
    margin-top: 15px;
}

.lada-property-image-upload:hover {
    opacity: 1;
    text-decoration: none;
}

option[value=""] {
    background-color: #EAEDEC !important;    
}

option[value="under_offer"] {
    background-color: #f6e49d !important;
}

option[value="let"], option[value="relet"] {
    background-color: #7dc4b2 !important;
}

.lada-vue-underwriting-input-table {
    width: 100%;
    background-color: #FFFFFF;
    overflow: visible;
}

.lada-vue-underwriting-input-table > tbody > tr > td:first-child {
    text-align: left !important;
}

.lada-vue-underwriting-input-table > tbody > tr > td:last-child {
    text-align: right !important;
}


.lada-vue-underwriting-input-table > tbody > tr > td:last-child {
    padding-right: 10px;
}

.lada-vue-underwriting-input-table tr:last-child td {
    padding-bottom: 9px;
}

.lada-vue-underwriting-output-table > tbody > tr > td:last-child, .lada-vue-underwriting-output-table > thead > tr > th:last-child {
    padding-right: 15px;
}

#lada-underwriting-cash-flow-table {
    white-space: nowrap; /* Prevent text wrapping */
    table-layout: auto;  /* Let it expand naturally */ 
}

#lada-underwriting-cash-flow-table td, #lada-underwriting-cash-flow-table th {
    white-space: nowrap; /* Also prevent wrapping inside cells */
}


.lada-rent-roll-row-current td {
    background-color: rgba(204, 204, 204, 1) !important;
}

.lada-rent-roll-row-recurring td {
    background-color: rgba(197, 229, 221, 1) !important;
}

.lada-rent-roll-row-discount td {
    background-color: rgba(255, 221, 221, 1) !important;
}

.lada-rent-roll-row-vacant td {
    background-color: #FFF3B0 !important; /* soft, warm yellow */
}

.lada-rent-roll-col-narrow {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
}

.lada-rent-roll-col-wide {
    width: 197px;
    min-width: 197px;
    max-width: 197px;
}

#lada-rent-roll-table .lada-vue-table th {
    white-space: normal;
    line-height: 1.4;
    word-break: normal;
    min-width: 75px;
}

#lada-rent-roll-table .lada-rent-roll-numeric-cell {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

#lada-rent-roll-table .lada-rent-roll-date-cell {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

#lada-rent-roll-table {
    position: relative;
}

#lada-rent-roll-table .lada-vue-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #FFFFFF;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
    vertical-align: top;
}

#lada-rent-roll-table .lada-vue-table thead th:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#lada-rent-roll-table .lada-vue-table thead th:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#lada-rent-roll-table .lada-vue-table tfoot td,
#lada-rent-roll-table .lada-vue-table tfoot th {
    position: sticky;
    bottom: 0;
    z-index: 4;
    background-color: #FFFFFF;
    border-top: 1px solid var(--gray);
    box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.05);
}

.lada-rent-roll-header-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lada-rent-roll-header-title {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#lada-rent-roll-table .lada-rent-roll-header-title.glossary-label-wrapper {
    cursor: pointer;
}

#lada-rent-roll-table tbody tr:nth-child(odd) td {
    background-color: #EAEDEC;
}

#lada-rent-roll-table tbody tr:nth-child(even) td {
    background-color: #FFFFFF;
}

#lada-rent-roll-table tbody tr {
    outline: 2px solid transparent;
    outline-offset: -2px;
    border-radius: 3px;
    position: relative;
    z-index: 1;
}

#lada-rent-roll-table tbody tr::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 3px;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 250;
}

#lada-rent-roll-table tbody tr:hover,
#lada-rent-roll-table tbody tr:focus-within {
    outline-color: #01B974;
    z-index: 200;
}

#lada-rent-roll-table tbody tr:hover::after,
#lada-rent-roll-table tbody tr:focus-within::after,
#lada-rent-roll-table tbody tr.is-selected::after,
#lada-rent-roll-table tbody tr.selected::after,
#lada-rent-roll-table tbody tr[aria-selected="true"]::after {
    border-color: #01B974;
}

#lada-rent-roll-table tbody tr:nth-child(odd):not(.lada-rent-roll-row-current):not(.lada-rent-roll-row-recurring):not(.lada-rent-roll-row-discount):not(.lada-rent-roll-row-vacant):hover td {
    background-color: #EAEDEC !important;
}

#lada-rent-roll-table tbody tr:nth-child(even):not(.lada-rent-roll-row-current):not(.lada-rent-roll-row-recurring):not(.lada-rent-roll-row-discount):not(.lada-rent-roll-row-vacant):hover td {
    background-color: #FFFFFF !important;
}

#lada-rent-roll-table tbody tr.lada-rent-roll-row-current:hover td {
    background-color: rgba(204, 204, 204, 1) !important;
}

#lada-rent-roll-table tbody tr.lada-rent-roll-row-recurring:hover td {
    background-color: rgba(197, 229, 221, 1) !important;
}

#lada-rent-roll-table tbody tr.lada-rent-roll-row-discount:hover td {
    background-color: rgba(255, 221, 221, 1) !important;
}

#lada-rent-roll-table tbody tr.lada-rent-roll-row-vacant:hover td {
    background-color: #FFF3B0 !important;
}

.lada-no-wrap {
  border-collapse: collapse;
  width: max-content;          /* krymp/expandera till innehållets bredd */ 
  min-width: 100%;   
}

.lada-no-wrap td {
    white-space: nowrap; /* Prevent text wrapping */
    max-width: 25ch;       /* roughly 30 characters */
    white-space: nowrap;   /* prevent line breaks */
    overflow: hidden;      /* hide extra text */
    text-overflow: ellipsis; /* add "..." if it overflows */
}

#lada-rent-roll-table td:not(.lada-rent-roll-td-sticky),
#lada-rent-roll-table th:not(.lada-rent-roll-td-sticky) {
  padding-left: 25px;
}

#lada-rent-roll-table td.lada-rent-roll-td-sticky + td:not(.lada-rent-roll-td-sticky),
#lada-rent-roll-table th.lada-rent-roll-td-sticky + th:not(.lada-rent-roll-td-sticky) {
  padding-left: 25px; /* only the first non-sticky after the sticky */
}

#lada-rent-roll-table td:not(.lada-rent-roll-td-sticky) ~ td:not(.lada-rent-roll-td-sticky),
#lada-rent-roll-table th:not(.lada-rent-roll-td-sticky) ~ th:not(.lada-rent-roll-td-sticky) {
  padding-left: 0; /* reset later non-stickies */
}

#lada-rent-roll-table .lada-rent-roll-property-column {
  max-width: 260px;
}

#lada-rent-roll-table td.lada-rent-roll-property-column {
  white-space: nowrap;
}

#lada-rent-roll-table td.lada-rent-roll-property-column .lada-rent-roll-property-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
}

#lada-rent-roll-table .lada-rent-roll-text-cell:not(.lada-rent-roll-property-column) {
  min-width: 180px;
  max-width: 260px;
}

#lada-rent-roll-table .lada-rent-roll-text-cell:not(.lada-rent-roll-property-column) .lada-rent-roll-text-wrapper {
  display: inline-flex;
  max-width: 100%;
  width: 100%;
}

#lada-rent-roll-table .lada-rent-roll-text {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#lada-rent-roll-table .lada-rent-roll-compact-column {
  width: 110px;
  min-width: 110px;
  max-width: 110px;
}

#lada-rent-roll-table .lada-rent-roll-compact-column .lada-rent-roll-header-cell {
  align-items: flex-end;
}

#lada-rent-roll-table .lada-rent-roll-compact-column.lada-rent-roll-text-cell:not(.lada-rent-roll-property-column) {
  min-width: 110px;
  max-width: 110px;
}

#lada-rent-roll-table .lada-rent-roll-compact-column .lada-rent-roll-text-wrapper {
  justify-content: flex-end;
}

#lada-rent-roll-table .lada-rent-roll-compact-column .lada-rent-roll-text {
  text-align: right;
  width: 100%;
}

.lada-rent-roll-subtotal {
    border-top: 1px solid #cccccc;
    font-weight: 800 !important;
}

.lada-vue-table > tbody > tr >td.lada-rent-roll-subtotal-per-property {
    border-top: 1px solid #2c363f;
    border-bottom: 1px solid #2c363f;
    --background-color: #2c363f;
    --color: #FFFFFF;
}

.lada-vue-table > tbody > tr > td.lada-rent-roll-subtotal-per-property:hover {
    color: var(--black) !important;
}

.lada-refresh-message {
    position: absolute;
    z-index: 1000;
    background-color: #FFFFFF;
    padding: 5px;
    color: #FF0000;
    width: 200px;
}

 .lada-lease-calculator-result-row {
    border-top: 1px solid var(--gray);
    font-weight: bold;
 }


.lada-select-turnover-contract {
    max-width: 25ch;       /* roughly 25 characters */
    white-space: nowrap;   /* prevent line breaks */
    overflow: hidden;      /* hide extra text */
    text-overflow: ellipsis; /* add "..." if it overflows */
}
