/* Gravity Forms Entry Limiter & Display Frontend Table Styles - Black Headings & White Data Text */

.gfel-entries-container {
    margin: 20px 0;
    font-family: inherit;
    color: #ffffff;
}

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

.gfel-entries-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.gfel-entries-search {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
    min-width: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.gfel-entries-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.gfel-entries-search:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
}

.gfel-table-wrapper {
    overflow-x: auto;
    background-color: rgba(15, 23, 42, 0.85);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gfel-entries-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.gfel-entries-table th,
.gfel-entries-table th * {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 14px 16px;
    border-bottom: 2px solid #cbd5e1;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gfel-entries-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    color: #ffffff !important;
}

.gfel-entries-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.08);
}

.gfel-entries-table tr:last-child td {
    border-bottom: none;
}

.gfel-no-entries {
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
}

.gfel-entry-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.gfel-restriction-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.gfel-restriction-message.limit-reached,
.gfel-restriction-message.expired {
    background-color: rgba(239, 68, 68, 0.15);
    border-left: 4px solid #ef4444;
    color: #fca5a5;
}

.gfel-restriction-message.not-started {
    background-color: rgba(245, 158, 11, 0.15);
    border-left: 4px solid #f59e0b;
    color: #fde68a;
}
