/* Entry View Wrapper */
.wkaf-entry-view {
    max-width: 900px;
}

/* Header */
.wkaf-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wkaf-entry-header h1 {
    margin-bottom: 4px;
}

.wkaf-entry-header .description {
    margin: 0;
    color: #646970;
}

/* Card */
.wkaf-entry-card {
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
}

/* Table */
.wkaf-entry-table {
    width: 100%;
    border-collapse: collapse;
}

.wkaf-entry-table tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f1;
}

.wkaf-entry-table th {
    width: 30%;
    padding: 14px 16px;
    background: #f9f9f9;
    text-align: left;
    font-weight: 600;
    color: #1d2327;
    vertical-align: top;
}

.wkaf-entry-table td {
    padding: 14px 16px;
    background: #ffffff;
    color: #2c3338;
    line-height: 1.6;
}

/* Improve long text readability */
.wkaf-entry-table td p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wkaf-entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wkaf-entry-table th {
        width: 40%;
    }
}


.wkaf-entries-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wkaf-form-title {
    margin: 0;
    font-size: 18px;
}

.wkaf-count {
    font-size: 13px;
    color: #777;
}
#wkaf-entries-table th:first-child,
#wkaf-entries-table td:first-child {
    width: 70px;
    text-align: center;
    color: #555;
}
.wkaf-date {
    color: #666;
    font-size: 13px;
}
.wkaf-view-link {
    color: #2271b1;
    font-weight: 500;
    text-decoration: none;
}
.wkaf-view-link:hover {
    text-decoration: underline;
}
#wkaf-entries-table th {
    white-space: nowrap;
}
.dataTables_filter input {
    border-radius: 4px;
    padding: 4px 8px;
}

.dataTables_length select {
    border-radius: 4px;
}
#wkaf-entries-table tbody tr:hover {
    background: #f6f7f7;
}
#wkaf-entries-table thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
