.fluent-entries-table-wrapper {
    margin: 20px 0;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
    font-size: 14px;
    font-family: 'Cairo';
}

.fluent-filters-container {
    background: #f9f9f9;
    padding: 15px;
    display: flex;
    gap: 20px;
}
.fluent-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 15px;
}

.fluent-filter {
    display: flex;
    flex-direction: column;
}

.fluent-filter label {
    margin-bottom:15px;  
    font-size: 30px;
    font-weight: 700;
}

.fluent-form-select {
    min-width: 200px;
    height: 32px;
    padding: 0 8px;
    border-radius: 3px;
    border: 1px solid #8c8f94;
}

.fluent-status-tabs {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.status-tab {
    padding: 10px 18px;
    background: #e5eeeb;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    color: #005a3d;
    -webkit-border-radius: 5;
    -moz-border-radius: 5;
    -ms-border-radius: 5;
    -o-border-radius: 5;
}

.status-tab:hover {
    background: #005a3d;
    color: #fff;
}

.status-tab.active {
    background: #005a3d;
    color: #fff;
}

.fluent-entries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.fluent-entries-table {
    width: 100%;
    border-collapse: collapse;
    background: #f9f9f9;
    border: 1px solid;
}
.fluent-entries-table th {
    text-align: center;
    padding: 10px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}
:dir(rtl) .fluent-entries-table th {
    text-align: center;
}
.fluent-entries-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    text-align: center;
}
.fluent-entries-table tr:hover td {
    background-color: #f9f9f9;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.read {
    background: #e5f5fa;
    color: #00a0d2;
}

.status-badge.unread {
    background: #f0f6eb;
    color: #4ab866;
}

.view-entry {
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    background-color: #005a3d;
    padding: 8px 16px;
}



.fluent-pagination {
    margin-top: 20px;
    display: flex;
    gap: 5px;
}

.page-link {
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #005a3d;
}

.page-link.current {
    background: #005a3d;
    color: #fff;
    border-color: #005a3d;
}

.page-link:hover {
    background: #f1f1f1;
    color: #005a3d;
}

.ff-error, .ff-empty {
    padding: 15px;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
}

.ff-loading {
    padding: 20px;
    text-align: center;
    color: #555;
}

.entries-count {
    font-weight: bold;
}

/* Popup styling */
.ff-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.ff-popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 5px;
    /* direction: rtl;
    text-align: right; */
}

.ff-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ff-popup-header h3 {
    margin: 0;
    color: #000;
}

.ff-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.ff-popup-body {
    padding: 10px;
}

.ff-show-empty {
    display: block;
    margin-bottom: 15px;
}

.ff-field-row {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
    display: flex;
    gap: 10px;
}

.ff-field-label {
    font-weight: bold;
    color: #555;
    margin-left: 10px;
    float: right;
}

.ff-field-value {
    color: #222;
}

.ff-error {
    color: #dc3232;
}


.ff-popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 5px;
    min-height: 500px;
}
select#ff-form-filter {
    padding: 2px 8px;
    border: 1px solid #ddd;
    color: #000;
    height: 36px;
    border-radius: 0px;
}

select#ff-form-filter option {
    color: #000 !important;
    background: #fff !important;
    }
    select#ff-form-filter option:checked, 
    select#ff-form-filter option:focus, 
    select#ff-form-filter option:selected,
    select#ff-form-filter option:hover,
    select#ff-form-filter option:active {
        background-color: #005a3d;
        color: #fff;
    }
    button.delete-entry {
    background-color: #9d0202 !important;
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
}