/* Main container styling */
.momo-acgwc-search-mail-table {
    font-family: inherit;
}

/* Customize the WP_List_Table output within the scoped class */

/* Main table styling */
.momo-acgwc-search-mail-table .wp-list-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 20px;
    border: none;
}

/* Table headers */
.momo-acgwc-search-mail-table .wp-list-table thead th {
    padding: 12px 10px;
    font-weight: bold;
    text-align: left;
    border-bottom: 1px solid #ddd;
    border: none;
}

/* Table rows */
.momo-acgwc-search-mail-table .wp-list-table tbody tr {
    background-color: transparent;
    overflow: hidden;
    border: 1px solid #7dd3fc;
    margin-bottom: 10px;
    padding: 10px;
}
.momo-acgwc-search-mail-table .wp-list-table tbody tr:nth-child(even) {
    background-color: #fff;
}
.momo-acgwc-search-mail-table .wp-list-table tbody tr {
    background-color: #f0f9ff;
}
.momo-acgwc-search-mail-table tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid #7dd3fc;
}

.momo-acgwc-search-mail-table tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid #7dd3fc;
}

/* Table cells */
.momo-acgwc-search-mail-table .wp-list-table td {
    padding: 12px 10px;
    vertical-align: middle;
    font-size: 14px;
    border-bottom: 1px solid #7dd3fc !important;
    border-top: 1px solid #7dd3fc;
}
.momo-acgwc-search-mail-table #the-list tr:last-child td,
#the-list tr:last-child th {
    border-bottom: 1px solid #7dd3fc !important;
}

/* Set specific column widths */
.momo-acgwc-search-mail-table td.search_term,
.momo-acgwc-search-mail-table td.user_id,
.momo-acgwc-search-mail-table td.search_date {
    width: 15% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Make the template column larger */
.momo-acgwc-search-mail-table td.email_template {
    width: 30% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Action buttons in a single line */
.momo-acgwc-search-mail-table .wp-list-table .actions-column {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Action buttons styling */
.momo-acgwc-search-mail-table .wp-list-table .button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
}

.momo-acgwc-search-mail-table .wp-list-table .button:hover {
    background-color: #006799;
}

/* Responsive adjustments */
/* @media (max-width: 768px) {
    .momo-acgwc-search-mail-table .wp-list-table {
        display: block;
        overflow-x: auto;
    }

    .momo-acgwc-search-mail-table .wp-list-table tbody tr {
        display: block;
        margin-bottom: 10px;
    }

    .momo-acgwc-search-mail-table .wp-list-table td,
    .momo-acgwc-search-mail-table .wp-list-table th {
        display: block;
        width: 100%;
        padding: 8px;
    }

    .momo-acgwc-search-mail-table .wp-list-table .button {
        margin-top: 5px;
        width: 100%;
    }
} */

/* Additional action container styling */
.momo-sl-action-container {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background: #fff;
    border-radius: 8px;
    display: inline-block;
    padding: 8px 12px;
    line-height: 0.2;
}

.momo-sl-action-container .momo-sl-action {
    margin-right: 6px;
    cursor: pointer;
}

.momo-sl-action-email {
    margin-left: 6px;
}
