/* Sourcing */
.producer-container {
    min-height: 100vh;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    font-size: 14px;
}
.producer-title {
    font-size: 21px;
    color: #004aad;
}
.producer-title a {
    color: inherit !important;
}
.producer-link {
    font-size: 18px;
    color: #004aad;
}
.producer-link a {
    color: inherit !important;
}
.producer-table-title {
    font-size: 16px;
    color: #004aad;
    padding: 2px 10px;
    background-color: rgba(0, 0, 0, .05);
    width: fit-content;
    border-radius: 5px;
}
.circularity-title-main {
    font-size: 16px;
    color: #000;
    padding: 0 10px;
    background-color: transparent;
    width: fit-content;
    border-radius: 5px;
    border: 2px solid #004aad;
}

.producer-table-subtitle {
    background-color: rgba(0, 0, 0, .05);
    width: fit-content;
    border-radius: 5px;
    padding: 2px 10px;
}
.producer-table-subtitle{
    font-size: 16px;
    color: #004aad;
}
.producer-table-p {
    font-size: 14px;
}
@media screen and (max-width: 700px) {
    .producer-table-p {
        font-size: 12px;
    }
    .td-content {
        max-height: 45px;
        overflow-y: auto;
        padding-right: 6px !important;
        display: block;
    }
}
.producer-keyword-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 10px;
    background: #fff;
    padding: 10px 0 5px;
    z-index: 99;
    position: sticky;
    top:143px;
}

.breadcrumb-sec {
    position: sticky;
    top: 58px;
    background: #fff;
    z-index: 1;
}
.logged-in .breadcrumb-sec {
    top: 71px;
}
.producer-title {
    position: sticky;
    top: 83px;
    background: #fff;
    z-index: 999;
    height: 60.5px ;
    display: flex;
    align-items: center;
    padding-right: 10px
}
.logged-in .producer-title {
    top: 96px;
}
.logged-in .producer-keyword-slider {
    top: 157px;
}
.producer-keyword a {
    padding: 0 25px 0 0;
    font-size: 16px;

}
.producer-keyword a {
    color: inherit !important;
}
.producer-keyword a.active {
    border-bottom: 2px solid #004aad;
}
/* .producer-keyword:hover , .producer-keyword:has( a.active) {
    color: #004aad;
} */

.producer-keyword-slider::-webkit-scrollbar {
  display: none;
}

table {
    border: 1px solid #dee2e6;
}
.table td, .table th {
    vertical-align: middle;
    text-align: left;
    white-space: nowrap;
}
.table td.sticky ,.table th.sticky {
    position: sticky;
    left: 0;
    background: #fff;
    width: 185px;
    white-space: pre-wrap;
    min-width: 185px;
}
.table td.unit ,.table th.unit {
    text-align: right;
    width: 60px;
    min-width: 60px;
    position: sticky;
    left: 185px;
    background: #fff;
    white-space: pre-wrap;
}
.table td.value ,.table th.value {
    width: 120px;
    text-align: center;
}
.max-width-page {
    max-width: 550px;
}

.card {
    box-shadow: -1px 1px 20px -7px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -1px 1px 20px -7px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 1px 20px -7px rgba(0,0,0,0.75);
    border-radius: 12px;
    padding: 15px;
}

.scroll-anchor {
    display: block;
    height: 1px; /* Not zero */
    scroll-margin-top: 200px;
}
html {
    scroll-behavior: smooth;
}
.inside-card {
    /* border: 2px solid #004aad; */
    border-radius: 10px;
    box-shadow: -1px 1px 20px -7px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -1px 1px 20px -7px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 1px 20px -7px rgba(0,0,0,0.75);
}
@media screen and (max-width: 700px) {
    .card {
        font-size: 12px;
    }
    .producer-title {
        border-bottom: 1px solid #f0f0f0;
    }
    .circularity-operations {
        padding: 0;
    }
}

.responsible-search-results.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99999;
  width: 100%;
}
.responsible-search-results ul {
    width: 100%;
    max-width: 280px;
    padding: 0;
    background-color: #fff;
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
}
.responsible-search-results ul:has( li) {
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
}
.responsible-search-results ul li {
    list-style-type: none;
    text-align: left;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    text-transform: none;
}
.responsible-search-results ul li a {
    color: inherit !important;

}
.responsible-search-results ul li:hover {
    background-color: #004aad99;
    color: #fff;
}
.responsible-search-results ul::-webkit-scrollbar {
  width: 10px;
}

.responsible-search-results ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.responsible-search-results ul::-webkit-scrollbar-thumb {
  background: grey;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.responsible-search-results ul::-webkit-scrollbar-thumb:hover {
  background: gray;
}
.producer-title > span {
    /* flex: 1; */
    margin-right: 10px;
}
.responsible-search {
    width: fit-content;
    /* margin: 30px auto; */
}
.responsible-search .close-search-icon svg {
    height: 15px;
    width: 15px;
    fill: #737373;
}
.responsible-search .search-icon svg{
    height: 15px;
    width: 15px;
    fill: #545454;
}
.responsible-search .search-icon {
    top: 1px;
    left: 6px;
}
.responsible-search .close-search-icon {
    top: 1px;
    right: 10px;
}
.responsible-search input {
    color: #545454;
    font-size: 14px;
    padding: 5px 5px 5px 22px;
    border: 2px solid #737373 !important;
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    outline: none;
}

.search-input:placeholder-shown + .search-icon + .close-search-icon {
    display: none;
}

/* Show it when user types something (i.e., placeholder is hidden) */
.search-input:not(:placeholder-shown) + .search-icon + .close-search-icon {
    display: block;
}
@media screen and (max-width: 942px) {
    .logged-in .breadcrumb-sec {
        top: 58px;
    }
    .logged-in .producer-title {
        top: 84px;
    }
    .logged-in .producer-keyword-slider {
        top: 144px;
    }
    .sticky-res-btn {
        position: fixed;
        top: 50%;
        rotate: -90deg;
        right: -81px;
    }
    .sticky-res-btn a {
        font-size: 12px !important;
        border-radius: 20px 20px 0 0;
        gap: 0;
    }
    .approved-btn span {
        display: none;
    }
    span .approved-btn {
        border: none !important;
    }
    span .approved-btn:after {
        height: 28px !important;
    }
}

@media screen and (max-width: 624px) {
    .responsible-search {
        position: fixed !important;
        top: 58px;
        left: 0;
        width: 100%;
        background: black;
        z-index: 9999;
        padding: 10px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .responsible-search input {
        max-width: 100%;
    }

    .responsible-search.active {
        display: flex; /* Keep this to make it visible */
        max-height: 500px; /* Adjust based on your content */
        opacity: 1;
    }

    .responsible-search .search-icon {
        top: 12px;
        left: 16px;
    }

    .responsible-search .close-search-icon {
        top: 12px;
        right: 16px;
    }

    .responsible-search-results.dropdown {
        width: 100%;
        position: relative;
        margin-top: 5px;
    }
    .responsible-search-results.dropdown ul {
        max-width: none;
        border-radius: 10px;
    }
}
.chart-border {
    border: 1px solid #dee2e6;
    /* border-radius: 10px; */
}
@media screen and (max-width: 768px) {
    .table.initiative-table thead {
        display: none;
    }

    .table.initiative-table,
    .table.initiative-table tbody,
    .table.initiative-table tr,
    .table.initiative-table td {
        display: block;
        width: 100%;
        padding: 3px;
    }

    .table.initiative-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        background: white;
    }

    .table.initiative-table td {
        text-align: left;
        padding: 12px 15px;
        position: relative;
        border-bottom: 1px solid #e0e0e0;
        border-top: 0;
    }

    .table.initiative-table td:last-child {
        border-bottom: none;
    }

    .table.initiative-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #2c3e50;
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        text-transform: uppercase;
    }

}