/**
 * Revoker for WooCommerce - Frontend Styles
 *
 * @package Revoker_For_WooCommerce
 */

/* ==========================================================================
   Withdrawal Section
   ========================================================================== */

.revoker-withdrawal-section {
    margin: 2em 0;
    padding: 1.5em;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.revoker-withdrawal-section .revoker-withdrawal-info {
    margin-bottom: 1.25em;
}

.revoker-withdrawal-info h3 {
    margin: 0 0 0.5em;
    font-size: 1.2em;
    color: #333;
}

.revoker-withdrawal-info p {
    margin: 0 0 0.75em;
    color: #666;
}

.revoker-withdrawal-info p:last-child {
    margin-bottom: 0;
}

/* Deadline text within withdrawal section (inline style) */
.revoker-withdrawal-info .revoker-deadline {
    display: block;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: #555;
    margin-top: 0.5em;
}

/* Standalone deadline notice (box style) */
.revoker-deadline-notice .revoker-deadline,
.revoker-modal-body .revoker-deadline,
.digi-notice-style-1 {
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

.digi-notice-style-1 .revoker-inline-icon svg path {
    stroke: #856404;
}

/* Urgent deadline styling (red) */
.revoker-deadline-today,
.revoker-withdrawal-info .revoker-deadline-today {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 4px;
    color: #721c24;
}

/* ==========================================================================
   Withdrawal Button
   ========================================================================== */

.revoker-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.revoker-button-default {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
}

.revoker-button-default:hover {
    background: #005d8c;
    color: #fff;
}

.revoker-button-prominent {
    background: #d32f2f;
    color: #fff;
    border: 2px solid #d32f2f;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.revoker-button-prominent:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
}

.revoker-button-minimal {
    background: transparent;
    color: #0073aa;
    border: 1px solid #0073aa;
    border-radius: 4px;
}

.revoker-button-minimal:hover {
    background: #0073aa;
    color: #fff;
}

.revoker-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   Modal
   ========================================================================== */

.revoker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.revoker-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.revoker-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.revoker-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.revoker-modal.is-active .revoker-modal-container {
    transform: translateY(0);
}

.revoker-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25em 1.5em;
    border-bottom: 1px solid #e5e5e5;
}

.revoker-modal-header h2 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
}

.revoker-modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.revoker-modal-close:hover {
    color: #333;
}

.revoker-modal-body {
    padding: 1.5em;
    overflow-y: auto;
    flex: 1;
}

.revoker-modal-footer {
    display: flex;
    gap: 1em;
    justify-content: flex-end;
    padding: 1.25em 1.5em;
    border-top: 1px solid #e5e5e5;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* ==========================================================================
   Modal Content
   ========================================================================== */

.revoker-notice {
    padding: 1em;
    border-radius: 4px;
    margin-bottom: 1.5em;
}

.revoker-notice-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.revoker-notice p {
    margin: 0;
}

.revoker-notice p + p {
    margin-top: 0.5em;
}

.revoker-order-details h3,
.revoker-order-details h4 {
    margin: 0 0 0.75em;
    color: #333;
}

.revoker-order-details h4 {
    margin-top: 1.5em;
}

.revoker-order-table {
    width: 100%;
    margin-bottom: 1em;
}

.revoker-order-table th {
    text-align: left;
    padding: 0.5em 0;
    color: #666;
    font-weight: 500;
    width: 40%;
}

.revoker-order-table td {
    padding: 0.5em 0;
    color: #333;
}

.revoker-order-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.revoker-order-items li {
    padding: 0.5em 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.revoker-order-items li:last-child {
    border-bottom: none;
}

.revoker-reason-field {
    margin: 1.5em 0;
}

.revoker-reason-field label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #333;
}

.revoker-reason-field textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
}

.revoker-reason-field textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.revoker-legal-notice {
    background: #f8f9fa;
    padding: 1em;
    border-radius: 4px;
    font-size: 0.9em;
}

.revoker-legal-notice p {
    margin: 0 0 0.5em;
    font-weight: 500;
}

.revoker-legal-notice ul {
    margin: 0;
    padding-left: 1.25em;
}

.revoker-legal-notice li {
    margin-bottom: 0.25em;
    color: #666;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.revoker-btn {
    padding: 0.75em 1.5em;
    font-size: 1em;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.revoker-btn-primary {
    background: #0073aa;
    color: #fff;
}

.revoker-btn-primary:hover {
    background: #005d8c;
}

.revoker-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.revoker-btn-secondary:hover {
    background: #e0e0e0;
}

.revoker-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   Success & Error States
   ========================================================================== */

.revoker-step-success {
    padding: 2em;
}

.revoker-success-icon,
.revoker-error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5em;
}

.revoker-success-icon svg,
.revoker-error-icon svg {
    width: 100%;
    height: 100%;
}

.revoker-step-success h3,
.revoker-success-container h3 {
    color: #4caf50;
    margin: 0 0 1em;
}

.revoker-success-details {
    background: #f8f9fa;
    padding: 1em;
    border-radius: 4px;
    margin: 1.5em 0;
}

.revoker-success-details p {
    margin: 0.25em 0;
}

.revoker-next-steps,
.revoker-email-notice {
    color: #666;
    font-size: 0.95em;
}

.revoker-error h3 {
    color: #f44336;
}

.revoker-error-container {
    margin-top: 1.5em;
}

.revoker-error-notice {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1em;
    border-radius: 4px;
}

/* ==========================================================================
   Loading State
   ========================================================================== */

.revoker-loading {
    text-align: center;
    padding: 3em;
}

.revoker-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1em;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: revoker-spin 1s linear infinite;
}

@keyframes revoker-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Form Container (Standalone Page)
   ========================================================================== */

.revoker-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.revoker-form-header {
    margin-bottom: 2em;
}

.revoker-form-header h2 {
    margin: 0 0 0.5em;
    color: #333;
}

.revoker-form-intro {
    color: #666;
    font-size: 1.1em;
}

.revoker-deadline-notice,
.digi-notice-style-1 {
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    margin-bottom: 2em;
}

.revoker-deadline-notice p,
.digi-notice-style-1 p {
    margin: 0;
}

.revoker-deadline-urgent {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.revoker-deadline-urgent .revoker-urgent {
    color: #721c24;
}

.revoker-order-summary {
    background: #f8f9fa;
    padding: 1.5em;
    border-radius: 4px;
    margin-bottom: 2em;
}

.revoker-order-summary h3,
.revoker-order-summary h4 {
    margin: 0 0 1em;
    color: #333;
}

.revoker-order-summary h4 {
    margin-top: 1.5em;
}

.revoker-order-info-table {
    width: 100%;
    margin-bottom: 1em;
}

.revoker-order-info-table th {
    text-align: left;
    padding: 0.5em 0;
    width: 40%;
    color: #666;
}

.revoker-order-info-table td {
    padding: 0.5em 0;
}

.revoker-items-table {
    width: 100%;
    border-collapse: collapse;
}

.revoker-items-table th,
.revoker-items-table td {
    padding: 0.75em;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.revoker-items-table th {
    background: #fff;
    font-weight: 600;
}

.revoker-items-table td:last-child {
    text-align: right;
}

/* ==========================================================================
   Item Selection (Partial Withdrawal)
   ========================================================================== */

.revoker-items-hint {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 1em;
}

.revoker-select-all-wrapper {
    margin-bottom: 1em;
    padding: 0.75em 1em;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.revoker-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    font-weight: 500;
}

.revoker-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.revoker-items-selectable .revoker-col-select {
    width: 40px;
    text-align: center;
}

.revoker-items-selectable .revoker-item-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.revoker-item-row {
    transition: background-color 0.2s;
}

.revoker-item-row:has(.revoker-item-checkbox:not(:checked)) {
    opacity: 0.5;
}

.revoker-item-row:has(.revoker-item-checkbox:not(:checked)) td {
    text-decoration: line-through;
    color: #999;
}

.revoker-withdrawal-total-row {
    /* background: #f0f0f0; */
    font-weight: 600;
}

.revoker-withdrawal-total-row td {
    border-bottom: none;
}

.revoker-total-label {
    text-align: right;
    padding-right: 1em;
}

.revoker-total-amount {
    font-size: 1.1em;
}

.revoker-no-items-warning {
    padding: 1em;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    margin-top: 1em;
}

.revoker-no-items-warning p {
    margin: 0;
}

.revoker-form-section {
    margin-bottom: 2em;
}

.revoker-form-section h3 {
    margin: 0 0 1em;
    color: #333;
}

.revoker-declaration {
    background: #e8f4fd;
    padding: 1em;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
    margin-bottom: 1.5em;
}

.revoker-declaration p {
    margin: 0;
    font-style: italic;
}

.revoker-reason-section {
    margin-top: 1.5em;
}

.revoker-reason-section > label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
}

.revoker-reason-hint {
    margin: 0 0 1em;
    font-size: 0.9em;
    color: #666;
}

.revoker-reason-select {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1em;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75em center;
    background-size: 12px;
}

.revoker-reason-select:focus {
    outline: none;
    border-color: #7f54b3;
    box-shadow: 0 0 0 2px rgba(127, 84, 179, 0.2);
}

.revoker-reason-other-wrapper {
    margin-top: 1em;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

.revoker-reason-other-wrapper label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    font-size: 0.9em;
}

.revoker-reason-section textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.revoker-info-section {
    margin-bottom: 2em;
}

.revoker-info-section h3 {
    margin: 0 0 1em;
}

.revoker-info-box {
    margin-bottom: 1.5em;
}

.revoker-info-box h4 {
    margin: 0 0 0.75em;
}

.revoker-info-box ul {
    margin: 0;
    padding-left: 1.25em;
}

.revoker-info-box li {
    margin-bottom: 0.5em;
    color: #666;
    list-style-type: decimal;
}

.revoker-return-address {
    background: #fff;
    padding: 1.5em;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.revoker-return-address h4 {
    margin: 0 0 0.75em;
}

.revoker-return-address address {
    font-style: normal;
    line-height: 1.6;
}

.revoker-form-actions {
    border-top: 1px solid #e5e5e5;
    padding-top: 2em;
}

.revoker-warning-notice {
    background: #fff3cd;
    padding: 1em;
    border-radius: 4px;
    margin-bottom: 1.5em;
}

.revoker-warning-notice p {
    margin: 0;
    color: #856404;
}

.revoker-submit-btn {
    padding: 1em 2em;
    font-size: 1.1em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .revoker-modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .revoker-modal-footer {
        flex-direction: column-reverse;
    }

    .revoker-modal-footer .revoker-btn {
        width: 100%;
    }

    .revoker-order-table th,
    .revoker-order-info-table th {
        width: 50%;
    }

    .revoker-items-table {
        font-size: 0.9em;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .revoker-modal,
    .revoker-button,
    .revoker-submit-btn,
    .revoker-form-actions {
        display: none !important;
    }

    .revoker-form-container {
        max-width: 100%;
    }
}

/* ==========================================================================
   Search Form (Guest Checkout)
   ========================================================================== */

.revoker-search-container {
    max-width: 630px;
    margin: 0 auto;
}

.revoker-search-header {
    margin-bottom: 2em;
}

.revoker-search-header h2 {
    margin: 0 0 0.5em;
    color: #333;
}

.revoker-search-intro {
    color: #666;
    font-size: 1.05em;
    line-height: 1.6;
}

.revoker-search-form-wrapper {
    background: #fff;
    padding: 2em;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 2em;
}

.revoker-search-field {
    margin-bottom: 1.5em;
}

.revoker-search-field:last-of-type {
    margin-bottom: 0;
}

.revoker-search-field label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #333;
}

.revoker-search-field label .required {
    color: #d32f2f;
}

.revoker-search-field input {
    width: 100%;
    padding: 0.875em 1em;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.revoker-search-field input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.revoker-field-hint {
    display: block;
    margin-top: 0.5em;
    font-size: 0.875em;
    color: #888;
}

.revoker-search-actions {
    margin-top: 2em;
}

.revoker-search-btn {
    width: 100%;
    padding: 1em 1.5em;
    font-size: 1.1em;
}

.revoker-search-info {
    background: #f8f9fa;
    padding: 1.5em;
    border-radius: 8px;
    margin-top: 2em;
}

.revoker-search-info h3 {
    margin: 0 0 1em;
    font-size: 1.1em;
    color: #333;
}

.revoker-search-info ul {
    margin: 0;
    padding-left: 1.25em;
}

.revoker-search-info li {
    margin-bottom: 0.5em;
    color: #666;
    line-height: 1.5;
}

.revoker-search-info li:last-child {
    margin-bottom: 0;
}

.revoker-search-error {
    margin-bottom: 1.5em;
}

.revoker-search-result {
    margin-bottom: 2em;
}

/* ==========================================================================
   Responsive Search Form
   ========================================================================== */

@media (max-width: 768px) {
    .revoker-search-form-wrapper {
        padding: 1.5em;
    }

    .revoker-search-field input {
        padding: 0.75em;
    }

    .revoker-search-btn {
        padding: 0.875em 1.25em;
    }
}

/* -------------------------------------------------------------------------
 * Heading spacing normalization (theme-independent)
 *
 * Many themes apply large top margins to h2/h3/h4 that leak into Revoker
 * sections, giving headings too much top spacing. We zero the top margin of
 * the leading element of each section and give the shortcode-rendered policy
 * and model-form headings (otherwise unstyled) a tighter, consistent rhythm.
 * This intentionally does NOT touch the deliberate spacing of in-form
 * subheadings (e.g. ".revoker-order-summary h4").
 * ------------------------------------------------------------------------- */
.revoker-form-container > :first-child,
.revoker-withdrawal-section > :first-child,
.revoker-search-container > :first-child,
.revoker-policy > :first-child,
.revoker-form-template > :first-child {
    margin-top: 0;
}

.revoker-policy h2,
.revoker-form-template h3 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

.revoker-policy h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}



/* DIGI */
/* ==========================================================================
   DIGI Search Form – Figma aligned
   ========================================================================== */

.revoker-search-container {
    margin: 48px auto 72px;
    color: #243655;
}

.revoker-search-container > .digi-small-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.revoker-search-container > .digi-small-view .digi-small-view--inner-wrapper {
    max-width: 450px;
}

.revoker-search-header {
    margin-bottom: 28px;
    text-align: center;
}

.revoker-search-header h2 {
    margin: 0;
    color: #2d3e60;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.revoker-search-info {
    margin: 0 auto 18px;
    padding: 12px;
    background: #dff0fb;
    border-radius: 10px;
    color: #2d3e60;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.revoker-search-info span svg path {
    stroke: #2d3e60;
}

.revoker-search-info p {
    display: flex;
    gap: 8px;
    margin: 0;
}

.revoker-inline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    border-radius: 50%;
    margin-right: 8px;
}

.revoker-search-form-wrapper {
    margin-bottom: 26px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(31, 45, 70, 0.08);
}

.revoker-search-field {
    margin-bottom: 20px;
}

.revoker-search-field:last-of-type {
    margin-bottom: 0;
}

.revoker-search-field label {
    display: block;
    margin-bottom: 9px;
    color: #253754;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.revoker-search-field label .required {
    color: #ff4a14;
}

.revoker-search-field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    color: #253754;
    background: #fff;
    border: 1px solid #d9dee8;
    border-radius: 7px;
    font-size: 14px;
    line-height: 38px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.revoker-search-field input::placeholder {
    color: #9aa3b2;
}

.revoker-search-field input:focus {
    outline: none;
    border-color: #2d6fa3;
    box-shadow: 0 0 0 3px rgba(45, 111, 163, 0.12);
}

.revoker-field-hint {
    display: block;
    margin-top: 9px;
    color: #7a8494;
    font-size: 12px;
    line-height: 1.35;
}

.revoker-search-actions {
    margin-top: 20px;
}

.revoker-search-btn,
.revoker-search-btn.revoker-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-height: 41px;
    padding: 10px 18px;
    color: #fff;
    background: #ff4a14;
    border: 1px solid #ff4a14;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.revoker-search-btn:hover,
.revoker-search-btn.revoker-btn-primary:hover {
    color: #fff;
    background: #ea3f0d;
    border-color: #ea3f0d;
}

.revoker-search-btn:active {
    transform: translateY(1px);
}

.revoker-btn-arrow {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    transform: translateY(-1px);
}

.revoker-search-error {
    margin: 0;
}

.revoker-search-error .revoker-error-notice {
    padding: 13px 16px;
    color: #c5222a;
    background: #fde3e5;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.revoker-search-error .revoker-error-notice p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.revoker-search-error .revoker-inline-icon svg path {
    stroke: #e43b43;
}

.revoker-search-result {
    margin: 0;
}

@media (max-width: 768px) {
    .revoker-search-container {
        max-width: none;
        margin: 32px 16px 56px;
    }

    .revoker-search-header h2 {
        font-size: 25px;
    }

    .revoker-search-form-wrapper {
        padding: 18px;
        border-radius: 16px;
    }
}


/* ==========================================================================
   DIGI Form Views – Product selection, summary, unavailable
   ========================================================================== */

:root {
    --revoker-digi-navy: #2d3e60;
    --revoker-digi-text: #253754;
    --revoker-digi-muted: #6f7b8d;
    --revoker-digi-border: #dfe4ec;
    --revoker-digi-border-soft: #edf0f5;
    --revoker-digi-blue-light: #dff0fb;
    --revoker-digi-blue-table: #dceef8;
    --revoker-digi-warning-bg: #fff7df;
    --revoker-digi-warning-text: #9a6500;
    --revoker-digi-error-bg: #fde3e5;
    --revoker-digi-error-text: #c5222a;
    --revoker-digi-orange: #ff4a14;
    --revoker-digi-orange-hover: #ea3f0d;
    --revoker-digi-shadow: 0 8px 24px rgba(31, 45, 70, 0.08);
}

/* Main standalone form wrapper */

.revoker-form-container,
.revoker-unavailable-container {
    max-width: 520px;
    margin: 40px auto 72px;
    color: var(--revoker-digi-text);
    font-size: 13px;
    line-height: 1.45;
}

.revoker-form-header,
.revoker-summary-header,
.revoker-unavailable-header {
    margin-bottom: 40px;
    text-align: center;
}

.revoker-form-header h2,
.revoker-summary-header h2,
.revoker-unavailable-header h2 {
    margin: 0;
    color: var(--revoker-digi-navy);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.revoker-form-intro {
    margin: 10px auto 0;
    color: var(--revoker-digi-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* Deadline / warning strip */

.revoker-deadline-notice,
.digi-notice-style-1 {
    margin: 0 0 16px;
    padding: 12px;
    color: var(--revoker-digi-warning-text);
    background: var(--revoker-digi-warning-bg);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.revoker-deadline-notice p,
.digi-notice-style-1 p {
    margin: 0;
    display: flex;
    /* align-items: center; */
    gap: 4px;
}

.revoker-deadline-urgent {
    color: var(--revoker-digi-error-text);
    background: var(--revoker-digi-error-bg);
    border: none;
}

/* Main card */

.revoker-order-summary,
.revoker-summary-card {
    margin: 0 0 24px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--revoker-digi-border);
    border-radius: 18px;
    box-shadow: var(--revoker-digi-shadow);
}

.revoker-order-summary h3,
.revoker-order-summary h4,
.revoker-summary-card h3,
.revoker-unavailable-container h3 {
    margin: 0 0 16px 0;
    color: var(--revoker-digi-navy);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.revoker-order-summary h4,
.revoker-summary-card h3:not(:first-child),
.revoker-unavailable-container h3:not(:first-child) {
    margin-top: 24px;
}

.revoker-items-hint,
.revoker-non-withdrawable-hint {
    margin: -7px 0 14px;
    color: var(--revoker-digi-muted);
    font-size: 11px;
    line-height: 1.45;
}

/* Order metadata table */

.revoker-order-info-table {
    width: 100%;
    margin: 0 0 18px;
    border-collapse: collapse;
}

.revoker-order-info-table th,
.revoker-order-info-table td {
    padding: 5px 0;
    border: none;
    font-size: 11px;
    line-height: 1.4;
    vertical-align: top;
}

.revoker-order-info-table th {
    width: 44%;
    color: var(--revoker-digi-muted);
    font-weight: 500;
    text-align: left;
}

.revoker-order-info-table td {
    color: var(--revoker-digi-text);
    font-weight: 500;
    text-align: left;
}

/* Separator between order metadata and products */

.revoker-order-info-table + h4,
.revoker-order-info-table + h3,
.revoker-form-section h3,
.revoker-info-section h4,
.revoker-summary-card h3 {
    padding-top: 18px;
    border-top: 1px solid var(--revoker-digi-border-soft);
    margin-top: 24px;
}

/* Select all */

.revoker-select-all-wrapper {
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.revoker-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--revoker-digi-text);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    cursor: pointer;
}

/* Checkbox styling */

.revoker-checkbox-label input[type="checkbox"],
.revoker-items-selectable .revoker-item-checkbox {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #2f75a8;
    cursor: pointer;
}

/* Tables */

.revoker-items-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    color: var(--revoker-digi-text);
    font-size: 11px;
}

.revoker-items-table thead th {
    padding: 12px 10px;
    color: var(--revoker-digi-text);
    background: var(--revoker-digi-blue-table);
    border: none;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
}

.revoker-items-table thead th:first-child {
    border-top-left-radius: 8px;
}

.revoker-items-table thead th:last-child {
    border-top-right-radius: 8px;
    text-align: right;
}

.revoker-items-table tbody td {
    padding: 12px 10px;
    background: #fff;
    border: none;
    border-bottom: 1px solid var(--revoker-digi-border-soft);
    color: var(--revoker-digi-text);
    font-size: 11px;
    line-height: 1.35;
    vertical-align: middle;
}

.revoker-items-table tbody td:last-child {
    text-align: right;
    white-space: nowrap;
}

.revoker-items-table tbody tr:last-child td {
    border-bottom: none;
}

.revoker-items-selectable .revoker-col-select {
    width: 28px;
    padding-left: 8px;
    padding-right: 4px;
    text-align: center;
}

.revoker-items-selectable thead .revoker-col-select {
    width: 28px;
}

/* Prevent old line-through / opacity UX from making selected table ugly */

.revoker-item-row:has(.revoker-item-checkbox:not(:checked)) {
    opacity: 1;
}

.revoker-item-row:has(.revoker-item-checkbox:not(:checked)) td {
    text-decoration: none;
    color: var(--revoker-digi-text);
}

/* Product cell: works if product image markup exists */

.revoker-product-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.revoker-product-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}

.revoker-product-image img {
    display: block;
    max-width: 34px;
    max-height: 34px;
    width: auto;
    height: auto;
}

.revoker-product-name {
    display: inline-block;
    color: var(--revoker-digi-text);
    font-weight: 500;
}

/* Totals */

.revoker-withdrawal-total-row td,
.revoker-items-table tfoot td {
    padding: 12px 10px;
    color: var(--revoker-digi-text);
    background: var(--revoker-digi-blue-table);
    border: none;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
}

.revoker-withdrawal-total-row td:first-child,
.revoker-items-table tfoot td:first-child {
    border-bottom-left-radius: 8px;
}

.revoker-withdrawal-total-row td:last-child,
.revoker-items-table tfoot td:last-child {
    border-bottom-right-radius: 8px;
    text-align: right;
}

.revoker-total-label {
    text-align: left;
}

.revoker-total-amount {
    font-size: 11px;
}

/* Non-withdrawable products */

.revoker-non-withdrawable-section {
    margin-top: 24px;
}

.revoker-items-non-withdrawable {
    margin-top: 10px;
}

.revoker-items-non-withdrawable .revoker-item-row-disabled td {
    color: var(--revoker-digi-text);
    opacity: 1;
}

.revoker-item-not-returnable {
    display: inline-block;
    color: var(--revoker-digi-text);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 600;
}

/* Address / info sections */

.revoker-info-section {
    margin: 24px 0 0;
}

.revoker-info-section h3,
.revoker-info-box h4,
.revoker-return-address h4,
.revoker-summary-return-address h3,
.revoker-summary-refund-section h3 {
    margin: 0 0 16px 0;
    color: var(--revoker-digi-navy);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.revoker-return-address {
    margin: 0 0 10px;
    padding: 14px 16px;
    color: var(--revoker-digi-text);
    background: var(--revoker-digi-blue-light);
    border: none;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.revoker-info-box ul {
    margin: 0;
    padding-left: 16px;
}

.revoker-info-box li {
    margin: 0 0 5px;
    color: var(--revoker-digi-text);
    font-size: 11px;
    line-height: 1.4;
}

.revoker-return-address address {
    margin: 0;
    color: var(--revoker-digi-text);
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
}

/* Warning notes */

.revoker-warning-notice,
.revoker-summary-shipping-cost {
    margin: 10px 0;
    padding: 10px 13px;
    color: var(--revoker-digi-warning-text);
    background: var(--revoker-digi-warning-bg);
    border: none;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}

.revoker-warning-notice p,
.revoker-summary-shipping-cost p {
    margin: 0;
    color: inherit;
}

/* Summary instructions */

.revoker-summary-instructions {
    margin: 10px 0 16px 0;
    padding-left: 16px;
    color: var(--revoker-digi-text);
    font-size: 11px;
    line-height: 1.45;
}

.revoker-summary-instructions li {
    margin-bottom: 4px;
}

/* Refund section */
.revoker-summary-refund-section p {
    margin: 0;
    color: var(--revoker-digi-text);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
}

/* If bank account box exists later */

.revoker-bank-account-summary,
.revoker-refund-bank-account {
    margin-top: 12px;
    padding: 14px 16px;
    color: var(--revoker-digi-text);
    background: var(--revoker-digi-blue-light);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

/* Form actions */

.revoker-form-actions {
    margin-top: 18px;
    padding-top: 0;
    border-top: none;
}

.revoker-form-actions .revoker-warning-notice {
    display: none;
}

.revoker-submit-btn,
.revoker-submit-btn.button,
.revoker-summary-final-actions .revoker-submit-btn,
.revoker-summary-final-actions .revoker-submit-btn.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 41px;
    padding: 10px 18px;
    color: #fff;
    background: var(--revoker-digi-orange);
    border: 1px solid var(--revoker-digi-orange);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.revoker-submit-btn:hover,
.revoker-submit-btn.button:hover,
.revoker-summary-final-actions .revoker-submit-btn:hover,
.revoker-summary-final-actions .revoker-submit-btn.button:hover {
    color: #fff;
    background: var(--revoker-digi-orange-hover);
    border-color: var(--revoker-digi-orange-hover);
}

.revoker-submit-btn:active {
    transform: translateY(1px);
}

/* Error in inline form */

.revoker-error-container {
    margin-top: 16px;
}

.revoker-error-notice {
    padding: 13px 16px;
    color: var(--revoker-digi-error-text);
    background: var(--revoker-digi-error-bg);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.revoker-error-notice p {
    margin: 0;
}

/* ==========================================================================
   DIGI Summary Step
   ========================================================================== */

.revoker-summary-container {
    color: var(--revoker-digi-text);
}

.revoker-summary-card {
    margin-bottom: 0;
}

.revoker-summary-items-table {
    margin-top: 10px;
}

.revoker-summary-final-actions {
    margin-top: 18px;
}

.revoker-summary-legal-note {
    margin: 12px 0 12px;
    color: var(--revoker-digi-muted);
    font-size: 12px;
    line-height: 1.45;
}

.revoker-back-to-selection {
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #2f75a8;
    background: transparent;
    border: none;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.revoker-back-to-selection:hover {
    color: var(--revoker-digi-navy);
    text-decoration: underline;
}

/* ==========================================================================
   DIGI Temporarily Unavailable View
   ========================================================================== */

.revoker-withdrawal-unavailable {
    max-width: 620px;
}

.revoker-withdrawal-unavailable .revoker-unavailable-header h2 {
    font-size: 26px;
}

.revoker-withdrawal-unavailable .revoker-notice-warning {
    margin: 24px 0 18px;
    padding: 14px 16px;
    color: var(--revoker-digi-warning-text);
    background: var(--revoker-digi-warning-bg);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    text-align: left;
}

.revoker-withdrawal-unavailable .revoker-notice-warning p {
    margin: 0;
    display: flex;
}

.revoker-items-unavailable {
    margin-top: 12px;
}

.revoker-unavailable-actions {
    margin: 18px 0 0;
}

.revoker-unavailable-actions .button,
.revoker-unavailable-actions .revoker-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 9px 18px;
    color: var(--revoker-digi-navy);
    background: #fff;
    border: 1px solid var(--revoker-digi-navy);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

.revoker-unavailable-actions .button:hover,
.revoker-unavailable-actions .revoker-button:hover {
    color: #fff;
    background: var(--revoker-digi-navy);
}

/* ==========================================================================
   DIGI Success state alignment
   ========================================================================== */
.revoker-success-container h3 {
    color: var(--revoker-digi-navy);
    font-size: 20px;
    line-height: 1.3;
}

.revoker-success-message {
    color: var(--revoker-digi-text);
    font-size: 13px;
    line-height: 1.45;
}

.revoker-success-details {
    background: var(--revoker-digi-blue-light);
    border-radius: 10px;
}

/* ==========================================================================
   DIGI Mobile
   ========================================================================== */

@media (max-width: 768px) {
    .revoker-form-container,
    .revoker-unavailable-container {
        max-width: none;
        margin: 32px 16px 56px;
        font-size: 13px;
    }

    .revoker-form-header h2,
    .revoker-summary-header h2,
    .revoker-unavailable-header h2 {
        font-size: 24px;
    }

    .revoker-withdrawal-unavailable .revoker-unavailable-header h2 {
        font-size: 23px;
    }

    .revoker-order-summary,
    .revoker-summary-card {
        padding: 14px;
        border-radius: 16px;
    }

    .revoker-items-table {
        font-size: 10px;
    }

    .revoker-items-table thead th,
    .revoker-items-table tbody td,
    .revoker-items-table tfoot td {
        padding: 10px 8px;
        font-size: 10px;
    }

    .revoker-order-info-table th,
    .revoker-order-info-table td {
        font-size: 10px;
    }

    .revoker-product-summary {
        gap: 8px;
    }

    .revoker-product-image {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .revoker-product-image img {
        max-width: 30px;
        max-height: 30px;
    }

    .revoker-submit-btn,
    .revoker-submit-btn.button {
        min-height: 42px;
    }
}

@media (max-width: 420px) {
    .revoker-items-table {
        table-layout: fixed;
    }

    .revoker-items-table th:nth-child(1),
    .revoker-items-table td:nth-child(1) {
        width: auto;
    }

    .revoker-items-table th:nth-child(2),
    .revoker-items-table td:nth-child(2) {
        width: 42px;
        text-align: center;
    }

    .revoker-items-table th:nth-child(3),
    .revoker-items-table td:nth-child(3) {
        width: 76px;
    }

    .revoker-items-selectable th:nth-child(1),
    .revoker-items-selectable td:nth-child(1) {
        width: 26px;
    }

    .revoker-items-selectable th:nth-child(2),
    .revoker-items-selectable td:nth-child(2) {
        width: auto;
    }

    .revoker-items-selectable th:nth-child(3),
    .revoker-items-selectable td:nth-child(3) {
        width: 42px;
        text-align: center;
    }

    .revoker-items-selectable th:nth-child(4),
    .revoker-items-selectable td:nth-child(4) {
        width: 76px;
    }
}


/* ==========================================================================
   DIGI readability override – bigger font sizes
   ========================================================================== */

.revoker-form-container,
.revoker-unavailable-container,
.revoker-search-container {
    font-size: 14px;
    line-height: 1.5;
}

.revoker-form-header h2,
.revoker-summary-header h2,
.revoker-unavailable-header h2,
.revoker-search-header h2 {
    font-size: 30px;
    line-height: 1.25;
}

.revoker-form-intro,
.revoker-search-info,
.revoker-withdrawal-unavailable .revoker-notice-warning {
    font-size: 14px;
    line-height: 1.5;
}

.revoker-order-summary h3,
.revoker-order-summary h4,
.revoker-summary-card h3,
.revoker-unavailable-container h3,
.revoker-info-section h3,
.revoker-summary-return-address h3,
.revoker-summary-refund-section h3 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    margin-top: 24px;
}

.revoker-order-info-table th,
.revoker-order-info-table td {
    font-size: 13px;
    line-height: 1.5;
}

.revoker-items-hint,
.revoker-non-withdrawable-hint,
.revoker-field-hint,
.revoker-summary-legal-note {
    font-size: 12px;
    line-height: 1.45;
}

.revoker-deadline-notice,
.revoker-warning-notice,
.revoker-summary-shipping-cost,
.revoker-info-box li,
.revoker-summary-instructions {
    font-size: 14px;
    line-height: 1.5;
}

.revoker-items-table {
    font-size: 13px;
}

.revoker-items-table thead th,
.revoker-items-table tbody td,
.revoker-items-table tfoot td {
    font-size: 13px;
    line-height: 1.45;
}

.revoker-checkbox-label {
    font-size: 13px;
}

.revoker-product-name {
    font-size: 13px;
    line-height: 1.35;
}

.revoker-submit-btn,
.revoker-submit-btn.button,
.revoker-search-btn,
.revoker-search-btn.revoker-btn-primary {
    font-size: 16px !important;
    min-height: 48px !important;
}

.revoker-back-to-selection {
    font-size: 13px;
}

@media (max-width: 768px) {
    .revoker-form-header h2,
    .revoker-summary-header h2,
    .revoker-unavailable-header h2,
    .revoker-search-header h2 {
        font-size: 26px;
    }

    .revoker-items-table thead th,
    .revoker-items-table tbody td,
    .revoker-items-table tfoot td {
        font-size: 12px;
    }
}



/* ==========================================================================
   DIGI product thumbnails
   ========================================================================== */

.revoker-product-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.revoker-product-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}

.revoker-product-image img {
    display: block;
    max-width: 42px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.revoker-product-name {
    display: inline-block;
    color: #253754;
    font-weight: 500;
}

.revoker-items-table tbody td {
    vertical-align: middle;
}

/* DIGI - refund bank account + refund info sections */

/* Bank account field on first step */
.revoker-refund-bank-section h3,
.revoker-refund-info-section h3,
.revoker-summary-refund-section h3,
.revoker-success-refund-section h3 {
    color: #253754;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.revoker-field-group {
    margin: 0;
}

.revoker-field-group label {
    display: block;
    margin: 0 0 8px;
    color: #253754;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.revoker-field-group .required {
    color: #ff4a14;
}

.revoker-input,
.revoker-refund-bank-account-input {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 13px;
    color: #253754;
    background: #fff;
    border: 1px solid #d9dee8;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.revoker-input::placeholder,
.revoker-refund-bank-account-input::placeholder {
    color: #9aa3b2;
}

.revoker-input:focus,
.revoker-refund-bank-account-input:focus {
    outline: none;
    border-color: #2d6fa3;
    box-shadow: 0 0 0 3px rgba(45, 111, 163, 0.12);
}

.revoker-input-error,
.revoker-refund-bank-account-input.revoker-input-error {
    border-color: #d63638;
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12);
}

.revoker-bank-account-error {
    display: block;
    margin-top: 8px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.revoker-field-hint {
    display: block;
    margin-top: 8px;
    color: #7a8494;
    font-size: 11px;
    line-height: 1.45;
}

/* Refund info on first step */
.revoker-refund-info-list {
    margin: 0;
    padding-left: 18px;
    color: #253754;
}

.revoker-refund-info-list li {
    margin: 0 0 8px;
    color: #253754;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.revoker-refund-info-list li:last-child {
    margin-bottom: 0;
}

.revoker-refund-info-paragraph {
    margin: 0;
    color: #253754;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

/* Refund section on summary step */
.revoker-summary-refund-section p,
.revoker-summary-refund-intro {
    margin: 0;
    color: #253754;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.revoker-summary-bank-account-box,
.revoker-success-bank-account-box {
    margin-top: 14px;
    padding: 14px 16px;
    color: #253754;
    background: #dff0fb;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}

.revoker-summary-bank-account-box span,
.revoker-success-bank-account-box span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.revoker-summary-bank-account-box strong,
.revoker-success-bank-account-box strong {
    display: block;
    font-weight: 700;
    letter-spacing: 0.01em;
    word-break: break-word;
}

/* Success screen */
.revoker-success-container {
    margin: 48px auto 72px;
    color: #253754;
}

.revoker-success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: #253754;
}

.revoker-success-icon svg {
    display: block;
    width: 54px;
    height: 54px;
}

.revoker-success-title {
    margin: 0 0 28px;
    color: #253754;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.revoker-success-notice {
    margin: 0 0 22px;
    padding: 12px 16px;
    color: #00796b;
    background: #dff8f1;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.revoker-success-notice p {
    margin: 0;
    display: flex;
}

.revoker-success-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #dfe4ec;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(31, 45, 70, 0.08);
}

.revoker-success-info-table {
    margin-bottom: 22px;
}

.revoker-success-info-table th,
.revoker-success-info-table td {
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.45;
}

.revoker-success-info-table th {
    width: 40%;
    color: #6f7b8d;
    font-weight: 500;
    text-align: left;
}

.revoker-success-info-table td {
    color: #253754;
    font-weight: 600;
}

.revoker-success-return-section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #dfe4ec;
}

.revoker-success-return-section h3,
.revoker-success-refund-section h3 {
    margin: 0 0 14px;
    color: #253754;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.revoker-success-refund-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #dfe4ec;
}

.revoker-success-refund-section p {
    margin: 0;
    color: #253754;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.revoker-success-actions {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #dfe4ec;
}

.revoker-success-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    color: #253754;
    background: #fff;
    border: 1px solid #253754;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.revoker-success-home-button:hover {
    color: #fff;
    background: #253754;
    text-decoration: none;
}

h3.digi-no-margin {
    margin: 0;
    margin-bottom: 16px;
    padding: 0 !important;
    border: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .revoker-success-container {
        max-width: none;
        margin: 32px 16px 56px;
    }

    .revoker-success-title {
        font-size: 26px;
    }

    .revoker-success-card {
        padding: 18px;
        border-radius: 16px;
    }

    .revoker-summary-bank-account-box,
    .revoker-success-bank-account-box {
        padding: 13px 14px;
    }
}




/* DIGI - contact footer under withdrawal form */

.revoker-contact-footer {
    max-width: 100%;
    margin: 48px auto 72px;
    padding: 0 16px;
    color: #253754;
}

.revoker-contact-footer-inner {
    padding: 72px 32px 76px;
    background: #dff0fb;
    border-radius: 18px;
    text-align: center;
}

.revoker-contact-footer h2 {
    margin: 0 0 24px;
    color: #253754;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.revoker-contact-footer-text {
    margin: 0 0 38px;
    color: #253754;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}

.revoker-contact-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
}

.revoker-contact-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #253754;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none;
}

.revoker-contact-footer-link:hover {
    color: #253754;
    text-decoration: underline;
}

.revoker-contact-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #253754;
}

.revoker-contact-footer-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .revoker-contact-footer {
        margin: 36px auto 56px;
        padding: 0 16px;
    }

    .revoker-contact-footer-inner {
        padding: 44px 20px 46px;
        border-radius: 16px;
    }

    .revoker-contact-footer h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .revoker-contact-footer-text {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .revoker-contact-footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .revoker-contact-footer-link {
        font-size: 15px;
    }
}


.revoker-cancel-form-actions button {
    margin: 24px 0 8px 0;
}

.revoker-cancel-form-actions p {
    margin-bottom: 0;
}