@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,600&display=swap');
.sip-matrix-wrapper {
    background-color: #ffffff;
    margin: 40px 0;
    font-family: 'Poppins', sans-serif;
    color: #888888;
    background-image: url('./background.png');
    background-size: contain;
}

.header-fixed { 
    position: fixed; 
    top: 0px; 
    display: none;
    background-color:white;
}

.checkbox-wrapper .checkbox {
    border-radius: 20px;
    background-color: #F3F3F3;
    border: 1px solid #CCC;
    padding: 5px;
    width: 164px;
    margin: 0;
    height: 34px;
    vertical-align: middle;
    text-align: center;
}
select {
    width: 125px;
    padding: 5px 5px 5px 5px;
    font-size: 14px;
    border: 1px solid #CCC;
    height: 34px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('./down-arrow.svg');
    background-repeat: no-repeat;
    background-position: right;
    background-position-x: 90%;
    background-color: #f3f3f3;
    border-radius: 20px;
    text-align-last: center;
    color: #187AF9;
}

select::-ms-expand {
    display: none;
}

select:disabled {
    opacity: 0.4;
}

select:focus-visible {
    outline: 0;
}

.p-0 {
    padding: 0;
}

@media screen and (min-width:0\0) {
    select {
        background: none\9;
        padding: 5px\9;
    }
}

.table-wrapper-body.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.table-wrapper {
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #C6C6C6;
    border-radius: 15px;
    overflow: auto;
    box-shadow:  0px 15px 30px #0000001C;;
}

.table-wrapper .table {
    margin-bottom: 0;
    text-transform: capitalize;
    position: relative;
}

.table-wrapper {
    overflow: scroll;
    position: relative;
}

table {
    position: relative;
    border-collapse: collapse;
}

td,
th {
    padding: 0.25em;
}

.table-wrapper-head tbody tr {
    display: flex;
}

.table-wrapper-head tbody td:first-child {
    left: 0;
    color: inherit;
    z-index: 1;
    width: 120px;
}

.table-wrapper-head tbody td {
    position: -webkit-sticky;
    /* for Safari */
    position: sticky;
    top: -1px;
    background-color: #fff;
    color: #187AF9;
    text-align: center;
}

.table-wrapper-body {
    margin-top: 0;
    border-top-left-radius: unset;
    border-top-right-radius: unset;
    border-top: unset;
    cursor: pointer;
}

.table-wrapper-body table {
    table-layout: fixed;
}

tbody tr td:first-child {
    position: -webkit-sticky;
    /* for Safari */
    position: sticky;
    left: -1px;
    width: 120px;
    height: 52px;
    text-align: center;
    color: #414141;
    background: white;
}

tbody tr td {
    width: 85px;
}

.heading-wrapper h2 {
    color: #888888;
}

.sub-heading {
    color: #a4a4a4;
    font-size: 18px;
    margin: 15px 0;
}

.sub-heading a:focus {
    outline: 0;
}

.sub-heading img {
    vertical-align: middle;
}

.filter-wrapper {
    margin-bottom: 20px;
}

.filter-wrapper .row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0;
}

.h-position {
    position: absolute;
    top: 500px;
    cursor: pointer;
}

.left {
    left: 0;
}

.left svg {
    float: right;
}

.right{
    right: 0;
    margin-left: 16px;
}

.m-0 {
    margin: 0;
}

.my-2 {
    margin: 10px 0;
}

.invalid {
    color: red;
    font-size: 12px;
    display: none;
}

.b-grey {
    background: rgb(213 213 213 / 100%) !important;
    font-size: 16px;
    color: #414141 !important;
}

.d-flex {
    display: flex;
}

.amount-input-box {
    margin-left: 15px;
    display: none;
}

.amount-input-box label {
    margin-top: 6px;
    font-weight: 400;
}

.amount-input {
    width: 102px !important;
    margin-left: 10px !important;
    border-radius: 20px !important;
}

.pl-0 {
    padding-left: 0;
}

.indiv-filter {
    display: flex;
    align-items: center;
}

.button-wrapper {
    background-color: #F3F3F3;
    padding: 5px 0px;
    border-radius: 20px;
}

.button-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.indiv-button-filter-item {
    padding: 10px 20px;
    background-color: transparent;
    border-radius: 20px;
    cursor: pointer;
}

.apply-btn {
    padding: 6px 20px;
    background-color: #0077ff;
    border: #0077ff;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    margin-left: 10px;
}

.indiv-button-filter-item.selected {
    background-color: #0077ff;
    color: #fff;
}

.legend-download-wrapper {
    padding: 40px 0 0 8%;
}

.legends-wrapper {
    display: flex;
}

.indiv-legend {
    display: flex;
    margin-right: 20px;
}

.indiv-legend .legend-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 10px;
}

.table-wrapper-head tbody td {
    border-bottom: 0 !important;
}

.indiv-box {
    width: 64px;
    height: 30px;
    border-radius: 8px;
    padding: 5px 0px;
    display: block;
}

.white {
    color: #fff;
}

.green {
    background-color: #00b75d
}

.dark-grey {
    background-color: #a4a4a4;
}

.amber {
    background-color: #f18100;
}

.red {
    background-color: #f35158;
}

.how-returns-computed-wrapper {
    padding-top: 40px;
}

.how-returns-computed-wrapper .description {
    padding-top: 20px;
    font-size: 12px;
    width: 80%;
    margin: auto;
}

.table-wrapper-head {
    position: sticky;
    top: 0;
    z-index: 999;
    margin: 0;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: unset !important;
    border-bottom-left-radius: unset !important;
    box-shadow:  0px 15px 30px #0000001C;;
    overflow: hidden;
}

.return-toggle-btn {
    width: 70%;
}

.toggle-btn-wrapper {
    justify-content: revert;
    align-items: center;
}



/* Media Queries */
@media only screen and (max-width: 786px) {
    .filter-wrapper .row {
        flex-direction: column;
    }

    .indiv-filter {
        margin-bottom: 20px;
    }

    .legend-download-wrapper {
        padding: 40px 0 0 0;
    }

    .return-toggle-btn, .toggle-btn-wrapper {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .return-toggle-btn {
        width: 100%;
    }
}
