.westaweb-gateway-checkout-form {
    width: 100% !important;
    box-sizing: border-box;
}
.westaweb-shetab-row {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #dcd7e3;
    padding: 12px;
    border-radius: 6px;
    box-sizing: border-box;
}
.westaweb-shetab-row * {
    box-sizing: border-box;
}
.receipt-fields{
    width: 100%;
    max-width: 500px !important;
    background-color: #fff;
    padding: 20px;
    padding-top: 24px;
    border-radius: 4px;
    --mask: conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/12px 100.15%;
    -webkit-mask: var(--mask);
    mask: var(--mask);
}
.shetab-provision, .card-info, .westaweb-shetab-divider-line {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dotted #333;
}
.shetab-text-field label {
    margin-bottom: 10px;
}
.westaweb-btn {
    display: inline-block !important;
    cursor: pointer;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms !important;
    color: #FFF !important;
    background-color: #0AC974 !important;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05) !important;
    text-transform: none;
    border-radius: 8px !important;
    text-decoration: none;
}

.btn-cancel {
    text-decoration: none;
    margin-right: 32px;
}
.field-row {
    margin-top: 18px;
}
.field-row .westaweb-input {
    display: block;
    clear: both;
    width: 100%;
    background: #fff;
    border-radius: 7px;
    border: 3px solid #eee;
    margin-top: 5px!important;
    min-height: 30px;
}

.field-row .westaweb-input:focus,
.field-row .westaweb-input:focus-visible {
    border-color: #454cad;
    outline: none;
}

.shetab-uploader {
    display: block;
    clear: both;
    margin: 0 auto;
    width: 100%;
}
.shetab-uploader label {
    display: block;
    width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #fff;
    border-radius: 7px;
    border: 3px solid #eee;
    transition: all 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.elementor-widget-woocommerce-checkout-page .woocommerce .wc_payment_method .shetab-uploader label {
    display: block;
}
.shetab-uploader label:hover {
    border-color: #454cad;
    transition: all 0.2s ease;
}
.shetab-uploader label.hover {
    border: 3px solid #454cad;
    box-shadow: inset 0 0 0 6px #eee;
}

.shetab-uploader #start {
    width: 100%;
}
.shetab-uploader input[type=file] {
    display: none;
}
.shetab-uploader .file-input-wrapper {
    margin: 0 0 0.5rem 0;
    color: #5f6982;
}
.shetab-uploader .btn, .shetab-add-btn, .shetab-btn {
    display: inline-block;
    margin: 0.5rem 0.5rem 1rem 0.5rem;
    clear: both;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: initial;
    border: none;
    border-radius: 0.2rem;
    outline: none;
    padding: 0 1rem;
    height: 36px;
    line-height: 36px;
    color: #fff;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    background: #454cad;
    border-color: #454cad;
    cursor: pointer;
    text-align: center;
}

.shetab-copy-btn {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 0.8em;
    min-width: 110px;
}

.shetab-upload-images-container {
    position: relative;
    margin-bottom: 5px;
}
.westaweb-upload-images-thumbnail {
    max-height: 220px !important;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #f9f9f9;
    opacity: 0.6;
    margin: 0 0 5px 0 !important;
}
.westaweb-upload-images-pbar {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin-bottom: 10px !important;
}
.westaweb-upload-images-pbarin {
    height: 6px;
    background: #08a508;
}
.westaweb-upload-images-delete, .westaweb-field-delete {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    cursor: pointer;
    background: #9d9d9d;
    opacity: 0.85;
    display: flex;
    justify-content: center;
    align-items: center;
}

.westaweb-upload-images-delete .westaweb-icon-trash,
.westaweb-field-delete .westaweb-icon-trash {
    display: block;
    position: relative;
    width: 10px;
    height: 10px;
}

.westaweb-upload-images-delete .westaweb-icon-trash::before,
.westaweb-upload-images-delete .westaweb-icon-trash::after,
.westaweb-field-delete .westaweb-icon-trash::before,
.westaweb-field-delete .westaweb-icon-trash::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #fff;
    transform: translateX(-50%) rotate(45deg);
}

.westaweb-upload-images-delete .westaweb-icon-trash::after,
.westaweb-field-delete .westaweb-icon-trash::after {
    transform: translateX(-50%) rotate(-45deg);
}

.westaweb-upload-images-delete .westaweb-icon-loading {
    position: relative;
    width: 100%;
    height: 100%;
}
.westaweb-upload-images-delete .westaweb-icon-loading::after {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    border: 2px solid #cecece;
    border-right: 2px solid #fff;
    z-index: 2;
    -webkit-animation-name: westaweb-spin;
    animation-name: westaweb-spin;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.input-wrapper {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
}
.westaweb-field-delete {
    top: 50%;
    margin-top: -11px;
    left: 2px;
}

.westaweb-upload-ok .westaweb-upload-images-pbar,
.westaweb-upload-ok .westaweb-dual-ring {
    display: none;
}

.westaweb-upload-ok .westaweb-upload-images-thumbnail {
    border-color: #08a508;
    opacity: 1;
}

.westaweb-upload-delete-pending .westaweb-upload-images-thumbnail {
    border-color: #d70909;
}

.westaweb-upload-delete-pending .westaweb-upload-images-delete span {
    line-height: 20px;
    animation: westaweb-spin 1.2s linear infinite;
}

.submit-wrapper {
    align-items: center;
}

.westaweb-shetab-order-total {
    padding-bottom: 0;
    font-weight: bold;
}

.woocommerce-order-pay .woocommerce {
    max-width: 100% !important;
}

.westaweb-select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #9DABC5;
    margin-top: 14px;
    width: 100%;
    font-family: inherit;
}

.westaweb-dual-ring {
    position: absolute;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 80px;
    height: 80px;
    text-align: center;
    font-weight: bold;
}

.westaweb-dual-ring:before {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #327f46;
    border-color: #327f46 transparent #327f46 transparent;
    animation: westaweb-spin 1.2s linear infinite;
}

.card-copy {
    width: 100%;
    display: flex;
    justify-content: end;
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    background-image: linear-gradient(to right, #000 10%, rgba(255, 255, 255, 0) 0%);
    background-position: 0 14px;
    background-size: 10px 1px;
    background-repeat: repeat-x;
    width: 100%;
    min-height: 25px;
}

.card-details strong {
    background: #fff;
    padding-left: 8px;
}

.card-details span {
    background: #fff;
    padding-right: 8px;
    direction: ltr;
}

.real-card {
    margin: auto;
    min-height: 200px;
    width: 100%;
    background-color: #e6e6f6;
    border-radius: 15px;
    box-shadow: 1px 1px 10px 3px #00000017;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    border: 0;
    padding: 16px;
    background-image: url("card-bg.webp");
    background-position: center;
    background-size: cover;
    margin-bottom: 14px;
}
.real-card .card-details {
    height: auto;
    flex-direction: column;
    background: none;
    margin-top: 5px;
}
.real-card .card-details span,
.real-card .card-details strong {
    background: none;
    padding: 0;
    font-weight: normal;
    color: #161623;
}
.real-card .card-details span {
    font-family: monospace;
    font-size: 1.3em;
    font-weight: bold;
    text-align: right;
}
.real-card .card-details.card-owner strong{
    display: none;
}
.card-chip {
    width: 40px;
    height: 40px;
    align-self: end;
    background: url("chip-minimal.png") no-repeat center center / cover;
    border-radius: 5px;
    margin-bottom: -32px;
}

.real-card .shetab-copy-btn {
    border-radius: 32px;
    background-color: #00b7f7;
}

.shetab-add-btn {
    margin: 8px 0 0 0;
}
.receipt-fields abbr {
    color: red;
    font-weight: 700;
    border: 0 !important;
    text-decoration: none !important;
}

.westaweb-dark-mode .card-info:not(.real-card) .card-details {
    background-image: linear-gradient(to right, #f9f9f9 10%, rgba(255, 255, 255, 0) 0%);
}

.westaweb-dark-mode.westaweb-shetab-row,
.westaweb-dark-mode .shetab-uploader label,
.westaweb-dark-mode .field-row .westaweb-input {
    background-color: #0e0915;
}

.westaweb-dark-mode .receipt-fields,
.westaweb-dark-mode .card-info:not(.real-card) .card-details span,
.westaweb-dark-mode .card-info:not(.real-card) .card-details strong {
    background-color: #000
}

.westaweb-dark-mode.westaweb-shetab-row,
.westaweb-dark-mode .shetab-text-field label,
.westaweb-dark-mode .field-row .westaweb-input{
    color: #f9f9f9;
}

@keyframes westaweb-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 768px) {
    .westaweb-shetab-row {
        padding: 2px;
    }
    .receipt-fields {
        padding: 8px;
    }
    .payment_methods .payment_box.payment_method_bacs {
        padding: 12px;
    }
    .real-card .card-details.card-sheba span {
        font-size: 0.85em;
    }
    .real-card .card-copy {
        justify-content: space-between;
    }
    .real-card .shetab-copy-btn{
        margin:0.5rem 0 0 0;
    }
}