

   body.page-vab .ct-layout {
    display: grid !important;
    grid-template-columns:
        minmax(260px, 0.30fr)
        minmax(500px, 1.80fr);
    gap: 20px;
    align-items: start;
    width: 100%;
    padding: 0 clamp(12px, 2vw, 48px);
    box-sizing: border-box;
}

/* — Left info sidebar — */
body.page-vab .ct-left-col {
    grid-column: 1;
    min-width: 0;
    box-sizing: border-box;
}


/* — Right cart panel — */
body.page-vab .ct-main-panel {
    grid-column: 2;
    min-width: 0;
    box-sizing: border-box;
}

/* ── Info sidebar sections (matches review page rv-info-section) ── */
body.page-vab .ct-info-section {
    padding: 1px 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    line-height: 1.5;
    color: #334155;
}
body.page-vab .ct-info-section:last-child {
    border-bottom: none;
}
body.page-vab .ct-info-icon {
    font-size: 18px;
    margin-bottom: 4px;
}
body.page-vab .ct-info-section strong {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
body.page-vab .ct-info-section p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 17px);
    color: #00050a;
    line-height: 1.5;
}

/* ── Banner (matches review page rv-banner) ── */
body.page-vab .ct-banner {
    border-color: rgba(191, 13, 62, .28);

    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
body.page-vab .ct-banner p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 17px);
    color: #000000;
    font-weight: 500;
    line-height: 1.5;
}

/* ── Count badge ── */
body.page-vab .ct-count-badge {
    margin-left: auto;
    background: #041E41;
    color: #fff;
    font-size: clamp(14px, 1.1vw + 6px, 16px);
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ── Empty state ── */
body.page-vab .ct-empty {
    text-align: center;
    padding: 48px 24px;
}
body.page-vab .ct-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: .4;
}
body.page-vab .ct-empty p {
    font-size: 18px;
    color: #64748b;
    margin: 0 0 20px;
}

/* ── Table header ── */
body.page-vab .ct-table-head {
    display: grid;
    grid-template-columns: 44px 0.8fr 400px 150px 200px 100px;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 6px 6px 0 0;
}
body.page-vab .ct-th {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #000000;
}

/* ── Table rows ── */
body.page-vab .ct-item {
    display: grid;
    grid-template-columns: 44px 0.8fr 400px 150px 200px 100px;
    gap: 8px;
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background .15s, opacity .25s;
}
body.page-vab .ct-item:hover {
    background: #fafbfd;
}
body.page-vab .ct-cell {
    font-size: clamp(14px, 1.2vw, 17px);
    color: #1e293b;
}

/* ── Number badge ── */
body.page-vab .ct-num-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Petition link ── */
body.page-vab .ct-pet-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: inherit;
}
body.page-vab .ct-pet-link:hover .ct-pet-name {
    color: #486795;
}
body.page-vab .ct-pet-name {
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 17px);
    color: #000000;
    transition: color .15s;
}
body.page-vab .ct-pet-addr {
    font-size: clamp(14px, 1.2vw, 17px);
    color: #000000;
    line-height: 1.3;
}

/* ── Cells ── */
body.page-vab .ct-cell-reason {
    font-size: clamp(14px, 1.2vw, 17px);
    color: #000000;
}
body.page-vab .ct-cell-fee {
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 17px);
    color: #0f172a;
}

/* ── Status pills ── */
body.page-vab .ct-status-paid {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    text-transform: uppercase;
    background: #dcfce7;
    color: #166534;
}
body.page-vab .ct-status-unpaid {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size:  clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    text-transform: uppercase;
    background: #fef3c7;
    color: #000000;
}

/* ── Action buttons ── */
body.page-vab .ct-cell-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    padding:3px;
    border-radius: 999px;
}
body.page-vab .ct-btn-review {
    width: auto;
    padding:5px;
    height: 30px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.2vw, 17px);
    text-decoration: none;
    color: #000000;
    transition: background .15s;
}
body.page-vab .ct-btn-review:hover {
    background:#a7c4e0;
    color: #0f172a;
}
body.page-vab .ct-btn-remove {
    width: 30px;
    height: 30px;
    padding:5px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: background .15s, color .15s;
    padding: 0;
}
body.page-vab .ct-btn-remove:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}
body.page-vab .ct-btn-remove:disabled {
    opacity: .4;
    cursor: wait;
}

/* ── Summary box ── */
body.page-vab .ct-summary {
    margin-top: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
body.page-vab .ct-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: clamp(14px, 1.2vw, 17px);
    color: #000000;
}
body.page-vab .ct-summary-row span:last-child {
    font-weight: 700;
    color: #0f172a;
}
body.page-vab .ct-summary-due {
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
    padding-top: 12px;
    font-size: clamp(16px, 1.3vw, 20px);
}
body.page-vab .ct-summary-due span:last-child {
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 800;
    color: #041E41;
}

/* ── Actions bar ── */
body.page-vab .ct-actions-bar {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 0 8px;
    flex-wrap: wrap;
}
body.page-vab .ct-btn-pay {
    background: #041E41 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: clamp(14px, 1.2vw, 18px) !important;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
body.page-vab .ct-btn-pay:hover {
    background: #0a2d5e !important;
    transform: translateY(-1px);
}
body.page-vab .ct-all-paid {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #dcfce7;
    color: #166534;
    border-radius: 8px;
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 17px);
}
/* Target your button */
a.ori-btn-secondary.ct-add-btn {
    background: #f1f5f9;
    color: #041E41;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

/* Hover effect */
a.ori-btn-secondary.ct-add-btn:hover {
    background: #a7c4e0; /* lighter background */
    border-color:1px solid #154683; /* slightly darker border for contrast */
}

/* ══════════════════════════════════════════════════════
   TOAST + MODAL (shared with review page)
   ══════════════════════════════════════════════════════ */
body.page-vab .rv-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #fff;
    color: #1e293b;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    font-size: 15px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    border-left: 4px solid #486795;
}
body.page-vab .rv-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
body.page-vab .rv-toast-success { border-left-color: #16a34a; }
body.page-vab .rv-toast-error { border-left-color: #dc2626; }

body.page-vab .rv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}
body.page-vab .rv-modal-show { opacity: 1; }
body.page-vab .rv-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
    text-align: center;
}
body.page-vab .rv-modal-msg {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.5;
}
body.page-vab .rv-modal-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}
body.page-vab .rv-modal-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background .15s, transform .1s;
}
body.page-vab .rv-modal-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
body.page-vab .rv-modal-cancel:hover { background: #e2e8f0; }
body.page-vab .rv-modal-confirm {
    background: #dc2626;
    color: #fff;
}
body.page-vab .rv-modal-confirm:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (2-column layout)
   ══════════════════════════════════════════════════════ */


   /* ── 901px to 1200px ── */

   /* ── Table head for 901px – 1200px ── */
@media (min-width: 901px) and (max-width: 1200px) {
    body.page-vab .ct-table-head,
    body.page-vab .ct-item {
        display: grid;
        grid-template-columns: 40px 1.2fr 2fr 100px 120px 80px;
        gap: 8px;
    }

    body.page-vab .ct-th,
    body.page-vab .ct-cell {
        font-size: clamp(13px, 1.1vw, 16px);
    }
}
/* ── Table head & rows for 1201px – 1599px ── */
@media (min-width: 1201px) and (max-width: 1599px) {
    body.page-vab .ct-table-head,
    body.page-vab .ct-item {
        display: grid;
        grid-template-columns: 44px 1.2fr 2fr 150px 200px 100px;
        gap: 12px;
    }

    body.page-vab .ct-th,
    body.page-vab .ct-cell {
        font-size: clamp(14px, 1.2vw, 17px);
    }
}
@media (min-width: 901px) and (max-width: 1200px) {
    body.page-vab .ct-layout {
        grid-template-columns: minmax(240px, 0.3fr) minmax(450px, 1.7fr);
        gap: 24px;
    }
}


@media (min-width: 1201px) and (max-width: 1599px) {
    body.page-vab .ct-layout {
        grid-template-columns: minmax(260px, 0.3fr) minmax(500px, 1.7fr);
        gap: 28px;
    }
}

@media (min-width: 1600px) {
    body.page-vab .ct-layout {
        grid-template-columns:
            minmax(380px, 3fr)
            minmax(700px, 10fr);
        gap: 36px;
    }
}

/* ── Mobile: single column ── */
@media (max-width: 900px) {
    body.page-vab .ct-layout {
        grid-template-columns: 1fr !important;
        gap: 14px;
        padding: 0 12px;
        overflow: visible;
    }
    body.page-vab .ct-left-col,
    body.page-vab .ct-main-panel {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        position: static !important;
        top: auto !important;
        overflow-y: auto;
        display: block !important;
    }
    body.page-vab .ct-left-col  { order: 1; }
    body.page-vab .ct-main-panel { order: 2; }

    body.page-vab .ct-info-section {
        padding: 1px 12px;
    }
    body.page-vab .ct-info-section p {
        margin: 0;
        font-size: 12px;
        color: #00050a;
        line-height: 1.5;
    }
    body.page-vab .ct-info-section strong {
        font-size: 14px;
        font-weight: 600;
        color: #000000;
        margin-bottom: 4px;
        letter-spacing: 0.02em;
    }

    body.page-vab .ct-table-head { display: none; }
    body.page-vab .ct-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 6px 12px;
        padding: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 14px;
        background: #ffffff;
        box-shadow: 0 2px 6px rgba(0,0,0,.04);
    }
    body.page-vab .ct-cell-num {
        grid-row: 1 / 4;
        align-self: start;
        padding-top: 2px;
    }
    body.page-vab .ct-cell-name {
        grid-column: 2;
        font-size: 15px;
        font-weight: 700;
        padding: 3px 10px;
        display: inline-flex;
    }
    
    body.page-vab .ct-cell-reason {
        grid-column: 2;
        font-size: 15px;
        color: #000000;
        padding: 3px 10px;
        display: inline-flex;
    }
    body.page-vab .ct-cell-fee,
    body.page-vab .ct-cell-status {
        grid-column: 2;
    }
    
    body.page-vab .ct-cell-fee {
        font-size: 15px;
        font-weight: 700;
        margin-top: 4px;
        display: inline-flex;
    }
    
    body.page-vab .ct-cell-status {
        margin-top: -2px;
        padding: 3px 10px;
    }
  
    body.page-vab .ct-cell-fee {
        font-size: 15px;
        font-weight: 700;
        margin-top: 4px;
        margin-bottom: 4px;
        padding: 3px 10px;
    }
    
  
    body.page-vab .ct-cell-actions {
        grid-column: 2;
        display: flex;
        gap: 8px;
        margin-top: 8px;
    }
    body.page-vab .ct-actions-bar {
        flex-direction: column;
    }
    body.page-vab .ct-actions-bar .ori-btn,
    body.page-vab .ct-actions-bar .ct-btn-pay {
        width: 100% !important;
        text-align: center;
    }
    
    body.page-vab .ct-cell-name::before {
        content: "Petition Name: ";
        font-weight: 600;
        color: #334155;
      
    }
    
    body.page-vab .ct-cell-reason::before {
        content: "Reason: ";
        font-weight: 600;
        color: #334155;
    }
    
    body.page-vab .ct-cell-fee::before {
        content: "Fee: ";
        font-weight: 600;
        color: #334155;
    }
    
    body.page-vab .ct-cell-status::before {
        content: "Status: ";
        font-weight: 600;
        color: #334155;
    }
    
    

}

/* ── Print ── */
@media print {
    body.page-vab .ct-left-col,
    body.page-vab .ct-btn-remove,
    body.page-vab .ct-btn-review,
    body.page-vab .ct-actions-bar { display: none !important; }
}

body.page-vab .card-toggle:focus-visible,
body.page-vab .ct-pet-link:focus-visible,
body.page-vab .ct-btn-review:focus-visible,
body.page-vab .ct-btn-remove:focus-visible,
body.page-vab .ct-btn-pay:focus-visible,
body.page-vab .ct-add-btn:focus-visible,
body.page-vab a:focus-visible,
body.page-vab button:focus-visible {
    outline: 3px solid #94700a !important;
    outline-offset: 2px !important;
}
body.page-vab .card-toggle:focus,
body.page-vab .ct-btn-remove:focus { outline: 3px solid #94700a !important; outline-offset: 2px !important; }

body.page-vab .ct-panel-title,
body.page-vab .ct-guide-title { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }


body.page-vab .ct-panel-title .card-toggle,
body.page-vab .ct-guide-title .card-toggle {
    display: flex; align-items: center; gap: 10px; width: 100%;
}
@media (max-width: 900px){
  body.page-vab #site-header{ position: static !important; top: auto !important; }
}
.skip-link{position:absolute;left:-9999px;top:auto;}
.skip-link:focus{left:16px;top:8px;z-index:10000;background:#fff;color:#041E41;
  padding:10px 16px;border-radius:6px;outline:3px solid #94700a;}

