/**
 * Admin dashboard styles for Agenistrator
 *
 * CSS specific to the main plugin dashboard page including dashboard cards,
 * status tables, loading indicators, and general admin page layout
 * Depends on common.css for shared CSS custom properties
 */

/* Admin page styling */
.agenistrator-admin h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.agenistrator-admin .nav-tab-wrapper {
    margin-bottom: 20px;
}

.agenistrator-admin .disabled-tab {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dashboard cards */
.dashboard-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* System Status Table */
.status-table {
    width: 100%;
    border-collapse: collapse;
}

.status-table td {
    padding: 8px 5px;
    vertical-align: middle;
}

.status-table td:first-child {
    width: 40%;
}

.status-table td:last-child {
    width: 25%;
    text-align: right;
}

.status-indicator {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: rgba(0,0,0,0.05);
    display: inline-block;
}

.feature-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
}

.feature-card h2 {
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.feature-card-content {
    min-height: 150px;
}

.feature-card-actions {
    margin-top: 15px;
    text-align: right;
}

/* Error Reports Card */
.agenistrator-reports-card {
    min-width: 350px;
    max-width: 100%;
    flex-basis: 100%;
}

.agenistrator-reports-card .feature-card-content {
    min-height: auto;
}

.reports-table {
    margin: 10px 0;
}

.reports-table .column-report-id {
    width: 45%;
}

.reports-table .column-size {
    width: 10%;
}

.reports-table .column-created {
    width: 25%;
}

.reports-table .column-actions {
    width: 20%;
    text-align: right;
}

.reports-table .column-actions .button {
    margin-left: 5px;
}

.reports-empty-message {
    color: #666;
    font-style: italic;
}
