/* ===== myCred Rredemption Admin Dashboard CSS ===== */

/* === Set custom widths for each column === */
.col-id         { width: 50px !important; }
.col-user       { width: 160px !important; }
.col-type       { width: 100px !important; }
.col-amount     { width: 100px !important; }
.col-receivable { width: 140px !important; }
.col-fee        { width: 140px !important; }
.col-status     { width: 90px !important; }
.col-date       { width: 140px !important; }
.col-method     { width: 100px !important; }
.col-actions    { width: 160px !important; }



.wp-list-table th input[type="checkbox"],
.wp-list-table td input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}

.check-column input[type="checkbox"] {
    display: inline-block;
    margin: 0 auto;
	top: 10px;
	text-align: center !important;
    vertical-align: middle !important;
}

/* Align all cells center */
.wp-list-table th,
.wp-list-table td {
    text-align: center;
    vertical-align: middle;
}

/* Zebra striping for rows */
.wp-list-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Action buttons */
.approve-btn,
.reject-btn,
.view-method-btn {
    margin: 0 3px;
    font-size: 13px;
    padding: 4px 8px;
    cursor: pointer;
}


/* === Popup Styling === */
#method-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

#method-popup .popup-content {
    background: #fff;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    font-size: 14px;
    position: relative;
}

#method-popup-content table {
    width: 100%;
    border-collapse: collapse;
}

#method-popup-content td {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

#close-method-popup {
    margin-top: 12px;
    padding: 6px 14px;
    background-color: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

#close-method-popup:hover {
    background-color: #165ea9;
}

/* Select all checkbox style */
#select-all {
    cursor: pointer;
}

.mycred-pagination {
    text-align: left;
    margin: 20px 0;
    clear: both;
}

.mycred-page-button {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 5px;
    padding: 0 5px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: none;
}

.mycred-page-button.current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.mycred-page-button:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.mycred-page-button.current:hover {
    background: #135e96;
    border-color: #135e96;
}