body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    margin: 0;
}

/* LOGIN */

.login-container {
    width: 300px;
    margin: 120px auto;
    padding: 30px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    text-align: center;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* BUTTONS */

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer !important;
}

button:hover {
    cursor: pointer !important;
    opacity: .9;
}

button:disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 1;
}

button:disabled:hover {
    cursor: not-allowed !important;
}

/* GENERATE PAYOUT */

.generate-btn {
    background: #f4c542;
    color: #000;
}

.generate-btn:hover {
    background: #e6b800;
}

/* INITIATE PAYOUT */

.initiate-btn {
    background: #f4c542;
    color: #000;
}

.initiate-btn:hover {
    background: #e6b800;
}

/* APPROVE BUTTON */

.approve-btn {
    background: #2ecc71;
    color: white;
}

/* REJECT BUTTON */

.reject-btn {
    background: #e74c3c;
    color: white;
}

/* SUBMIT BUTTON */

.submit-btn {
    background: #1A7F37;
    color: white;
}

/* CLOSE BUTTON */

.close-btn {
    background: #888;
    color: white;
}

/* HEADER */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 30px auto 0 auto;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* TABLE */

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
}

th {
    background: #f7f7f7;
    text-align: left;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

/* CLICKABLE BATCH ROWS */

.batch-row {
    cursor: pointer;
    transition: background .15s ease;
}

.batch-row:hover {
    background: #f0f0f0;
}

.batch-row.selected {
    background: #e3e3e3;
}

/* EXPANDED DETAILS */

.batch-details {
    background: #fafafa;
}

.batch-details table {
    width: 95%;
    margin: 10px auto;
}

.batch-details td {
    font-size: 14px;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    width: 700px;
    border-radius: 6px;
    max-height: 80vh;
    overflow-y: auto;
}

/* MODAL BUTTON ROW */

.modal-actions {
    margin-top: 35px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.modal-actions button {
    min-width: 160px;
}

/* ------------------------------------------------ */
/* PAGINATION */
/* ------------------------------------------------ */

.pagination {
    width: 90%;
    margin: 10px auto 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-weight: 500;
}

.pagination button {

    background: #1976d2;
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 14px;

}

.pagination button:hover {
    background: #155fa0;
}

.pagination span {
    font-size: 14px;
    color: #333;
}

/* CART ROW */

.cart-row td {
    background: #f2f2f2;
    padding-left: 30px;
    font-size: 14px;
}

/* DETAIL TABLE */

.batch-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.batch-detail-table th {
    background: #efefef;
}

.batch-detail-table td,
.batch-detail-table th {
    padding: 10px;
}