.contract-withdrawal-page {
    box-sizing: border-box;
    max-width: 900px;
    margin: 30px auto 60px;
    color: #303030;
    font-size: 14px;
    line-height: 1.45;
}

.contract-withdrawal-page *,
.contract-withdrawal-page *:before,
.contract-withdrawal-page *:after {
    box-sizing: border-box;
}

.contract-withdrawal-page .page-title {
    margin: 0 0 12px;
    border: 0;
}

.contract-withdrawal-page .page-title h1 {
    margin: 0;
    color: #222;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
}

.contract-withdrawal-page .cw-button--primary{
    color: #fff;
}

.cw-page-header {
    margin-bottom: 24px;
}

.cw-intro p {
    margin: 0 0 12px;
}

.cw-submissions-link {
    display: inline-block;
    margin-top: 4px;
    color: #4169e1;
    font-weight: 600;
}

.cw-process {
    display: flex;
    margin: 0 0 16px;
    padding: 0;
    overflow: hidden;
    list-style: none;
    border: 1px solid #e1e4df;
    border-radius: 8px;
    background: #fff;
}

.cw-process__step {
    position: relative;
    display: flex;
    flex: 1 1 25%;
    min-width: 0;
    min-height: 150px;
    padding: 22px 18px 18px;
    flex-direction: column;
}

.cw-process__step + .cw-process__step {
    border-left: 1px solid #e7e9e5;
}

.cw-process__number {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #4169e1;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cw-process__icon {
    min-height: 42px;
    margin: 0 0 12px 30px;
    color: #343434;
    font-size: 35px;
    line-height: 1;
}

.cw-process__step strong {
    display: block;
    margin-bottom: 7px;
    color: #222;
    font-size: 13px;
}

.cw-process__step > span:last-child {
    color: #5c5c5c;
    font-size: 11px;
    line-height: 1.35;
}

.cw-return-address,
.cw-important,
.cw-privacy {
    display: flex;
    align-items: flex-start;
    border: 1px solid #e1e4df;
    border-radius: 8px;
    background: #fff;
}

.cw-return-address {
    margin-bottom: 20px;
    padding: 18px 22px;
}

.cw-return-address__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    margin-right: 15px;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 50%;
    background: #4169e1;
    color: #fff;
    font-size: 21px;
}

.cw-return-address strong,
.cw-important strong {
    color: #222;
}

.cw-return-address p,
.cw-important p,
.cw-privacy p {
    margin: 3px 0 0;
}

.cw-section {
    margin-bottom: 12px;
    padding: 20px 22px 22px;
    border: 1px solid #e1e4df;
    border-radius: 8px;
    background: #fff;
}

.cw-section__title {
    display: flex;
    margin: 0 0 18px;
    align-items: center;
    color: #242424;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.cw-section__title > span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #4169e1;
    color: #fff;
    font-size: 12px;
}

.cw-grid {
    display: flex;
    margin: 0 -10px -16px;
    flex-wrap: wrap;
}

.cw-field {
    width: 50%;
    margin-bottom: 16px;
    padding: 0 10px;
}

.cw-field--full {
    width: 100%;
}

.cw-section > .cw-field {
    padding: 0;
}

.cw-field label {
    display: block;
    margin: 0 0 6px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}

.cw-field label em,
.cw-submit .required em {
    margin-right: 3px;
    color: #d51b1b;
    font-style: normal;
}

.contract-withdrawal-page .cw-field input.input-text,
.contract-withdrawal-page .cw-field select,
.contract-withdrawal-page .cw-field textarea {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #d8dcd5;
    border-radius: 3px;
    background: #fff;
    color: #2f2f2f;
    font: inherit;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.contract-withdrawal-page .cw-field select {
    padding-right: 32px;
}

.contract-withdrawal-page .cw-field textarea {
    min-height: 82px;
    resize: vertical;
}

.contract-withdrawal-page .cw-field input:focus,
.contract-withdrawal-page .cw-field select:focus,
.contract-withdrawal-page .cw-field textarea:focus,
.cw-products input:focus {
    border-color: #4169e1;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, .15);
}

.cw-lookup-message {
    margin-top: 6px;
    padding: 7px 9px;
    font-size: 12px;
}

.cw-table-wrap {
    width: 100%;
    margin-bottom: 12px;
    overflow-x: auto;
}

.cw-products {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #dde0da;
}

.cw-products th,
.cw-products td {
    padding: 7px 8px;
    border: 1px solid #dde0da;
    vertical-align: middle;
}

.cw-products th {
    background: #f7f8f6;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}

.cw-products th:nth-child(1) { width: 39%; }
.cw-products th:nth-child(2) { width: 20%; }
.cw-products th:nth-child(3) { width: 11%; }
.cw-products th:nth-child(4) { width: 20%; }
.cw-products th:nth-child(5) { width: 10%; }

.cw-products input.input-text {
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid #d8dcd5;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

.cw-remove {
    display: inline-flex;
    width: 32px;
    height: 32px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #555;
    cursor: pointer;
    font-size: 16px;
}

.cw-remove:hover,
.cw-remove:focus {
    color: #b72020;
}

.cw-remove__label {
    display: none;
}

.cw-button {
    display: inline-flex;
    min-height: 38px;
    padding: 9px 15px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color .15s ease, border-color .15s ease;
}

.cw-button .fa {
    margin-right: 7px;
}

.cw-button--secondary {
    border: 1px solid #cdd1c9;
    background: #fff;
    color: #333;
}

.cw-button--secondary:hover,
.cw-button--secondary:focus {
    border-color: #4169e1;
    color: #3158c7;
}

.cw-submit {
    padding: 8px 0 24px;
    text-align: center;
}

.cw-submit .required {
    margin: 0 0 10px;
    color: #666;
    font-size: 11px;
}

.cw-button--primary {
    min-width: 330px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #3158c7;
    background: #4169e1;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(65, 105, 225, .18);
}

.cw-button--primary .fa {
    margin: 0 0 0 18px;
}

.cw-button--primary:hover,
.cw-button--primary:focus {
    border-color: #28489a;
    background: #3154b8;
    color: #fff;
}

.cw-important {
    margin-bottom: 12px;
    padding: 17px 20px;
}

.cw-important__icon {
    margin: 1px 13px 0 0;
    color: #3e3e3e;
    font-size: 24px;
}

.cw-privacy {
    padding: 18px 20px;
    border-color: #d6def8;
    border-left: 5px solid #4169e1;
    background: #f5f7ff;
}

.cw-privacy__icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #4169e1;
    color: #fff;
    font-size: 14px;
}

.cw-privacy a {
    color: #3158c7;
    font-weight: 700;
}

.cw-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.cw-confirm-intro {
    margin: 0 0 20px;
}

.cw-summary {
    display: flex;
    margin: 0 -12px -18px;
    flex-wrap: wrap;
}

.cw-summary > div {
    width: 50%;
    margin: 0 0 18px;
    padding: 0 12px;
}

.cw-summary > .cw-summary__full {
    width: 100%;
}

.cw-summary dt {
    margin: 0 0 4px;
    color: #686868;
    font-size: 11px;
    font-weight: 600;
}

.cw-summary dd {
    margin: 0;
    color: #252525;
    font-size: 14px;
}

.cw-products--summary th:nth-child(1) { width: 45%; }
.cw-products--summary th:nth-child(2) { width: 25%; }
.cw-products--summary th:nth-child(3) { width: 15%; }
.cw-products--summary th:nth-child(4) { width: 15%; }

.cw-declaration {
    display: flex;
    margin: 0 0 18px;
    padding: 16px 18px;
    align-items: center;
    border: 1px solid #d6def8;
    border-radius: 6px;
    background: #f5f7ff;
}

.cw-declaration .fa {
    margin-right: 10px;
    color: #4169e1;
    font-size: 22px;
}

.cw-declaration p {
    margin: 0;
}

.cw-confirm-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cw-confirm-actions .cw-button--secondary .fa {
    margin: 0 8px 0 0;
}

.cw-confirm-actions a.cw-button--secondary {
    color: #333;
    text-decoration: none;
}

.cw-page-toolbar,
.cw-view-header {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cw-page-toolbar .page-title,
.cw-view-header .page-title {
    margin-bottom: 7px;
}

.cw-page-toolbar p,
.cw-view-header p {
    margin: 0;
    color: #666;
}

.cw-page-toolbar .cw-button .fa {
    margin: 0 8px 0 0;
}

.cw-button--compact {
    min-width: 0;
    min-height: 42px;
    padding: 10px 18px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
}

.cw-button--compact:hover,
.cw-button--compact:focus {
    color: #fff;
    text-decoration: none;
}

.cw-withdrawal-list th:nth-child(1) { width: 23%; }
.cw-withdrawal-list th:nth-child(2) { width: 19%; }
.cw-withdrawal-list th:nth-child(3) { width: 18%; }
.cw-withdrawal-list th:nth-child(4) { width: 25%; }
.cw-withdrawal-list th:nth-child(5) { width: 15%; }

.cw-withdrawal-list td {
    padding-top: 13px;
    padding-bottom: 13px;
}

.cw-status {
    display: inline-flex;
    min-height: 26px;
    padding: 4px 10px;
    align-items: center;
    border-radius: 13px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.cw-status--large {
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
}

.cw-details-link {
    color: #3158c7;
    font-weight: 700;
    white-space: nowrap;
}

.cw-details-link .fa {
    margin-left: 6px;
}

.cw-empty-state {
    padding: 50px 25px;
    border: 1px solid #e1e4df;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.cw-empty-state__icon {
    margin-bottom: 14px;
    color: #4169e1;
    font-size: 44px;
}

.cw-empty-state h2 {
    margin: 0 0 8px;
    color: #252525;
    font-size: 20px;
}

.cw-empty-state p {
    margin: 0 0 22px;
    color: #666;
}

.cw-view-actions {
    margin-top: 18px;
}

.cw-view-actions .cw-button {
    color: #333;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    .contract-withdrawal-page {
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .contract-withdrawal-page .page-title h1 {
        font-size: 25px;
    }

    .cw-process {
        flex-wrap: wrap;
    }

    .cw-process__step {
        flex-basis: 50%;
        min-height: 145px;
    }

    .cw-process__step + .cw-process__step {
        border-left: 0;
    }

    .cw-process__step:nth-child(even) {
        border-left: 1px solid #e7e9e5;
    }

    .cw-process__step:nth-child(n+3) {
        border-top: 1px solid #e7e9e5;
    }

    .cw-section {
        padding: 18px 14px;
    }

    .cw-grid {
        display: block;
        margin: 0;
    }

    .cw-field {
        width: 100%;
        padding: 0;
    }

    .cw-products,
    .cw-products tbody,
    .cw-products tr,
    .cw-products td {
        display: block;
        width: 100%;
    }

    .cw-products {
        border: 0;
    }

    .cw-products thead {
        display: none;
    }

    .cw-products tr {
        margin-bottom: 12px;
        padding: 8px 10px;
        border: 1px solid #dde0da;
        border-radius: 5px;
        background: #fafbf9;
    }

    .cw-products td {
        display: flex;
        padding: 5px 0;
        align-items: center;
        border: 0;
    }

    .cw-products td:before {
        width: 82px;
        padding-right: 10px;
        flex: 0 0 82px;
        color: #444;
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
    }

    #contract-withdrawal-items td:last-child {
        justify-content: flex-end;
    }

    #contract-withdrawal-items td:last-child:before {
        display: none;
    }

    .cw-remove {
        width: auto;
        padding: 5px 2px;
        color: #9a2525;
        font-size: 12px;
    }

    .cw-remove .fa {
        margin-right: 5px;
    }

    .cw-remove__label {
        display: inline;
    }

    .cw-button--primary {
        width: 100%;
        min-width: 0;
    }

    .cw-summary {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

    .cw-summary > div {
        width: 100%;
        padding: 0;
    }

    .cw-confirm-actions {
        display: flex;
        flex-direction: column-reverse;
    }

    .cw-confirm-actions .cw-button {
        width: 100%;
    }

    .cw-confirm-actions .cw-button--secondary {
        margin-top: 10px;
    }

    .cw-page-toolbar,
    .cw-view-header {
        display: block;
    }

    .cw-page-toolbar .cw-button,
    .cw-view-header .cw-status {
        margin-top: 16px;
    }

    .cw-page-toolbar .cw-button {
        width: 100%;
    }

    .cw-withdrawal-list td:last-child {
        justify-content: flex-start;
    }

    .cw-view-actions .cw-button {
        width: 100%;
    }
}

@media only screen and (max-width: 430px) {
    .cw-process {
        display: block;
    }

    .cw-process__step {
        min-height: 0;
        padding-left: 60px;
    }

    .cw-process__step:nth-child(even),
    .cw-process__step:nth-child(n+3) {
        border-top: 1px solid #e7e9e5;
        border-left: 0;
    }

    .cw-process__icon {
        margin-left: 0;
    }
}
