/* NEW CLEAN ENTRIES PAGE LAYOUT */
.atlasly-entries-page {
    background: #fafafa;
    margin: -10px -20px -20px -20px;
    padding: 20px;
    min-height: calc(100vh - 32px);
}

.atlasly-entries-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

/* Top Bar */
.atlasly-topbar {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.atlasly-topbar select {
    min-width: 220px;
    max-width: 300px;
    height: 36px;
    padding-right: 32px;
}

.atlasly-topbar-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

/* Search Bar */
.atlasly-searchbar {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.atlasly-searchbar input {
    flex: 1;
    max-width: 400px;
    height: 36px;
}

.atlasly-searchbar select {
    width: 180px;
    height: 36px;
    padding-right: 32px;
}

/* Content Box */
.atlasly-content-box {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

/* Stats Header */
.atlasly-stats-header {
    padding: 12px 16px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.atlasly-stats-left {
    font-size: 13px;
    color: #6b7280;
}

.atlasly-stats-left strong {
    color: #1f2937;
    font-weight: 600;
}

.atlasly-stats-right {
    display: flex;
    gap: 6px;
}

/* Table */
.atlasly-clean-table {
    width: 100%;
    border-collapse: collapse;
}

.atlasly-clean-table thead {
    background: #f9fafb;
}

.atlasly-clean-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
}

.atlasly-clean-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.atlasly-clean-table tbody tr:hover {
    background: #f9fafb;
}

.atlasly-clean-table tbody tr:last-child {
    border-bottom: none;
}

.atlasly-clean-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #374151;
    vertical-align: middle;
}

.atlasly-clean-table .col-check {
    width: 40px;
}

.atlasly-clean-table .col-id {
    width: 60px;
    font-weight: 600;
    color: #6b7280;
}

.atlasly-clean-table .col-title {
    font-weight: 600;
    color: #1f2937;
}

.atlasly-clean-table .col-data {
    max-width: 300px;
    font-size: 12px;
    color: #6b7280;
}

.atlasly-clean-table .col-date {
    width: 160px;
    font-size: 12px;
    color: #9ca3af;
}

.atlasly-clean-table .col-actions {
    width: 100px;
    text-align: right;
}

.atlasly-clean-table .data-row {
    margin-bottom: 3px;
}

.atlasly-clean-table .data-row:last-child {
    margin-bottom: 0;
}

.atlasly-clean-table .data-label {
    font-weight: 500;
    color: #4b5563;
}

.atlasly-actions-group {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

/* Empty State */
.atlasly-empty-box {
    padding: 48px 20px;
    text-align: center;
}

.atlasly-empty-box h3 {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.atlasly-empty-box p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 16px 0;
}

.atlasly-code-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.atlasly-code-box h4 {
    font-size: 13px;
    margin: 0 0 8px 0;
    color: #1f2937;
}

.atlasly-code-box pre {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 10px;
    font-size: 11px;
    margin: 0;
    overflow-x: auto;
    line-height: 1.5;
}
