/* dashboard.css */

.dash-content {
    padding-top: 2rem;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
}

.item-info h3 {
    margin: 0 0 0.5rem 0; /* Tighten up the heading */
}

.item-stats {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-delete-icon {
    background: transparent;
    border: none;
    color: #999;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    line-height: 1;
    display: flex;
    align-items: center;
}

.btn-delete-icon:hover {
    color: #d32f2f;
}

/* Responsive: stack the item info on mobile */
@media (max-width: 600px) {
    .list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .item-stats {
        text-align: left;
    }
}
