.table_transactions td:not(.chevron) {
    min-width: 240px;
}

.tags-filter-elem {
    height: auto !important;
    padding: 10px;
}

.tags-filter-elem md-chips {
    width: 100%;
}

.tags-filter-elem md-chips .md-chips {
    flex-wrap: nowrap !important;
    display: flex !important;
    flex-direction: row !important;
}

.detail-label {
    font-weight: 500;
    color: #666;
    min-width: 120px;
    margin-right: 10px;
}

.detail-value {
    color: #333;
    flex: 1;
}

.status-color-container {
    display: flex;
    align-items: center;
}

.status-color-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-color-text {
    font-family: monospace;
}

.no-activity {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-activity-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ccc;
}

.no-activity p {
    margin: 0;
    font-size: 16px;
}

/* Role cards for create/edit dialog */
.role-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 0;
    background: #fafafa;
    transition: all 0.25s ease;
    overflow: hidden;
}
.role-card.role-active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.role-card-header {
    padding: 12px 16px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.role-card-header md-checkbox {
    margin: 0 !important;
    width: auto;
}
.role-card-description {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    padding: 0 16px 8px 52px;
}
.role-card-description.text-muted {
    color: #bbb;
}
.role-badge {
    background: #1976d2;
    color: #fff;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
}
.role-badge.role-badge-empty {
    background: #bdbdbd;
}
.role-badge.role-badge-all-group {
    background: #1565c0;
}
.agencies-panel {
    background: #f5f7fa;
    border-top: 1px solid #e8eaed;
    padding: 12px 16px 8px;
    margin: 0;
}
.agencies-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}
.agencies-actions .md-button {
    min-height: 28px;
    line-height: 28px;
    font-size: 12px;
    min-width: 0;
    padding: 0 10px;
    margin: 0 4px 0 0;
    text-transform: none;
}
.agencies-grid {
    display: flex;
    flex-wrap: wrap;
}
.agencies-grid md-checkbox {
    flex: 0 0 50%;
    min-width: 220px;
    margin: 2px 0 !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
@media (max-width: 600px) {
    .agencies-grid md-checkbox {
        flex: 0 0 100%;
    }
}
.agencies-panel .md-block {
    margin-top: 4px;
}
.role-card-warn {
    padding: 0 16px 4px 52px;
    font-weight: bold;
    font-size: 13px;
}
.role-card-warn.text-muted {
    color: #bbb;
}
.role-card-or {
    padding: 0 16px 4px 52px;
    font-size: 13px;
}
.role-card-or.text-muted {
    color: #bbb;
}
.agencies-info-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}
.agencies-info-banner.info-all-group {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #1565c0;
}
.agencies-info-banner.info-all-group .mdi {
    font-size: 18px;
    color: #1976d2;
}
.agencies-info-banner.info-selected {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #616161;
}
.agencies-info-banner.info-selected .mdi {
    font-size: 18px;
    color: #757575;
}
