/* Styles specifiques a resources/views/admin/dashboard.blade.php */

.dashboard-welcome {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.admin-widget {
    margin-bottom: 1.5rem;
}

.dashboard-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.dashboard-quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 1rem;
    border-radius: calc(10px * var(--radius-scale));
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.dashboard-quick-action:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}

.dashboard-quick-action i {
    width: 18px;
    text-align: center;
}

/* Content overview grid */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.dashboard-content-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 1.25rem 0.75rem;
    border-radius: calc(12px * var(--radius-scale));
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.15s ease;
}

.dashboard-content-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.dashboard-content-card i {
    font-size: 1.4rem;
    color: var(--primary);
}

.dashboard-content-count {
    font-size: 1.2rem;
    font-weight: 700;
}

.dashboard-content-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Bottom grid: recent comments + new users */
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

.dashboard-bottom-grid-single {
    grid-template-columns: 1fr;
}

@media (max-width: 1024px) {
    .dashboard-bottom-grid { grid-template-columns: 1fr; }
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.dashboard-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dashboard-list-item-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.dashboard-list-item-main strong {
    color: var(--text-main);
    font-size: 0.9rem;
}

.dashboard-list-item-body {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-list-item-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

.dashboard-list-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    flex-shrink: 0;
}

.dashboard-list-item-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.dashboard-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: calc(20px * var(--radius-scale));
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dashboard-badge-warning {
    background: rgba(var(--warning-rgb), 0.15);
    color: var(--warning);
}

.dashboard-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.dashboard-see-all:hover {
    text-decoration: underline;
}
