/**
 * Expandable rows styling
 */

/* Header row styling */
.row-header {
    cursor: pointer;
}

.row-header.active-row {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Detail row styling */
.row-detail {
    background-color: rgba(0, 0, 0, 0.02);
}

.row-detail .expanded-content {
    padding: 1rem;
}

/* Action cell styling */
.actions-cell {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1rem !important;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.expand-control {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.expand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    color: inherit;
    transition: transform 0.2s;
}

.expand-toggle:hover {
    color: var(--bs-primary, #0d6efd);
}

.active-row .expand-toggle i.fa-chevron-up {
    color: var(--bs-primary, #0d6efd);
}

/* Action button styling */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    color: inherit;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
}

.action-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--bs-primary, #0d6efd);
}

.action-btn.text-danger:hover {
    color: var(--bs-danger, #dc3545) !important;
}
