
/* Dashboard New Styles */
.dashboard-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.dashboard-intent-card, .dashboard-user-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-intent-card:hover, .dashboard-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-main {
    flex: 1;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 0.75em;
}

.card-header .badge {
    background: #efefef;
    padding: 2px 6px;
    border-radius: 4px;
    color: #666;
}

.dashboard-intent-card h3, .dashboard-user-card h4 {
    margin: 5px 0;
    font-size: 1.1em;
}

.dashboard-intent-card h3 a, .dashboard-user-card h4 a {
    color: var(--text-color);
    text-decoration: none;
}

.card-stats, .mini-stats {
    display: flex;
    gap: 15px;
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #555;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-icon:hover {
    background: #e0e0e0;
}

.btn-icon.primary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-icon.danger:hover {
    background: #ff4444;
    color: #fff;
}

/* User Card Specifics */
.user-avatar-wrapper img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}
.user-avatar-wrapper .avatar-placeholder {
    width: 45px;
    height: 45px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}
.dashboard-user-card {
    gap: 15px;
}
.bio-snippet {
    font-size: 0.8em;
    color: #777;
    margin-bottom: 5px;
}

[data-theme='dark'] .dashboard-intent-card, 
[data-theme='dark'] .dashboard-user-card {
    background: #2a2a2a;
    border-color: #444;
}

[data-theme='dark'] .btn-icon {
    background: #3a3a3a;
    color: #ccc;
}
[data-theme='dark'] .btn-icon:hover {
    background: #555;
}
[data-theme='dark'] .dashboard-intent-card h3 a, [data-theme='dark'] .dashboard-user-card h4 a {
    color: #eee;
}
