/* Audit Log Panel Styles */
.audit-log-panel {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.audit-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.audit-filters input,
.audit-filters select {
    padding: 8px 12px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
}

.audit-filters button {
    padding: 8px 16px;
    background: #00ff00;
    border: none;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
}

.audit-log-table {
    overflow-x: auto;
}

.audit-log-table table {
    width: 100%;
    border-collapse: collapse;
}

.audit-log-table th,
.audit-log-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.audit-log-table th {
    background: rgba(0, 255, 0, 0.1);
    font-weight: bold;
}

.audit-log-table tr.status-success {
    background: rgba(0, 255, 0, 0.05);
}

.audit-log-table tr.status-failed {
    background: rgba(255, 0, 0, 0.05);
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.badge-success {
    background: #00ff00;
    color: #000;
}

.badge-failed {
    background: #ff0000;
    color: #fff;
}

.badge-pending {
    background: #ffaa00;
    color: #000;
}

/* Performance Reports Styles */
.performance-report {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.report-card {
    background: rgba(30, 30, 40, 0.8);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 2px solid #444;
}

.report-card.positive {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
}

.report-card.negative {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

.report-card h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #aaa;
}

.report-card .big-number {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

#performance-chart-container {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

#performance-chart {
    display: block;
    margin: 20px auto;
    background: rgba(10, 10, 15, 0.9);
    border-radius: 5px;
}

/* Backup Panel Styles */
.backup-panel {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.backup-actions {
    margin-bottom: 20px;
}

.backup-actions .info {
    margin-top: 10px;
    color: #aaa;
    font-size: 14px;
}

.backup-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.backup-list th,
.backup-list td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.backup-list th {
    background: rgba(0, 255, 0, 0.1);
    font-weight: bold;
}

.badge-auto {
    background: #00aaff;
    color: #fff;
}

.badge-manual {
    background: #ffaa00;
    color: #000;
}

/* Notification Settings Styles */
.notification-settings {
    background: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.settings-form {
    margin-top: 20px;
}

.setting-item {
    padding: 12px;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 5px;
    margin-bottom: 10px;
}

.setting-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.setting-item span {
    font-size: 16px;
}

/* Language Selector Styles */
.language-selector {
    display: inline-block;
    margin: 10px;
}

.language-selector select {
    padding: 8px 12px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* Button Styles */
.btn-primary {
    padding: 10px 20px;
    background: #00ff00;
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: #00cc00;
}

.btn-warning {
    padding: 8px 16px;
    background: #ffaa00;
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

.btn-warning:hover {
    background: #ff8800;
}

/* Responsive Design */
@media (max-width: 768px) {
    .report-grid {
        grid-template-columns: 1fr;
    }
    
    .audit-filters {
        flex-direction: column;
    }
    
    .audit-log-table {
        font-size: 12px;
    }
}
