
.payments-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.payments-list-container {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    min-width: 800px;
    overflow-x: auto;
}

.payments-list-header {
    font-weight: bold;
    background-color: #f0f0f0;
    text-align: left;
}

.payments-list-header, .payments-list-row {
    display: grid;
    grid-template-columns: 40px 100px 1fr;
    gap: 10px;
    padding: 5px;
    align-items: center;
}

.payments-list-row > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.payments-list-header > div,
.payments-list-row > div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.payments-list-row.even {
    background-color: #ffffff;
}

.payments-list-row.odd {
    background-color: #e9ecef;
}

.payments-list-row > div {
    font-size: 12px;
}

.payments-list-row > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payments-list-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.payments-list-row.even {
    background-color: #ffffff;
}

.payments-list-row.odd {
    background-color: #e9ecef;
}

.payments-form-container {
    margin-bottom: 80px;
}

.payments-list-row > div {
    font-size: 12px;
}

.payments-list-row > div:nth-child(-n+3) {
    text-align: left;
}

.payments-actions {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
}

.payments-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    height: fit-content;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.payments-form {
    display: flex;
    flex-direction: column;
}

.payments-header h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.payments-header p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.payments-box {
    display: flex;
    flex-direction: column;
}

.payments-row {
    margin-bottom: 20px;
}

.payments-label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.payments-row input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.payments-submit-row input, .payments-reset-row input {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.payments-submit-row input {
    background-color: #4CAF50;
    color: white;
}

.payments-submit-row input:hover {
    background-color: #45a049;
}

.payments-reset-button {
    background-color: #007BFF;
    color: white;
}

.payments-reset-button:hover {
    background-color: #0056b3;
}

.payments-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: #02699B;
    color: white;
    border: none;
    padding: 0;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 40px;
    box-sizing: border-box;
}

.payments-search-btn i { pointer-events: none; font-size: 16px; }

.payments-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.payments-box1 {
    background-color: #f0f9ff;
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 5px;
    column-gap: 5px;
    padding: 5px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #a6d7ff;
}

.payments-highlight-box1 {
    text-align: left;
    font-size: 12px;
    color: #1a73e8;
    font-weight: 600;
}

.payments-box2 {
    background-color: #f0f9ff;
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 5px;
    column-gap: 5px;
    padding: 5px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #a7e89d;
}

.payments-highlight-box2 {
    text-align: left;
    font-size: 12px;
    color: #7b9e40;
    font-weight: 600;
}

.payments-name {
    font-size: 13px;
    font-weight: bold;
    color: #1a5995;
    display: block;
    font-weight: bold;
}

.payments-status-1 {
    background-color: #f0f8ff;
    color: #003366;
    border: 1px solid #99cfff;
}

.payments-status-2 {
    background-color: #d4f4cd;
    color: #003366;
    border: 1px solid #4b9c51;
}

.payments-user-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}

.payments-user-header {
    display: flex;
    position: relative;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.payments-authors {
    font-size: 0.85em;
    color: #555;
    display: block;
    font-weight: normal;
    margin-top: 4px;
    text-align: justify;
}

.payments-pay-button {
    width: 40px;
    height: 40px;
    background-color: #007baf;
    color: white;
    border-radius: 6px;
    align-self: flex-start;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payments-pay-button i {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    text-align: center;
}

.payments-pay-button:hover {
    background-color: #005f8a;
}

.payments-remove-button {
    height: 40px;
    background-color: #d15555;
    color: white;
    border-radius: 6px;
    align-self: flex-start;
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.payments-remove-button i {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    text-align: center;
}

.payments-remove-button:hover {
    background-color: #b91c1c;
}












