/*
 * General Container Styles
 */
#lmgenius-keyword-rules-container {
    margin-bottom: 20px;
}

/*
 * Input Field Styling
 * Enhanced for readability and usability with increased width and padding.
 */
#lmgenius-keyword-rule-input {
    width: 100%;
    max-width: 800px;
    /* Increased width to accommodate 200 characters */
    margin-bottom: 10px;
    font-family: monospace;
    /* Use a monospace font for consistent character width */
    font-size: 14px;
    /* Adjust font size for better readability */
    padding: 8px;
    /* Add padding for better visual appearance */
}

/*
 * Keyword Rules List Styling
 */
#lmgenius-keyword-rules-list {
    margin-top: 10px;
}

.lmgenius-keyword-rule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
}

/*
 * Keyword Rule Text Styling
 */
.lmgenius-keyword-rule span {
    flex-grow: 1;
    margin-right: 10px;
    font-family: monospace;
    /* Use a monospace font for consistent character width */
    font-size: 14px;
    /* Adjust font size for better readability */
}

/*
 * Remove Rule Button Styling
 * Displays a clear delete button using red color.
 */
.lmgenius-remove-rule-button {
    color: #ff0000;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/*
 * Totals Section Styling
 * Provides a clean summary section with light background and clear font styles.
 */
#lmgenius-totals-section {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
}

#lmgenius-totals-section strong {
    font-weight: 600;
    color: #23282d;
}

#lmgenius-totals-section span {
    font-weight: 400;
    color: #0073aa;
}

/*
 * Report Filters Styling
 */
#lmgenius-report-filters {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#lmgenius-report-filters label {
    margin-right: 10px;
    font-weight: 600;
}

#lmgenius-report-filters input[type="text"] {
    width: 300px;
    padding: 5px;
}

/*
 * Totals Section within Report
 */
.lmgenius-totals {
    margin-left: auto;
    /* Push totals to the right */
    font-size: 14px;
}

.lmgenius-totals strong {
    font-weight: 600;
    color: #23282d;
}

.lmgenius-totals span {
    font-weight: 400;
    color: #0073aa;
}

/*
 * Tabs Styling
 */
.nav-tab-wrapper {
    margin-bottom: 20px;
}

.nav-tab {
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: #f9f9f9;
    color: #555;
    cursor: pointer;
}

.nav-tab-active {
    background-color: #fff;
    color: #000;
    border-bottom: 1px solid #fff;
}

/*
 * Tab Content Styling
 */
.lmgenius-tab-content {
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
}

/* Totals Section */
#lmgenius-report-filters {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#lmgenius-report-filters label {
    margin-right: 10px;
    font-weight: 600;
}

#lmgenius-report-filters input[type="text"] {
    width: 300px;
    padding: 5px;
}

.lmgenius-totals {
    margin-left: auto;
    /* Push totals to the right */
    font-size: 14px;
}

.lmgenius-totals strong {
    font-weight: 600;
    color: #23282d;
}

.lmgenius-tab-content h2 {
    margin-top: 0;
}

/*
 * Spinner Styling for Refresh Cron Jobs
 */
#lmgenius-refresh-cron-jobs .spinner {
    float: none;
    margin: 0 5px 0 0;
    visibility: visible;
}