/**
 * Ovena ACP Admin Styles
 * 
 * @package Ovena_ACP
 */

.ovena-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ovena-stat-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.ovena-stat-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #23282d;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #0073aa;
    margin: 0;
}

.stat-text {
    font-size: 1.2em;
    color: #555;
    margin: 0;
}

.tab-content {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-top: none;
    padding: 20px;
}

.log-level {
    padding: 3px 8px;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
}

.log-level-success { background-color: #46b450; }
.log-level-error { background-color: #dc3232; }
.log-level-info { background-color: #00a0d2; }

/* Debug-specific styles */
.debug-status-active {
    color: #46b450;
    font-weight: bold;
}

.debug-status-inactive {
    color: #666;
}

.debug-type {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.debug-type-api-request { background-color: #0073aa; color: #fff; }
.debug-type-api-response { background-color: #46b450; color: #fff; }
.debug-type-api-retry { background-color: #ffb900; color: #fff; }
.debug-type-api-failure { background-color: #dc3232; color: #fff; }
.debug-type-system { background-color: #666; color: #fff; }

.debug-details-content {
    margin-top: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.debug-details-content pre {
    margin: 0;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.toggle-details {
    text-decoration: none;
    color: #0073aa;
    cursor: pointer;
}

.toggle-details:hover {
    color: #005177;
}

.debug-logs-table .debug-log-row.hidden {
    display: none;
}

#debug-log-filter {
    margin-left: 5px;
}
