/**
 * 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 .agenistrator-disabled-tab {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

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

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

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

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

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

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

.agenistrator-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;
}

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

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

.agenistrator-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 .agenistrator-feature-card-content {
    min-height: auto;
}

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

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

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

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

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

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

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