.sw-pay {
    margin: 0 auto;
    padding: 100px 0;
    background: #EFF1FB;
}
.sw-pay__container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
}
.sw-pay__header {
    text-align: center;
    margin-bottom: 30px;
}
.sw-pay__title {
    font-size: 38px;
    font-weight: 600;
    color: #000000;
    margin: 0 auto;
    line-height: 48px;
    max-width: 787px;
}

/* Table wrapper */
.sw-pay__table-wrap {
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(7px);
    box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.87);
  	overflow-x: auto;
}
.sw-table-box {
    min-width: 1122px;
}

/* Header row */
.sw-pay__head {
    display: grid;
    grid-template-columns: 28% 14% 13% 15% 16% 14%;
    background: rgba(249, 250, 251, 1);
}
.sw-pay__head-col {
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 21px;
    border-right: 1px dashed rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(226, 232, 240, 1);
}
.sw-pay__head-col:last-child {
    border-right: none;
    border-radius: 0 16px 0 0;
}
.sw-pay__col--saving {
    color: #16a34a;
    font-weight: 600;
}

/* Data rows */
.sw-pay__row {
    display: grid;
    grid-template-columns: 28% 14% 13% 15% 16% 14%;
}
.fee-editor-active .sw-pay__row {
    padding: 10px !important;
}
.sw-pay__row:nth-child(odd) {
    background: rgba(249, 250, 251, 1);
}
.sw-pay__row:last-child {
    border-bottom: none;
}
.sw-pay__cell {
    padding: 15px 16px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.80);
    line-height: 22px;
    font-weight: 400;
    border-right: 1px dashed rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(243, 244, 246, 1);

}
.sw-pay__cell:last-child {
    border-right: none;
}
.sw-pay__cell--need {
    font-weight: 500;
}
.sw-pay__row:last-child .sw-pay__cell:not(.sw-pay__feat--bottom) {
    border-bottom: none;
}
.sw-pay__row:last-child .sw-pay__cell:last-child {
    border-radius: 0 0 16px 0;
}

/* Blue border around Stockwise columns */
.sw-pay__feat--left {
    border-left: 2px solid #3d6ef5 !important;
}
.sw-pay__feat--right {
    border-right: 2px solid #3d6ef5 !important;
}
.sw-pay__feat--top {
    border-top: 2px solid #3d6ef5;
}
.sw-pay__feat--bottom {
    border-bottom: 2px solid #3d6ef5;
}

.fee .sw-pay__feat--bottom,
.fee .sw-pay__feat--top,
.fee .sw-pay__feat--right,
.fee .sw-pay__feat--left{
    border: 0 !important;
}

/* Footer note */
.sw-pay__footer {
    text-align: center;
    margin-top: 24px;
    font-style: italic;
}
.sw-pay__footer p {
    text-align: center;
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(0, 0, 0, 1);
    font-style: italic;
    line-height: 25px;
    font-weight: 400;
}
.sw-pay__footer p:last-child {
  margin: 0 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sw-pay__head-col,
    .sw-pay__cell {
        padding: 10px 10px;
        font-size: 0.78rem;
    }
}
@media (max-width: 767px) {
    .sw-pay {
        padding: 56px 0;
    }
    .sw-pay__container {
        padding: 0 20px;
    }
    .sw-pay__title {
        font-size: 26px;
    }
}
