/* === PayMaxis Orders Table Custom Styles === */

/* Entire Table */
/*#paymaxis-orders-table {*/
/*    border-collapse: collapse;*/
/*    width: 100%;*/
  /*  border: 1px solid #d1d5db;  /* Light gray border */
/*    border-radius: 6px;*/
/*    overflow: hidden;*/
/*    font-family: system-ui, sans-serif;*/
/*}*/

/* Entire Table */
#paymaxis-orders-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #d1d5db;  /* Ensures outer border */
    font-family: system-ui, sans-serif;
    font-size: 12px;
    color: black; 
    box-shadow: 0 0 0 0.5px #d1d5db; /* Optional: soft outer border */
}

/* Table Header */
#paymaxis-orders-table thead th {
    background-color: #009688a1; /* Tailwind slate-700 */
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    border: 1px solid #d1d5db;
    padding: 10px;
}

/* Table Row Zebra Striping */
#paymaxis-orders-table tbody tr:nth-child(odd) {
    background-color: #ffffff; /* light gray (Tailwind gray-50) */
}
#paymaxis-orders-table tbody tr:nth-child(even) {
    background-color: #ffffff; /* slightly darker gray */
}

/* Hover effect */
#paymaxis-orders-table tbody tr:hover {
    background-color: #e0f2fe; /* light blue */
}

/* Table Cell Borders + Padding */
#paymaxis-orders-table td,
#paymaxis-orders-table th {
    padding: 12px 10px;
    border: 1px solid #d1d5db;
    vertical-align: middle;
}

/* Row numbers column */
#paymaxis-orders-table td:first-child,
#paymaxis-orders-table th:first-child {
    text-align: center;
    width: 50px;
}

/* === PayMaxis Status Buttons === */
.paymaxis-status {
    display: inline-block;
    padding: 6px 12px;
    min-width: 100px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* ✅ Completed: Green */
.status-completed {
    background-color: #28a745;
    color: #ffffff;
}

/* ❌ Declined: Dark Red */
.status-declined {
    background-color: #dc3545;
    color: #ffffff;
}

/* ⚠️ Cancelled: Softer Red */
.status-cancelled {
    background-color: #f87171;
    color: #ffffff;
}

.status-refunded {
    background-color: #F44336;
    color: white;
}


/* ⛔ Other: Light red tint */
.status-other {
    background-color: #fcdcdc;
    color: #b91c1c;
}


/* In your paymaxis-table.css */
.status-chargeback {
    background-color: #9C27B0; /* Purple */
    color: white;
    font-weight: bold;
}

.status-refunded {
    background-color: #F44336; /* Red */
    color: white;
}

/* === Dark Theme Enhancements for Paymaxis Orders Page === */

/* Dark cards for filters, export, and email toggle */
.paymaxis-filters-card,
.paymaxis-export-card,
.paymaxis-email-toggle-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 16px 18px;
    color: #e5e7eb;
    margin: 18px 0;
}

.paymaxis-filters-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #f9fafb;
}

.paymaxis-filters-card label {
    font-size: 12px;
    color: #d1d5db;
}

.paymaxis-filters-card input[type="date"],
.paymaxis-filters-card input[type="text"],
.paymaxis-filters-card select {
    background-color: #030712;
    border: 1px solid #374151;
    color: #f9fafb;
    border-radius: 4px;
    padding: 6px 8px;
    min-width: 160px;
}

.paymaxis-filters-card input[type="date"]::placeholder,
.paymaxis-filters-card input[type="text"]::placeholder {
    color: #9ca3af;
}

.paymaxis-filters-card input[type="date"]:focus,
.paymaxis-filters-card input[type="text"]:focus,
.paymaxis-filters-card select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

.paymaxis-filters-card .button.button-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
   
    font-size: 13px;
    font-weight: 500;
}

.paymaxis-filters-card .button.button-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.paymaxis-export-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.paymaxis-export-card-title {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.paymaxis-export-card .button {
    background-color: #111827;
    border-color: #4b5563;
    color: #e5e7eb;
    padding: 6px 14px;
    font-size: 13px;
}

.paymaxis-export-card .button:hover {
    background-color: #1f2937;
    border-color: #6b7280;
}

.paymaxis-email-toggle-card label {
    color: #e5e7eb;
}

.paymaxis-email-toggle-card p {
    color: #9ca3af;
}

/* Dark table styling to match page */
#paymaxis-orders-table {
    border: 1px solid #1f2937;
    color: #e5e7eb;
    background-color: #020617;
}

#paymaxis-orders-table thead th {
    background-color: #111827;
    border-color: #1f2937;
}

#paymaxis-orders-table tbody tr:nth-child(odd),
#paymaxis-orders-table tbody tr:nth-child(even) {
    background-color: #020617;
}

#paymaxis-orders-table tbody tr:hover {
    background-color: #0f172a;
}

#paymaxis-orders-table td,
#paymaxis-orders-table th {
    border-color: #1f2937;
}


select:not([size]) {

    background: #111827 !important;
border: solid 1px #3b3b3b !important;
}


input[type="date"], .paymaxis-filters-card input[type="text"]
{
    
    background: transparent !important;
 border: solid 1px #3b3b3b !important;
}

.woocommerce-js input[type=search]{
    background-color: transparent !important;
}

.paymaxis-var-value {

    background: transparent !important;

}
