:root {
    --amp-primary: #4f46e5;
    --amp-primary-hover: #4338ca;
    --amp-secondary: #10b981;
    --amp-danger: #ef4444;
    --amp-warning: #f59e0b;
    --amp-info: #3b82f6;
    --amp-dark: #1f2937;
    --amp-light: #f3f4f6;
    --amp-white: #ffffff;
    --amp-text-main: #111827;
    --amp-text-muted: #6b7280;
    --amp-border: #e5e7eb;
    --amp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --amp-glass: rgba(255, 255, 255, 0.7);
    --amp-glass-border: rgba(255, 255, 255, 0.5);
    --amp-radius: 12px;
}

.amp-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--amp-text-main);
    max-width: 1200px;
    margin: 20px auto;
}

/* Header */
.amp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--amp-white);
    border-radius: var(--amp-radius);
    box-shadow: var(--amp-shadow);
}

.amp-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amp-logo-icon {
    font-size: 32px;
    color: var(--amp-primary);
}

.amp-brand h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--amp-dark);
}

.amp-meta {
    font-size: 14px;
    color: var(--amp-text-muted);
}

/* Cards */
.amp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.amp-card {
    background: var(--amp-white);
    border-radius: var(--amp-radius);
    padding: 25px;
    box-shadow: var(--amp-shadow);
    border: 1px solid var(--amp-border);
    transition: transform 0.2s ease;
}

.amp-card:hover {
    transform: translateY(-2px);
}

.amp-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amp-stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--amp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amp-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--amp-dark);
}

.amp-stat-icon {
    font-size: 40px;
    opacity: 0.2;
    color: var(--amp-primary);
}

/* Activity Feed */
.amp-feed-container {
    background: var(--amp-white);
    border-radius: var(--amp-radius);
    box-shadow: var(--amp-shadow);
    overflow: hidden;
}

.amp-feed-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--amp-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amp-feed-header h2 {
    margin: 0;
    font-size: 18px;
}

.amp-activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amp-activity-item {
    padding: 20px 25px;
    border-bottom: 1px solid var(--amp-border);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: background 0.1s;
}

.amp-activity-item:hover {
    background: var(--amp-light);
}

.amp-activity-item:last-child {
    border-bottom: none;
}

.amp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--amp-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--amp-primary);
}

.amp-content {
    flex: 1;
}

.amp-user-name {
    font-weight: 600;
    color: var(--amp-dark);
}

.amp-action-desc {
    color: var(--amp-text-main);
    margin-top: 4px;
    display: block;
}

.amp-time {
    font-size: 12px;
    color: var(--amp-text-muted);
    margin-top: 4px;
    display: block;
}

.amp-actions {
    display: flex;
    gap: 10px;
}

/* Buttons */
.amp-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.amp-btn-primary {
    background: var(--amp-primary);
    color: white;
}

.amp-btn-primary:hover {
    background: var(--amp-primary-hover);
}

.amp-btn-outline {
    background: transparent;
    border: 1px solid var(--amp-border);
    color: var(--amp-text-main);
}

.amp-btn-outline:hover {
    border-color: var(--amp-text-muted);
    background: var(--amp-light);
}

.amp-btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}

/* Severity Indicators */
.amp-severity-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.severity-info {
    background-color: var(--amp-info);
}

.severity-warning {
    background-color: var(--amp-warning);
}

.severity-critical {
    background-color: var(--amp-danger);
}

.severity-success {
    background-color: var(--amp-secondary);
}

/* Filters */
.amp-filters {
    padding: 20px;
    background: var(--amp-light);
    border-bottom: 1px solid var(--amp-border);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.amp-select {
    padding: 8px 12px;
    border: 1px solid var(--amp-border);
    border-radius: 6px;
    background: white;
    min-width: 150px;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amp-activity-item {
    animation: slideIn 0.3s ease-out forwards;
}