@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakhFaNum-Regular-B4cV0wVW.woff2') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakhFaNum-SemiBold-C4JCeP6F.woff2') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.woocommerce_page_technopay-orders #wpcontent {
    padding-right: 0;
}

.tpfw-orders-page {
    --tpfw-cyan: #0eb4c7;
    --tpfw-cyan-dark: #078b9d;
    --tpfw-ink: #27313c;
    --tpfw-muted: #66717d;
    --tpfw-line: #e4e7ea;
    --tpfw-danger: #c93f3f;
    position: relative;
    box-sizing: border-box;
    min-height: calc(100vh - 32px);
    margin: 0;
    padding: 36px 32px 56px;
    background: #fff;
    color: var(--tpfw-ink);
    cursor: default;
    font-family: 'YekanBakh', Tahoma, Arial, sans-serif;
}

.tpfw-orders-page *,
.tpfw-orders-page *::before,
.tpfw-orders-page *::after {
    box-sizing: border-box;
    font-family: 'YekanBakh', Tahoma, Arial, sans-serif !important;
}

.tpfw-orders-page i,
.tpfw-orders-page i *,
.tpfw-orders-page i::before,
.tpfw-orders-page i::after,
.tpfw-orders-page .dashicons,
.tpfw-orders-page .dashicons *,
.tpfw-orders-page .dashicons::before,
.tpfw-orders-page .dashicons::after {
    font-family: dashicons !important;
}

.tpfw-orders-page input,
.tpfw-orders-page select,
.tpfw-orders-page button,
.tpfw-orders-page textarea {
    font-family: 'YekanBakh', Tahoma, Arial, sans-serif !important;
}

.tpfw-orders-page h1,
.tpfw-orders-page h2,
.tpfw-orders-page h3,
.tpfw-orders-page h4,
.tpfw-orders-page h5,
.tpfw-orders-page h6,
.tpfw-orders-page p,
.tpfw-orders-page span,
.tpfw-orders-page a,
.tpfw-orders-page label,
.tpfw-orders-page th,
.tpfw-orders-page td,
.tpfw-orders-page div {
    font-family: 'YekanBakh', Tahoma, Arial, sans-serif !important;
}

.tpfw-orders-page input,
.tpfw-orders-page textarea {
    cursor: text !important;
}

.tpfw-orders-page button,
.tpfw-orders-page button *,
.tpfw-orders-page button::before,
.tpfw-orders-page button::after,
.tpfw-orders-page button *::before,
.tpfw-orders-page button *::after,
.tpfw-orders-page a,
.tpfw-orders-page a *,
.tpfw-orders-page a::before,
.tpfw-orders-page a::after,
.tpfw-orders-page a *::before,
.tpfw-orders-page a *::after,
.tpfw-orders-page select,
.tpfw-orders-page select *,
.tpfw-orders-page select::before,
.tpfw-orders-page select::after {
    cursor: pointer !important;
}

.tpfw-orders-page button > *,
.tpfw-orders-page a > *,
.tpfw-orders-page button::before,
.tpfw-orders-page button::after,
.tpfw-orders-page a::before,
.tpfw-orders-page a::after,
.tpfw-orders-page button > *::before,
.tpfw-orders-page button > *::after,
.tpfw-orders-page a > *::before,
.tpfw-orders-page a > *::after {
    pointer-events: none;
}

.tpfw-orders-page__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.tpfw-orders-notice {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin: 0 0 24px;
    padding: 10px 14px;
    border: 1px solid;
    border-right-width: 4px;
    border-radius: 6px;
    align-items: center;
    gap: 12px;
}

.tpfw-orders-notice--success {
    border-color: #72c79d;
    background: #ecf8f2;
    color: #216442;
}

.tpfw-orders-notice--error {
    border-color: #dd8b86;
    background: #fff1f0;
    color: #9e302b;
}

.tpfw-orders-notice p {
    flex: 1 1 auto;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

.tpfw-orders-notice__dismiss {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: currentColor;
}

.tpfw-orders-notice__dismiss .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.tpfw-orders-page__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.tpfw-orders-page__header h1 {
    margin: 0 0 5px;
    padding: 0;
    color: var(--tpfw-cyan-dark);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

.tpfw-orders-page__count {
    color: var(--tpfw-muted);
    font-size: 12px;
}

.tpfw-orders-filters {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(260px, 1.25fr) auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 54px;
}

.tpfw-orders-field {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    flex-direction: column;
    gap: 8px;
}

.tpfw-orders-field > span,
.tpfw-orders-field > label,
.tpfw-orders-field > legend {
    width: 100%;
    padding: 0;
    color: #46515c;
    font-size: 12px;
    font-weight: 600;
}

.tpfw-orders-field__money {
    position: relative;
    width: 100%;
}

.tpfw-orders-field__money input {
    direction: ltr;
    padding-left: 58px;
    text-align: right;
}

.tpfw-orders-field__money > span {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--tpfw-muted);
    font-size: 12px;
    pointer-events: none;
    transform: translateY(-50%);
}

.tpfw-orders-field input,
.tpfw-orders-field select {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cfd4d8;
    border-radius: 8px;
    background-color: #fff;
    color: var(--tpfw-ink);
    font-size: 13px;
    line-height: 44px;
    box-shadow: none;
}

.tpfw-orders-field select {
    padding-left: 34px;
}

.tpfw-orders-field input:focus,
.tpfw-orders-field select:focus {
    border-color: var(--tpfw-cyan);
    box-shadow: 0 0 0 1px var(--tpfw-cyan);
    outline: 0;
}

.tpfw-orders-filters__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    white-space: nowrap;
}

.tpfw-orders-page .tpfw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 118px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--tpfw-cyan);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 44px;
}

.tpfw-orders-page .tpfw-button--primary,
.tpfw-orders-page .tpfw-button--primary:hover,
.tpfw-orders-page .tpfw-button--primary:focus {
    border-color: var(--tpfw-cyan);
    background: var(--tpfw-cyan);
    color: #fff;
}

.tpfw-orders-page .tpfw-button--primary:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tpfw-cyan-dark);
}

.tpfw-orders-page .tpfw-button .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.tpfw-orders-reset {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tpfw-danger);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

.tpfw-orders-reset:hover,
.tpfw-orders-reset:focus {
    color: #9f2f2f;
}

.tpfw-orders-table-wrap {
    width: 100%;
    overflow-x: hidden;
}

.tpfw-orders-table {
    width: 100%;
    min-width: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.tpfw-orders-table th,
.tpfw-orders-table td {
    padding: 18px 12px;
    border: 0;
    border-bottom: 1px solid var(--tpfw-line);
    text-align: center;
    vertical-align: middle;
}

.tpfw-orders-table th {
    padding-top: 10px;
    padding-bottom: 18px;
    color: #303944;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tpfw-orders-table td {
    height: 74px;
    color: #3b4652;
    font-size: 13px;
}

.tpfw-orders-table th:nth-child(1) {
    width: 4%;
}

.tpfw-orders-table th:nth-child(2) {
    width: 13%;
}

.tpfw-orders-table th:nth-child(3),
.tpfw-orders-table th:nth-child(4) {
    width: 13%;
}

.tpfw-orders-table th:nth-child(5) {
    width: 11%;
}

.tpfw-orders-table th:nth-child(6),
.tpfw-orders-table th:nth-child(7) {
    width: 11%;
}

.tpfw-orders-table th:nth-child(8) {
    width: 11%;
}

.tpfw-orders-table th:nth-child(9) {
    width: 15%;
}

.tpfw-orders-table__name {
    font-weight: 600;
}

.tpfw-orders-table__money {
    white-space: nowrap;
}

.tpfw-copy-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 100%;
}

.tpfw-copy-value > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tpfw-copy-button {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--tpfw-cyan-dark);
    cursor: pointer;
}

.tpfw-copy-button:hover,
.tpfw-copy-button:focus,
.tpfw-copy-button.is-copied {
    color: #076c7a;
    outline: 0;
}

.tpfw-copy-button .dashicons {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

.tpfw-status {
    display: inline-flex;
    min-height: 30px;
    padding: 4px 11px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    white-space: nowrap;
}

.tpfw-status--success {
    background: #d8f7e9;
    color: #247451;
}

.tpfw-status--info {
    background: #e2f0fa;
    color: #316881;
}

.tpfw-status--warning {
    background: #f9e3ad;
    color: #73561c;
}

.tpfw-status--danger {
    background: #fff0ee;
    color: #b63c35;
}

.tpfw-order-action {
    display: inline-flex;
    min-height: 30px;
    padding: 4px 10px;
    border: 0;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.tpfw-order-action--refund {
    background: #feeceb;
    color: #b63c35;
}

.tpfw-order-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tpfw-order-action--cancel {
    background: #dff5f7;
    color: #23646b;
}

.tpfw-order-action--refund:hover,
.tpfw-order-action--refund:focus {
    background: #fbdedc;
    color: #942d28;
}

.tpfw-order-action--details {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    color: #a5adb4;
    font-size: 12px;
}

.tpfw-order-action--details .dashicons {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

.tpfw-orders-table__empty {
    height: 180px !important;
    color: var(--tpfw-muted) !important;
}

.tpfw-orders-table__empty .dashicons {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    color: #a5adb4;
    font-size: 30px;
}

.tpfw-orders-pagination {
    margin-top: 38px;
}

.tpfw-orders-pagination > .page-numbers {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
}

.tpfw-orders-pagination li {
    margin: 0;
}

.tpfw-orders-pagination a.page-numbers,
.tpfw-orders-pagination button.page-numbers,
.tpfw-orders-pagination span.page-numbers {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: #3d4854;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

.tpfw-orders-pagination a.page-numbers {
    width: auto;
    min-width: 76px;
    padding: 0 14px;
    gap: 5px;
    background: #f1f2f3;
}

.tpfw-orders-pagination .current {
    background: var(--tpfw-cyan);
    color: #fff;
}

.tpfw-orders-pagination a.page-numbers:hover,
.tpfw-orders-pagination a.page-numbers:focus,
.tpfw-orders-pagination button.page-numbers:hover,
.tpfw-orders-pagination button.page-numbers:focus {
    background: #eef9fa;
    color: var(--tpfw-cyan-dark);
    outline: 0;
}

.tpfw-orders-pagination .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

body.tpfw-refund-modal-open {
    overflow: hidden;
}

.tpfw-refund-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background: rgba(28, 37, 47, 0.44);
}

.tpfw-refund-modal[hidden] {
    display: none;
}

.tpfw-refund-modal__panel {
    position: relative;
    width: 100%;
    max-width: 490px;
    max-height: calc(100vh - 48px);
    padding: 44px 54px 48px;
    overflow-y: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(26, 33, 42, 0.28);
    color: var(--tpfw-ink);
    font-size: 14px;
    text-align: center;
}

.tpfw-refund-modal__close {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #202a35;
}

.tpfw-refund-modal__close .dashicons {
    width: 34px;
    height: 34px;
    font-size: 34px;
}

.tpfw-refund-modal__visual {
    display: flex;
    width: 126px;
    height: 142px;
    margin: 2px auto 28px;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
    background: #f7f8f8;
    color: #199dbf;
    filter: drop-shadow(0 18px 16px rgba(32, 45, 57, 0.12));
}

.tpfw-refund-modal__visual .dashicons {
    width: 70px;
    height: 70px;
    font-size: 70px;
}

.tpfw-refund-modal__visual--cancel {
    color: #e7ad43;
}

.tpfw-refund-modal h2 {
    margin: 0 0 20px;
    padding: 0;
    color: #202936;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.tpfw-refund-modal p {
    margin: 0 auto 0px;
    color: #394451;
    font-size: 14px;
    line-height: 2;
}

.tpfw-refund-modal__form {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.tpfw-refund-modal__field {
    display: flex;
    width: 100%;
    min-height: 62px;
    padding: 0 20px;
    border: 1px solid #d9dde0;
    border-radius: 8px;
    align-items: center;
    gap: 8px;
    color: #28323e;
    font-size: 14px;
    text-align: right;
}

.tpfw-refund-modal__field[hidden] {
    display: none;
}

.tpfw-refund-modal__reason-field,
.tpfw-refund-modal__reason-field > span {
    cursor: pointer !important;
}

.tpfw-refund-modal__field input,
.tpfw-refund-modal__field select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: transparent;
    color: #28323e;
    font-size: 14px;
    box-shadow: none;
}

.tpfw-refund-modal__field input:focus,
.tpfw-refund-modal__field select:focus {
    border: 0;
    box-shadow: none;
    outline: 0;
}

.tpfw-refund-modal__amount input {
    direction: ltr;
    text-align: right;
}

.tpfw-refund-modal__full-amount {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 4px 8px;
    border: 1px solid var(--tpfw-cyan);
    border-radius: 6px;
    background: #fff;
    color: var(--tpfw-cyan-dark);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

.tpfw-refund-modal__full-amount:hover,
.tpfw-refund-modal__full-amount:focus {
    background: #eaf9fb;
    color: #067988;
    outline: 0;
}

.tpfw-refund-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.tpfw-refund-modal__actions button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
}

.tpfw-refund-modal__cancel {
    border: 1px solid #193a7a;
    background: #fff;
    color: #202936;
}

.tpfw-refund-modal__submit {
    border: 1px solid var(--tpfw-cyan);
    background: var(--tpfw-cyan);
    color: #fff;
}

.tpfw-cancel-modal__form {
    margin-top: 38px;
}

.tpfw-details-modal__fields {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    text-align: right;
}

.tpfw-details-modal__group-label {
    margin: 4px 0 0;
    padding: 0;
    color: var(--tpfw-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tpfw-details-modal__group-label:first-child {
    margin-top: 0;
}

.tpfw-details-modal__fields .tpfw-refund-modal__field {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: auto;
    padding: 14px 20px;
}

.tpfw-details-modal__fields .tpfw-refund-modal__field > span:first-child {
    color: #28323e;
    font-size: 14px;
    font-weight: 600;
}

.tpfw-details-modal__desc {
    color: var(--tpfw-muted);
    font-size: 12px;
    line-height: 1.8;
    word-break: break-word;
}

.tpfw-details-modal__actions {
    grid-template-columns: 1fr;
    margin-top: 28px;
}

#adminmenu .toplevel_page_technopay-orders .wp-menu-image img {
    width: 20px;
    height: 20px;
    padding-top: 7px;
    object-fit: contain;
}

.tpfw-slim.ss-main,
.tpfw-orders-page .ss-main {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfd4d8;
    border-radius: 8px;
    background-color: #fff;
    color: var(--tpfw-ink);
    font-size: 13px;
    direction: rtl;
    box-shadow: none;
}

.tpfw-slim.ss-main:focus,
.tpfw-orders-page .ss-main:focus {
    border-color: var(--tpfw-cyan);
    box-shadow: 0 0 0 1px var(--tpfw-cyan);
    outline: 0;
}

.tpfw-slim.ss-main.ss-open-below,
.tpfw-slim.ss-main.ss-open-above,
.tpfw-orders-page .ss-main.ss-open-below,
.tpfw-orders-page .ss-main.ss-open-above {
    border-color: var(--tpfw-cyan);
    box-shadow: 0 0 0 1px var(--tpfw-cyan);
}

.tpfw-slim.ss-content,
.tpfw-orders-page .ss-content {
    font-family: 'YekanBakh', Tahoma, Arial, sans-serif !important;
    margin-top: -24px !important;
    border: 1px solid #cfd4d8;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(32, 45, 57, 0.12);
    direction: rtl;
    overflow: hidden;
    z-index: 200001 !important;
}

.tpfw-slim.ss-content .ss-list .ss-option,
.tpfw-orders-page .ss-content .ss-list .ss-option {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--tpfw-ink);
    font-family: 'YekanBakh', Tahoma, Arial, sans-serif !important;
}

.tpfw-slim.ss-content .ss-list .ss-option:hover,
.tpfw-slim.ss-content .ss-list .ss-option.ss-highlighted,
.tpfw-orders-page .ss-content .ss-list .ss-option:hover,
.tpfw-orders-page .ss-content .ss-list .ss-option.ss-highlighted {
    background: #eaf9fb;
    color: var(--tpfw-cyan-dark);
}

.tpfw-slim.ss-content .ss-list .ss-option.ss-selected,
.tpfw-orders-page .ss-content .ss-list .ss-option.ss-selected {
    background: #eaf9fb;
    color: var(--tpfw-cyan-dark);
    font-weight: 600;
}

.tpfw-slim.ss-content .ss-list .ss-option.ss-disabled,
.tpfw-orders-page .ss-content .ss-list .ss-option.ss-disabled {
    color: var(--tpfw-muted);
    background: transparent;
}

.tpfw-refund-modal__panel .ss-main,
.tpfw-refund-modal__panel .tpfw-slim.ss-main {
    min-height: 58px;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    flex: 1 1 auto;
    font-size: 14px;
    box-shadow: none !important;
}

.tpfw-refund-modal__panel .ss-main:focus,
.tpfw-refund-modal__panel .ss-main.ss-open-below,
.tpfw-refund-modal__panel .ss-main.ss-open-above,
.tpfw-refund-modal__panel .tpfw-slim.ss-main:focus,
.tpfw-refund-modal__panel .tpfw-slim.ss-main.ss-open-below,
.tpfw-refund-modal__panel .tpfw-slim.ss-main.ss-open-above {
    border: 0;
    box-shadow: none !important;
    outline: 0;
}

.ss-content {
    z-index: 200001 !important;
}

@media screen and (max-width: 1280px) {
    .tpfw-orders-filters {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .tpfw-orders-filters__actions {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 1280px) {
    .tpfw-orders-table,
    .tpfw-orders-table tbody {
        display: block;
    }

    .tpfw-orders-table thead {
        display: none;
    }

    .tpfw-orders-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px 0;
        border-bottom: 1px solid var(--tpfw-line);
    }

    .tpfw-orders-table td {
        display: flex;
        min-width: 0;
        height: auto;
        padding: 10px 12px;
        border-bottom: 0;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
    }

    .tpfw-orders-table td::before {
        content: attr(data-label);
        flex: 0 1 48%;
        color: #303944;
        font-weight: 700;
        text-align: right;
    }

    .tpfw-orders-table__empty {
        display: block !important;
        grid-column: 1 / -1;
        padding-top: 56px !important;
        text-align: center !important;
    }

    .tpfw-orders-table__empty::before {
        content: none !important;
    }
}

@media screen and (max-width: 782px) {
    .tpfw-orders-page {
        min-height: calc(100vh - 46px);
        margin: 0;
        padding: 24px 16px 40px;
    }

    .tpfw-orders-page__header {
        align-items: flex-start;
        margin-bottom: 26px;
    }

    .tpfw-orders-page__header h1 {
        font-size: 18px;
    }

    .tpfw-orders-page__logo {
        width: 38px;
        height: 38px;
    }

    .tpfw-orders-filters {
        grid-template-columns: 1fr;
        margin-bottom: 36px;
    }

    .tpfw-orders-filters__actions {
        flex-wrap: wrap;
    }

    .tpfw-orders-page .tpfw-button {
        flex: 1 1 160px;
    }

    .tpfw-orders-table tr {
        grid-template-columns: 1fr;
    }

    .tpfw-refund-modal {
        padding: 12px;
    }

    .tpfw-refund-modal__panel {
        max-height: calc(100vh - 24px);
        padding: 34px 20px 24px;
    }

    .tpfw-refund-modal__visual {
        width: 96px;
        height: 108px;
        margin-bottom: 20px;
    }

    .tpfw-refund-modal__visual .dashicons {
        width: 54px;
        height: 54px;
        font-size: 54px;
    }

    .tpfw-refund-modal h2 {
        padding: 0 38px;
        font-size: 20px;
    }

    .tpfw-refund-modal p {
        font-size: 14px;
    }

    .tpfw-refund-modal__actions {
        grid-template-columns: 1fr;
    }
}
